Class ApplyFunctionDataTypesCmd

  • All Implemented Interfaces:
    Command

    public class ApplyFunctionDataTypesCmd
    extends BackgroundCommand
    Apply all function signature data types in a data type manager to any user defined label that has the same name as the function signature.
    • Constructor Detail

      • ApplyFunctionDataTypesCmd

        public ApplyFunctionDataTypesCmd​(java.util.List<DataTypeManager> managers,
                                         AddressSetView set,
                                         SourceType source,
                                         boolean alwaysReplace,
                                         boolean createBookmarksEnabled)
        Constructs a new command to apply all function signature data types in the given data type manager.
        Parameters:
        managers - list of data type managers containing the function signature data types
        set - set of addresses containing labels to match against function names. The addresses must not already be included in the body of any existing function. If null, all symbols will be processed
        source - the source of this command.
        alwaysReplace - true to always replace the existing function signature with the function signature data type.
        createBookmarksEnabled - true to create a bookmark when a function signature has been applied.
    • Method Detail

      • applyTo

        public boolean applyTo​(DomainObject obj,
                               TaskMonitor monitor)
        Description copied from class: BackgroundCommand
        Method called when this command is to apply changes to the given domain object. A monitor is provided to display status information about the command as it executes in the background.
        Specified by:
        applyTo in class BackgroundCommand
        Parameters:
        obj - domain object that will be affected by the command
        monitor - monitor to show progress of the command
        Returns:
        true if the command applied successfully