Class ApplyFunctionDataTypesCmd

  • All Implemented Interfaces:

    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.
        dtm - data type manager 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
    • 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
        obj - domain object that will be affected by the command
        monitor - monitor to show progress of the command
        true if the command applied successfully