|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.LayoutDataService.Registry
public final class LayoutDataService.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(LayoutAlgorithmData providerData)
Registers the given layout provider. |
void |
addLayoutType(LayoutTypeData typeData)
Registers the given layout type. |
void |
addOption(String id,
String optionId,
Object value)
Adds the given option as default for an object identifier. |
void |
addSemanticConfig(String clazzName,
SemanticLayoutConfig config)
Registers the given semantic layout configuration. |
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(LayoutAlgorithmData 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(LayoutTypeData typeData)
typeData
- data instance of the layout type to registerpublic 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 optionpublic void addSemanticConfig(String clazzName, SemanticLayoutConfig config)
clazzName
- domain model class name for which to register the configurationconfig
- a semantic layout configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |