Class CreateMaskAnnoCommand
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
com.levigo.jadice.web.client.commands.CreateAnnotationViaApiCommand
com.levigo.jadice.web.client.commands.CreateMaskAnnoCommand
- All Implemented Interfaces:
Command
Command that creates a highly customized text annotation on the current page
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(com.levigo.jadice.web.shared.model.annotation.internal.AnnotationPageSegment aps, Annotation annotation) Fine-tunes the newly createdAnnotation.Override this method to set the page onto which the newAnnotationshall be placed.voidsetSelectedArea(com.levigo.jadice.web.shared.model.internal.SelectedArea selectedArea) Methods inherited from class com.levigo.jadice.web.client.commands.CreateAnnotationViaApiCommand
canExecute, createAnnotation, execute, loadAnnotationProfile, setAnnotationType, setProfileIdMethods inherited from class com.levigo.jadice.web.client.commands.AbstractPageViewCommand
getPageView, setPageViewMethods inherited from class com.levigo.jadice.web.client.commands.AbstractContextCommand
getContext, propagateContextChange, setContextMethods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
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
getID, isAvailable, isAvailable
-
Constructor Details
-
CreateMaskAnnoCommand
public CreateMaskAnnoCommand()
-
-
Method Details
-
getPageForNewAnnotation
Description copied from class:CreateAnnotationViaApiCommandOverride this method to set the page onto which the newAnnotationshall be placed.- Specified by:
getPageForNewAnnotationin classCreateAnnotationViaApiCommand- Returns:
- The page onto the
Annotationshall be placed.