Class AlignHandler
java.lang.Object
com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
com._1c.g5.v8.dt.moxel.ui.handlers.AlignHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.ui.commands.IElementUpdater
- Direct Known Subclasses:
AlignCenterHandler,AlignJustifyHandler,AlignLeftHandler,AlignRightHandler
Base handler for various 'Align ...' commands
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAlignHandler(HorizontalAlignment alignType) Creates new instance ofAlignHandler -
Method Summary
Modifier and TypeMethodDescriptionexecute(org.eclipse.core.commands.ExecutionEvent event) voidupdateElement(org.eclipse.ui.menus.UIElement element, Map parameters) Methods inherited from class com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
addHandlerListener, dispose, getControl, isEnabled, isHandled, removeHandlerListener
-
Field Details
-
alignType
-
-
Constructor Details
-
AlignHandler
Creates new instance ofAlignHandler- Parameters:
alignType- - alignment type
-
-
Method Details
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Specified by:
executein interfaceorg.eclipse.core.commands.IHandler- Throws:
org.eclipse.core.commands.ExecutionException
-