Class FontHeightAction

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.gmf.runtime.common.ui.action.IActionWithProgress

        org.eclipse.gmf.runtime.common.ui.action.IActionWithProgress.WorkIndicatorType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected MoxelEditor editor
      Editor to apply command to
    • Constructor Summary

      Constructors 
      Constructor Description
      FontHeightAction​(org.eclipse.ui.IWorkbenchPage workbenchPage)
      Creates new instance of FontHeightAction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean calculateEnabled()  
      protected org.eclipse.swt.widgets.Control createControl​(org.eclipse.swt.widgets.Composite parent)  
      protected org.eclipse.gef.Request createTargetRequest()  
      protected void doRun​(org.eclipse.core.runtime.IProgressMonitor progressMonitor)  
      void handleEvent​(org.eclipse.swt.widgets.Event event)  
      protected boolean isOperationHistoryListener()  
      void onChangeSelectionFormat()  
      protected void refreshItem()  
      void setEditor​(MoxelEditor editor)
      Set up moxel editor
      • Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.internal.actions.CustomContributionItem

        createOperationSet, dispose, execute, filterEditPartsMatching, getCommand, getCommand, getCommandLabel, getDiagramCommandStack, getDiagramEditDomain, getDiagramEditPart, getDiagramGraphicalViewer, getDiagramWorkbenchPart, getOperationSet, getSelectedObjects, getTargetEditParts, getTargetRequest, refresh, updateTargetRequest
      • Methods inherited from class org.eclipse.gmf.runtime.common.ui.action.AbstractContributionItem

        computeWidth, createMenuItem, createToolItem, execute, fill, fill, fill, getActionManager, getControl, getItem, getItemListener, getLabel, getMenuItem, getOperationHistory, getSelection, getStructuredSelection, getToolItem, getUndoContext, getWorkbenchPart, getWorkIndicatorType, handle, handleWidgetDispose, handleWidgetEvent, historyNotification, init, isEnabled, isRunnable, isSelectionListener, isSetup, needsSetup, openErrorDialog, run, runWithEvent, selectionChanged, setEnabled, setItem, setLabel, setSetup, setup, setWorkbenchPart, update
      • Methods inherited from class org.eclipse.jface.action.ContributionItem

        fill, getId, getParent, isDirty, isDynamic, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update
    • Field Detail

      • editor

        protected MoxelEditor editor
        Editor to apply command to
    • Constructor Detail

      • FontHeightAction

        public FontHeightAction​(org.eclipse.ui.IWorkbenchPage workbenchPage)
        Creates new instance of FontHeightAction
        Parameters:
        workbenchPage - IWorkbenchPage
    • Method Detail

      • handleEvent

        public void handleEvent​(org.eclipse.swt.widgets.Event event)
        Specified by:
        handleEvent in interface org.eclipse.swt.widgets.Listener
      • refreshItem

        protected void refreshItem()
        Overrides:
        refreshItem in class org.eclipse.gmf.runtime.common.ui.action.AbstractContributionItem
      • isOperationHistoryListener

        protected boolean isOperationHistoryListener()
        Overrides:
        isOperationHistoryListener in class org.eclipse.gmf.runtime.common.ui.action.AbstractContributionItem
      • createControl

        protected org.eclipse.swt.widgets.Control createControl​(org.eclipse.swt.widgets.Composite parent)
        Overrides:
        createControl in class org.eclipse.gmf.runtime.common.ui.action.AbstractContributionItem
      • doRun

        protected void doRun​(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
        Overrides:
        doRun in class org.eclipse.gmf.runtime.diagram.ui.internal.actions.CustomContributionItem
      • calculateEnabled

        protected boolean calculateEnabled()
        Overrides:
        calculateEnabled in class org.eclipse.gmf.runtime.diagram.ui.internal.actions.CustomContributionItem
      • createTargetRequest

        protected org.eclipse.gef.Request createTargetRequest()
        Specified by:
        createTargetRequest in class org.eclipse.gmf.runtime.diagram.ui.internal.actions.CustomContributionItem