Class FontPropertyHandler
java.lang.Object
com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
com._1c.g5.v8.dt.moxel.ui.handlers.FontPropertyHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.ui.commands.IElementUpdater
- Direct Known Subclasses:
BoldHandler
,ItalicHandler
,UnderlineHandler
public abstract class FontPropertyHandler
extends BaseHandler
implements org.eclipse.ui.commands.IElementUpdater
Base handler for various font properties commands
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFontPropertyHandler
(int fontProperty) Creates new instance ofFontPropertyHandler
-
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
-
FontPropertyHandler
public FontPropertyHandler(int fontProperty) Creates new instance ofFontPropertyHandler
- Parameters:
fontProperty
- - font property
-
-
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
-