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
Nested ClassesModifier and TypeClassDescriptionstatic classHelper 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionDescriptorThis factory method returns a new ActionDescriptor for the configuration element.protected PluginActionBuilder.BasicContributionFactory 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, setAllowIdeLoggingMethods 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:PluginActionBuilderThis factory method returns a new ActionDescriptor for the configuration element. It should be implemented by subclasses.- Specified by:
createActionDescriptorin classPluginActionBuilder
-
createContribution
Description copied from class:PluginActionBuilderFactory method to create the helper contribution class that will hold onto the menus and actions contributed.- Overrides:
createContributionin classPluginActionBuilder
-
readActionExtensions
Reads and apply all external contributions for this editor's ID registered in 'editorActions' extension point.
-