Package org.eclipse.ui.internal
Class PluginActionSet
java.lang.Object
org.eclipse.ui.internal.PluginActionSet
- All Implemented Interfaces:
org.eclipse.ui.internal.registry.IActionSet
A PluginActionSet is a proxy for an action set defined in XML. It creates a
PluginAction for each action and does the required cleanup on dispose.
-
Constructor Summary
ConstructorDescriptionPluginActionSet
(org.eclipse.ui.internal.registry.ActionSetDescriptor desc) PluginActionSet constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPluginAction
(WWinPluginAction action) Adds one plugin action ref to the list.void
dispose()
Disposes of this action set.Returns the configuration element.org.eclipse.ui.internal.registry.ActionSetDescriptor
getDesc()
Returns the underlying descriptor.IAction[]
Returns the list of plugin actions for the set.void
init
(IWorkbenchWindow window, IActionBars bars) Initializes this action set, which is expected to add it actions as required to the given workbench window and action bars.void
setBuilder
(IDisposable builder) toString()
-
Constructor Details
-
PluginActionSet
public PluginActionSet(org.eclipse.ui.internal.registry.ActionSetDescriptor desc) PluginActionSet constructor comment.- Parameters:
desc
- the descriptor
-
-
Method Details
-
addPluginAction
Adds one plugin action ref to the list.- Parameters:
action
- the action
-
getPluginActions
Returns the list of plugin actions for the set.- Returns:
- the actions for the set
-
dispose
public void dispose()Disposes of this action set.- Specified by:
dispose
in interfaceorg.eclipse.ui.internal.registry.IActionSet
-
getConfigElement
Returns the configuration element.- Returns:
- the configuration element
-
getDesc
public org.eclipse.ui.internal.registry.ActionSetDescriptor getDesc()Returns the underlying descriptor.- Returns:
- the descriptor
-
init
Initializes this action set, which is expected to add it actions as required to the given workbench window and action bars.- Specified by:
init
in interfaceorg.eclipse.ui.internal.registry.IActionSet
- Parameters:
window
- the workbench windowbars
- the action bars
-
setBuilder
-
toString
-