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 Details

    • FontPropertyHandler

      public FontPropertyHandler(int fontProperty)
      Creates new instance of FontPropertyHandler
      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 interface org.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 interface org.eclipse.ui.commands.IElementUpdater