|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.LayoutServices.Registry
public final class LayoutServices.Registry
Class used to register the layout services.
Method Summary | |
---|---|
void |
addCategory(String id,
String name)
Registers the given category. |
void |
addDiagramType(String id,
String name)
Registers the given diagram type. |
void |
addLayoutOption(LayoutOptionData<?> optionData)
Registers the given layout option. |
void |
addLayoutProvider(LayoutProviderData providerData)
Registers the given layout provider. |
void |
addLayoutType(String id,
String name)
Registers the given layout type. |
void |
addOption(String id,
String optionId,
Object value)
Adds the given option as default for an object identifier. |
void |
removeOption(String id,
String optionId)
Remove the value of the given option. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addLayoutProvider(LayoutProviderData providerData)
providerData
- data instance of the layout provider to registerpublic void addLayoutOption(LayoutOptionData<?> optionData)
optionData
- data instance of the layout option to registerpublic void addLayoutType(String id, String name)
id
- identifier of the typename
- user friendly name of the typepublic void addCategory(String id, String name)
id
- identifier of the categoryname
- user friendly name of the categorypublic void addDiagramType(String id, String name)
id
- identifier of the diagram typename
- user friendly name of the diagram typepublic void addOption(String id, String optionId, Object value)
id
- identifier of the object to registeroptionId
- identifier of a layout optionvalue
- value for the layout optionpublic void removeOption(String id, String optionId)
id
- identifier of the object for which an option shall be removedoptionId
- identifier of a layout option
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |