|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.properties.MapPropertyHolder
de.cau.cs.kieler.kiml.ui.diagram.LayoutMapping<T>
T
- the type of diagram parts to store in the mappingpublic class LayoutMapping<T>
A layout mapping describes the relation between a graphical diagram and the layout graph that is created by diagram layout managers.
Constructor Summary | |
---|---|
LayoutMapping()
|
Method Summary | |
---|---|
com.google.common.collect.BiMap<KGraphElement,T> |
getGraphMap()
Returns the bidirectional mapping of layout graph elements to diagram parts. |
List<ILayoutConfig> |
getLayoutConfigs()
Returns the additional layout configurations for specification of layout options. |
KNode |
getLayoutGraph()
Returns the top-level parent node of the layout graph. |
T |
getParentElement()
Returns the top-level diagram part. |
void |
setLayoutGraph(KNode thelayoutGraph)
Set the top-level parent node of the layout graph. |
void |
setParentElement(T theparentElem)
Set the top-level diagram part. |
Methods inherited from class de.cau.cs.kieler.core.properties.MapPropertyHolder |
---|
checkProperties, copyProperties, getAllProperties, getProperty, getProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutMapping()
Method Detail |
---|
public com.google.common.collect.BiMap<KGraphElement,T> getGraphMap()
public void setLayoutGraph(KNode thelayoutGraph)
thelayoutGraph
- the layout graphpublic KNode getLayoutGraph()
public List<ILayoutConfig> getLayoutConfigs()
public void setParentElement(T theparentElem)
theparentElem
- the parent diagram partpublic T getParentElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |