Class CreateTextAnnoWithDefaultTextCommand
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.CreateTextAnnoWithDefaultTextCommand
- All Implemented Interfaces:
Command
Command that creates a highly customized text annotation on the current page
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(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 newAnnotation
shall be placed.void
setSelectedArea
(com.levigo.jadice.web.shared.model.internal.SelectedArea selectedArea) void
Methods inherited from class com.levigo.jadice.web.client.commands.CreateAnnotationViaApiCommand
canExecute, createAnnotation, execute, loadAnnotationProfile, setAnnotationType, setProfileId
Methods inherited from class com.levigo.jadice.web.client.commands.AbstractPageViewCommand
getPageView, setPageView
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, 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
-
CreateTextAnnoWithDefaultTextCommand
public CreateTextAnnoWithDefaultTextCommand()
-
-
Method Details
-
setText
-
getPageForNewAnnotation
Description copied from class:CreateAnnotationViaApiCommand
Override this method to set the page onto which the newAnnotation
shall be placed.- Specified by:
getPageForNewAnnotation
in classCreateAnnotationViaApiCommand
- Returns:
- The page onto the
Annotation
shall be placed.
-