Class InjectedWidgetCommand

All Implemented Interfaces:
Command, WidgetCommand
Direct Known Subclasses:
ShowAnnotationEditorCommand, ShowGradationCommand, ShowResolutionCalibrationWidgetCommand

public abstract class InjectedWidgetCommand extends InjectedCommand implements WidgetCommand
  • Constructor Details

    • InjectedWidgetCommand

      public InjectedWidgetCommand()
    • InjectedWidgetCommand

      public InjectedWidgetCommand(boolean autoHideDialog, boolean modal)
  • Method Details

    • createWidget

      protected abstract createWidget()
    • execute

      protected void execute()
      Description copied from class: InjectedCommand
      This method is called in order to execute the command. It is only called, after the arguments have been validated and injected and only if InjectedCommand.canExecute() has returned true.
      Specified by:
      execute in class InjectedCommand
    • getCaption

      protected abstract String getCaption()
      caption text for dialog
    • createWidget

      public createWidget(Collection<Object> args)
      Specified by:
      createWidget in interface WidgetCommand