Class ShowGradationCommand

All Implemented Interfaces:
Command, WidgetCommand

public class ShowGradationCommand extends InjectedWidgetCommand
Displays a popup widget for changing the gradation.
  • Constructor Details

    • ShowGradationCommand

      public ShowGradationCommand()
  • Method Details

    • setPageView

      public void setPageView(PageView pageView)
    • canExecute

      protected boolean canExecute()
      Description copied from class: InjectedCommand
      Subclasses may override this method to perform argument validation beyond the validation that happens automatically during the injection phase. This method is called after the context has been found to match the requirements specified via the @ link Argument} annotations and the arguments have been injected.
      Overrides:
      canExecute in class InjectedCommand
      Returns:
      true if the command can/may be executed in the current context, false otherwise.
    • createWidget

      protected com.google.gwt.user.client.ui.IsWidget createWidget()
      Specified by:
      createWidget in class InjectedWidgetCommand
    • getCaption

      protected String getCaption()
      Specified by:
      getCaption in class InjectedWidgetCommand
      Returns:
      caption text for dialog
    • setHandler

      public void setHandler(WidgetCommand.Handler handler)