Package org.eclipse.ui.internal
Class EditorActionBuilder
java.lang.Object
org.eclipse.ui.internal.registry.RegistryReader
org.eclipse.ui.internal.PluginActionBuilder
org.eclipse.ui.internal.EditorActionBuilder
This class reads the registry for extensions that plug into 'editorActions'
extension point.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Helper class that will populate the menu and toolbar with the external editor contributions.Nested classes/interfaces inherited from class org.eclipse.ui.internal.PluginActionBuilder
PluginActionBuilder.BasicContribution
-
Field Summary
Fields inherited from class org.eclipse.ui.internal.PluginActionBuilder
cache, currentContribution, targetContributionTag, targetID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ActionDescriptor
This factory method returns a new ActionDescriptor for the configuration element.protected PluginActionBuilder.BasicContribution
Factory method to create the helper contribution class that will hold onto the menus and actions contributed.Reads and apply all external contributions for this editor's ID registered in 'editorActions' extension point.Methods inherited from class org.eclipse.ui.internal.PluginActionBuilder
contribute, getID, getTargetID, readContributions, readElement, setAllowIdeLogging
Methods inherited from class org.eclipse.ui.internal.registry.RegistryReader
getClassValue, getDescription, logError, logMissingAttribute, logMissingElement, logUnknownElement, orderExtensions, readElementChildren, readElements, readExtension, readRegistry
-
Constructor Details
-
EditorActionBuilder
public EditorActionBuilder()The constructor.
-
-
Method Details
-
createActionDescriptor
Description copied from class:PluginActionBuilder
This factory method returns a new ActionDescriptor for the configuration element. It should be implemented by subclasses.- Specified by:
createActionDescriptor
in classPluginActionBuilder
-
createContribution
Description copied from class:PluginActionBuilder
Factory method to create the helper contribution class that will hold onto the menus and actions contributed.- Overrides:
createContribution
in classPluginActionBuilder
-
readActionExtensions
Reads and apply all external contributions for this editor's ID registered in 'editorActions' extension point.
-