Class HorizontalAlignmentEditor
java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.internal.annotation.editor.AnnotationPropertyEditor
com.levigo.jadice.web.client.internal.annotation.editor.HorizontalAlignmentEditor
- All Implemented Interfaces:
MenuContributor
,Command
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static enum
Define whichHorizontalAlignment
s shall be shown in the editor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
contribute
(ContributionContext context, MenuBuilder menuBuilder) This method is called in order to give the menu contributor a chance to contribute context menu entries via the suppliedMenuBuilder
.protected void
execute()
This method is called in order to execute the command.void
setAlignments
(HorizontalAlignmentEditor.Alignments alignments) Methods inherited from class com.levigo.jadice.web.client.internal.annotation.editor.AnnotationPropertyEditor
applyUndoableEdit, captureMemento, captureStateThenEdit, getAnnoTool, getIcon, getIcon, getIconName, getPage, getProfile, getRenderControls, getSelectedItems, getUndoManager, init, repaint, reset, setIconName
Methods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, 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
-
HorizontalAlignmentEditor
public HorizontalAlignmentEditor()
-
-
Method Details
-
execute
protected void execute()Description copied from class:InjectedCommand
This 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
.- Overrides:
execute
in classAnnotationPropertyEditor
-
getAlignments
-
setAlignments