|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.layout.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 |
addLayoutListener(ILayoutListener listener)
Adds the given layout listener to the list of registered listeners. |
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 |
removeLayoutListener(ILayoutListener listener)
Removes the given layout listener from the list of registered listeners. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addLayoutListener(ILayoutListener listener)
listener
- layout listener to registerpublic void removeLayoutListener(ILayoutListener listener)
listener
- layout listener to removepublic 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)
DIAGRAM_TYPE_NOLAYOUT
as identifier are rejected, since this
is a special value used to indicate that a diagram part shall not be
layouted at all.
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 option
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |