Class SetFlowOverrideCmd

  • All Implemented Interfaces:
    Command

    public class SetFlowOverrideCmd
    extends BackgroundCommand
    Command for setting the fallthrough property on an instruction.
    • Constructor Detail

      • SetFlowOverrideCmd

        public SetFlowOverrideCmd​(Address instAddr,
                                  FlowOverride flowOverride)
        Constructs a new command for overriding the flow semantics of an instruction.
        Parameters:
        instAddr - the address of the instruction whose flow override is to be set.
        flowOverride - the type of flow override.
      • SetFlowOverrideCmd

        public SetFlowOverrideCmd​(AddressSetView set,
                                  FlowOverride flowOverride)
        Constructs a new command for overriding the flow semantics of all instructions within the address set.
        Parameters:
        set - the address set of the instructions whose flow override is to be set.
        flowOverride - the type of flow override.
    • 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