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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCreates popup menu contributor from this element.protected booleanreadElement(IConfigurationElement element) Implements abstract method to handle configuration elements.voidReads the registry and registers popup menu contributors found there.voidSet 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:
readElementin 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
-