|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.guiclient.model.item.ItemEditorRegistry
public final class ItemEditorRegistry
Registry that maps item types (see ItemTypes)
to instances of item editors (ItemEditor) that can be used to edit the items.
This class is a singleton.
| Method Summary | |
|---|---|
static ItemEditorRegistry |
getInstance()
Gets the singleton instance of this class. |
ItemEditor |
lookupItemEditor(java.lang.String itemType)
Looks up an item editor. |
void |
registerItemEditor(java.lang.String itemType,
ItemEditor editor)
Registers an item editor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ItemEditorRegistry getInstance()
public ItemEditor lookupItemEditor(java.lang.String itemType)
itemType - Item type
public void registerItemEditor(java.lang.String itemType,
ItemEditor editor)
itemType - Item typeeditor - Editor to use for this type of item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||