Class ScaleHandler
- java.lang.Object
-
- com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
-
- com._1c.g5.v8.dt.moxel.ui.handlers.ScaleHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.ui.commands.IElementUpdater
- Direct Known Subclasses:
Scale100Handler,Scale125Handler,Scale150Handler,Scale200Handler,Scale50Handler,Scale75Handler
public class ScaleHandler extends BaseHandler implements org.eclipse.ui.commands.IElementUpdater
Base handler for 'Scale' commands
-
-
Constructor Summary
Constructors Constructor Description ScaleHandler(int percent)Creates new instance ofScaleHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(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
-
-
-
-
Constructor Detail
-
ScaleHandler
public ScaleHandler(int percent)
Creates new instance ofScaleHandler- Parameters:
percent-
-
-
Method Detail
-
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
-
updateElement
public void updateElement(org.eclipse.ui.menus.UIElement element, Map parameters)- Specified by:
updateElementin interfaceorg.eclipse.ui.commands.IElementUpdater
-
-