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
Base handler for 'Scale' commands
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(org.eclipse.core.commands.ExecutionEvent event) void
updateElement
(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 Details
-
ScaleHandler
public ScaleHandler(int percent) Creates new instance ofScaleHandler
- Parameters:
percent
-
-
-
Method Details
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Specified by:
execute
in interfaceorg.eclipse.core.commands.IHandler
- Throws:
org.eclipse.core.commands.ExecutionException
-