Class ShowAnnotationEditorCommand
java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.command.InjectedWidgetCommand
com.levigo.jadice.web.client.commands.ShowAnnotationEditorCommand
- All Implemented Interfaces:
Command
,WidgetCommand
-
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 boolean
Subclasses may override this method to perform argument validation beyond the validation that happens automatically during the injection phase.protected com.google.gwt.user.client.ui.IsWidget
protected String
void
setHandler
(WidgetCommand.Handler handler) void
setPageView
(PageView pageView) Methods inherited from class com.levigo.jadice.web.client.command.InjectedWidgetCommand
createWidget, execute
Methods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
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
-
Constructor Details
-
ShowAnnotationEditorCommand
public ShowAnnotationEditorCommand()
-
-
Method Details
-
setPageView
-
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 classInjectedCommand
- 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 classInjectedWidgetCommand
-
getCaption
- Specified by:
getCaption
in classInjectedWidgetCommand
- Returns:
- caption text for dialog
-
setHandler
-