|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.commons.swt.util.registry.PluginRegistryReader
com.ibm.commons.swt.data.editors.support.EditorRegistry
public class EditorRegistry
A singleton registry that reads the Eclipse extension point registry and stores information relating to all contributed PropertyEditor extensions.
PropertyEditor| Nested Class Summary | |
|---|---|
static class |
EditorRegistry.Category
A category by which the property editor can be grouped. |
static class |
EditorRegistry.ClassEditorDescription
A concrete implementation of com.ibm.commons.swt.data.editors.support.EditorRegistry.EditorDescription. |
static class |
EditorRegistry.EditorDescription
An abstract description of the editor as defined in the extension point com.ibm.commons.swt.data.xspPropertyEditor. |
| Method Summary | |
|---|---|
PropertyEditor |
createEditor(java.lang.String id,
java.lang.String parameters)
Creates a property editor using the given id and parameters. |
EditorRegistry.Category |
getCategory(java.lang.String name)
Returns an entire category of editors. |
java.lang.String[] |
getEditorIds()
Returns an array of type java.lang.String. |
EditorRegistry.EditorDescription[] |
getEditors()
Returns an array of descriptors. |
static EditorRegistry |
getInstance()
Returns a static instance of this class. |
protected void |
readElement(org.eclipse.core.runtime.IConfigurationElement element)
|
void |
register(EditorRegistry.Category category)
|
void |
register(EditorRegistry.EditorDescription description)
|
void |
unregister(EditorRegistry.Category category)
|
void |
unregister(EditorRegistry.EditorDescription description)
|
| Methods inherited from class com.ibm.commons.swt.util.registry.PluginRegistryReader |
|---|
logError, logMissingAttribute, logMissingElement, logUnknownElement, readPluginRegistry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EditorRegistry getInstance()
public void register(EditorRegistry.Category category)
public void unregister(EditorRegistry.Category category)
public EditorRegistry.Category getCategory(java.lang.String name)
name -
public void register(EditorRegistry.EditorDescription description)
description - public void unregister(EditorRegistry.EditorDescription description)
public EditorRegistry.EditorDescription[] getEditors()
EditorRegistry.EditorDescription
public PropertyEditor createEditor(java.lang.String id,
java.lang.String parameters)
throws com.ibm.commons.iloader.node.NodeException
id - parameters -
com.ibm.commons.iloader.node.NodeExceptionprotected void readElement(org.eclipse.core.runtime.IConfigurationElement element)
readElement in class com.ibm.commons.swt.util.registry.PluginRegistryReaderpublic java.lang.String[] getEditorIds()
java.lang.String. The array contains the ids of all editors that are contributed to the platform.
java.lang.String[]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||