Class AbstractPageViewCommand
java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.commands.AbstractContextCommand
com.levigo.jadice.web.client.commands.AbstractPageViewCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractMouseCommand
,ActivateToolCommand
,AutoActivationCommand
,CancelAreaSelectionCommand
,CreateAnnotationViaApiCommand
,DeleteSelectedAnnotationsCommand
,EnableToolCommand
,FitPageCommand
,OpenFileCommand
,SelectPageLayoutCommand
,StartAreaSelectionCommand
,ThumbnailToolCommand
-
Constructor Summary
-
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.void
setPageView
(PageView pageView) Methods inherited from class com.levigo.jadice.web.client.commands.AbstractContextCommand
getContext, propagateContextChange, setContext
Methods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, clearInjections, execute, 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
getID, isAvailable, isAvailable
-
Constructor Details
-
AbstractPageViewCommand
public AbstractPageViewCommand()
-
-
Method Details
-
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.
-
getPageView
-
setPageView
-