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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.levigo.jadice.web.client.util.command.WidgetCommand
WidgetCommand.Handler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.google.gwt.user.client.ui.IsWidget
com.google.gwt.user.client.ui.IsWidget
createWidget
(Collection<Object> args) protected void
execute()
This method is called in order to execute the command.protected abstract String
Methods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, canExecute, clearInjections, execute, getKey, isSelected, isSelected, setKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.levigo.jadice.web.client.util.command.Command
canExecute, execute, getID, isAvailable, isAvailable, isSelected
Methods inherited from interface com.levigo.jadice.web.client.util.command.WidgetCommand
setHandler
-
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 ifInjectedCommand.canExecute()
has returnedtrue
.- Specified by:
execute
in classInjectedCommand
-
getCaption
- Returns:
- caption text for dialog
-
createWidget
- Specified by:
createWidget
in interfaceWidgetCommand
-