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 SummaryConstructorsConstructorDescriptionPluginActionSet(org.eclipse.ui.internal.registry.ActionSetDescriptor desc) PluginActionSet constructor comment.
- 
Method SummaryModifier 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- 
PluginActionSetpublic PluginActionSet(org.eclipse.ui.internal.registry.ActionSetDescriptor desc) PluginActionSet constructor comment.- Parameters:
- desc- the descriptor
 
 
- 
- 
Method Details- 
addPluginActionAdds one plugin action ref to the list.- Parameters:
- action- the action
 
- 
getPluginActionsReturns the list of plugin actions for the set.- Returns:
- the actions for the set
 
- 
disposepublic void dispose()Disposes of this action set.- Specified by:
- disposein interface- org.eclipse.ui.internal.registry.IActionSet
 
- 
getConfigElementReturns the configuration element.- Returns:
- the configuration element
 
- 
getDescpublic org.eclipse.ui.internal.registry.ActionSetDescriptor getDesc()Returns the underlying descriptor.- Returns:
- the descriptor
 
- 
initInitializes this action set, which is expected to add it actions as required to the given workbench window and action bars.- Specified by:
- initin interface- org.eclipse.ui.internal.registry.IActionSet
- Parameters:
- window- the workbench window
- bars- the action bars
 
- 
setBuilder
- 
toString
 
-