Package org.eclipse.ui.internal
Class ObjectActionContributorReader
java.lang.Object
org.eclipse.ui.internal.registry.RegistryReader
org.eclipse.ui.internal.ObjectActionContributorReader
public class ObjectActionContributorReader
extends org.eclipse.ui.internal.registry.RegistryReader
This reader loads the popup menu manager with all the popup menu contributors
found in the workbench registry.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Creates popup menu contributor from this element.protected boolean
readElement
(IConfigurationElement element) Implements abstract method to handle configuration elements.void
Reads the registry and registers popup menu contributors found there.void
Set the manager to read into.Methods inherited from class org.eclipse.ui.internal.registry.RegistryReader
getClassValue, getDescription, logError, logMissingAttribute, logMissingElement, logUnknownElement, orderExtensions, readElementChildren, readElements, readExtension, readRegistry
-
Constructor Details
-
ObjectActionContributorReader
public ObjectActionContributorReader()
-
-
Method Details
-
processObjectContribution
Creates popup menu contributor from this element. -
readElement
Implements abstract method to handle configuration elements.- Specified by:
readElement
in classorg.eclipse.ui.internal.registry.RegistryReader
- Returns:
- true if element was recognized, false if not.
-
readPopupContributors
Reads the registry and registers popup menu contributors found there.- Parameters:
mng
- the manager to read into
-
setManager
Set the manager to read into.- Parameters:
mng
- the manager
-