org.eclipse.emf.ecore.plugin
Class RegistryReader
java.lang.Object
org.eclipse.emf.ecore.plugin.RegistryReader
- public abstract class RegistryReader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_DESCRIPTION
protected static final String TAG_DESCRIPTION
- See Also:
- Constant Field Values
pluginRegistry
protected IExtensionRegistry pluginRegistry
RegistryReader
public RegistryReader(IExtensionRegistry pluginRegistry,
String pluginID,
String extensionPointID)
readElement
protected abstract boolean readElement(IConfigurationElement element)
- Implement this method to read element attributes.
If this element has subelements, the reader will recursively cycle through them
and will call this method, so don't do it here.
readRegistry
public void readRegistry()
- Reads from the plugin registry and parses it.
logError
protected void logError(IConfigurationElement element,
String text)
- Logs the error in the desktop log using the provided
text and the information in the configuration element.
logMissingAttribute
protected void logMissingAttribute(IConfigurationElement element,
String attributeName)
- Logs a very common registry error when a required attribute is missing.