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
-
Method Summary
Modifier and TypeMethodDescriptionprotected final AbstractContainerEditpart
Gets the widget models of all currently selected EditParts.protected final org.eclipse.draw2d.IFigure
Gets the widget models of all currently selected EditParts.void
Methods 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
-