Class InjectedWidgetCommand

java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.command.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 com.google.gwt.user.client.ui.IsWidget 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()
      Returns:
      caption text for dialog
    • createWidget

      public com.google.gwt.user.client.ui.IsWidget createWidget(Collection<Object> args)
      Specified by:
      createWidget in interface WidgetCommand