Class CreateGroupAction
java.lang.Object
org.csstudio.opibuilder.actions.AbstractWidgetTargetAction
org.csstudio.opibuilder.widgets.actions.CreateGroupAction
- All Implemented Interfaces:
IActionDelegate
,IObjectActionDelegate
The action will create a group which contains all the selected widgets.
-
Field Summary
Fields inherited from class org.csstudio.opibuilder.actions.AbstractWidgetTargetAction
selection, targetPart
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final List<AbstractWidgetModel>
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
-
CreateGroupAction
public CreateGroupAction()
-
-
Method Details
-
run
-
getSelectedWidgetModels
Gets the widget models of all currently selected EditParts.- Returns:
- a list with all widget models that are currently selected. The order of the selected widgets was kept.
-