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:
BoldHandler
,ItalicHandler
,UnderlineHandler
-
-
Constructor Summary
Constructors Constructor Description FontPropertyHandler(int fontProperty)
Creates new instance ofFontPropertyHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute(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 Detail
-
FontPropertyHandler
public FontPropertyHandler(int fontProperty)
Creates new instance ofFontPropertyHandler
- Parameters:
fontProperty
- - font property
-
-
Method Detail
-
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
-
updateElement
public void updateElement(org.eclipse.ui.menus.UIElement element, Map parameters)
- Specified by:
updateElement
in interfaceorg.eclipse.ui.commands.IElementUpdater
-
-