Class DistributeWidgetsAction

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.gef.ui.actions.WorkbenchPartAction
org.eclipse.gef.ui.actions.SelectionAction
org.csstudio.opibuilder.actions.DistributeWidgetsAction
All Implemented Interfaces:
org.eclipse.gef.Disposable, org.eclipse.gef.ui.actions.UpdateAction, IAction

public class DistributeWidgetsAction extends org.eclipse.gef.ui.actions.SelectionAction
The actions to distribute widgets.
  • Constructor Details

  • Method Details

    • calculateEnabled

      protected boolean calculateEnabled()
      Specified by:
      calculateEnabled in class org.eclipse.gef.ui.actions.WorkbenchPartAction
    • run

      public void run()
      Specified by:
      run in interface IAction
      Overrides:
      run in class Action
    • getSelectedWidgetModels

      protected final List<AbstractWidgetModel> getSelectedWidgetModels()
      Gets the widget models of all currently selected EditParts.
      Returns:
      a list with all widget models that are currently selected