Class PerformAutoSizeAction

java.lang.Object
org.csstudio.opibuilder.actions.AbstractWidgetTargetAction
org.csstudio.opibuilder.widgets.actions.PerformAutoSizeAction
All Implemented Interfaces:
IActionDelegate, IObjectActionDelegate

public class PerformAutoSizeAction extends AbstractWidgetTargetAction
The action will auto size the container according to the bounds of its children.
  • Constructor Details

    • PerformAutoSizeAction

      public PerformAutoSizeAction()
  • Method Details

    • run

      public void run(IAction action)
    • getContainerEditpart

      protected final AbstractContainerEditpart getContainerEditpart()
      Gets the widget models of all currently selected EditParts.
      Returns:
      a list with all widget models that are currently selected
    • getContainerFigure

      protected final org.eclipse.draw2d.IFigure getContainerFigure()
      Gets the widget models of all currently selected EditParts.
      Returns:
      a list with all widget models that are currently selected