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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.google.gwt.user.client.ui.IsWidgetcom.google.gwt.user.client.ui.IsWidgetcreateWidget(Collection<Object> args) protected voidexecute()This method is called in order to execute the command.protected abstract StringMethods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, canExecute, clearInjections, execute, getKey, isSelected, isSelected, setKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.levigo.jadice.web.client.util.command.Command
canExecute, execute, getID, isAvailable, isAvailable, isSelectedMethods 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:InjectedCommandThis 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:
executein classInjectedCommand
-
getCaption
- Returns:
- caption text for dialog
-
createWidget
- Specified by:
createWidgetin interfaceWidgetCommand
-