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
ConstructorsConstructorDescriptionPluginActionSet(org.eclipse.ui.internal.registry.ActionSetDescriptor desc) PluginActionSet constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPluginAction(WWinPluginAction action) Adds one plugin action ref to the list.voiddispose()Disposes of this action set.Returns the configuration element.org.eclipse.ui.internal.registry.ActionSetDescriptorgetDesc()Returns the underlying descriptor.IAction[]Returns the list of plugin actions for the set.voidinit(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.voidsetBuilder(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:
disposein 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:
initin interfaceorg.eclipse.ui.internal.registry.IActionSet- Parameters:
window- the workbench windowbars- the action bars
-
setBuilder
-
toString
-