Class PerformAutoSizeAction
java.lang.Object
org.csstudio.opibuilder.actions.AbstractWidgetTargetAction
org.csstudio.opibuilder.widgets.actions.PerformAutoSizeAction
- All Implemented Interfaces:
IActionDelegate,IObjectActionDelegate
The action will auto size the container according to the bounds of its children.
-
Field Summary
Fields inherited from class org.csstudio.opibuilder.actions.AbstractWidgetTargetAction
selection, targetPart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final AbstractContainerEditpartGets the widget models of all currently selected EditParts.protected final org.eclipse.draw2d.IFigureGets the widget models of all currently selected EditParts.voidMethods inherited from class org.csstudio.opibuilder.actions.AbstractWidgetTargetAction
execute, getCommandStack, getSelection, selectionChanged, setActivePart
-
Constructor Details
-
PerformAutoSizeAction
public PerformAutoSizeAction()
-
-
Method Details
-
run
-
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
-