| org.eclipse.ui.internal.PluginActionBuilder org.eclipse.ui.internal.ViewerActionBuilder
ViewerActionBuilder | public class ViewerActionBuilder extends PluginActionBuilder (Code) | | This class reads the registry for extensions that plug into
'popupMenus' extension point and deals only with the 'viewerContribution'
elements.
|
Method Summary | |
protected ActionDescriptor | createActionDescriptor(IConfigurationElement element) | protected BasicContribution | createContribution() | public void | dispose() | protected boolean | readElement(IConfigurationElement element) | public boolean | readViewerContributions(String id, ISelectionProvider prov, IWorkbenchPart part) Reads the contributions for a viewer menu.
This method is typically used in conjunction with contribute to read
and then insert actions for a particular viewer menu.
Parameters: id - the menu id Parameters: prov - the selection provider for the control containing the menu Parameters: part - the part containing the menu. |
ViewerActionBuilder | public ViewerActionBuilder()(Code) | | Basic contstructor
|
createContribution | protected BasicContribution createContribution()(Code) | | |
dispose | public void dispose()(Code) | | Dispose of the action builder
|
readElement | protected boolean readElement(IConfigurationElement element)(Code) | | |
readViewerContributions | public boolean readViewerContributions(String id, ISelectionProvider prov, IWorkbenchPart part)(Code) | | Reads the contributions for a viewer menu.
This method is typically used in conjunction with contribute to read
and then insert actions for a particular viewer menu.
Parameters: id - the menu id Parameters: prov - the selection provider for the control containing the menu Parameters: part - the part containing the menu. true if 1 or more items were read. |
|
|