|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.config.SemanticLayoutConfig
de.cau.cs.kieler.synccharts.diagram.custom.AnnotationsLayoutConfig
public class AnnotationsLayoutConfig
A semantic layout configurations for annotations.
Field Summary | |
---|---|
static int |
PRIORITY
the priority for annotations layout configurations. |
Fields inherited from interface de.cau.cs.kieler.kiml.config.IMutableLayoutConfig |
---|
OPT_RECURSIVE |
Constructor Summary | |
---|---|
AnnotationsLayoutConfig()
|
Method Summary | |
---|---|
protected IProperty<?>[] |
getAffectedOptions(EObject semanticElem)
Returns the options that are affected by this layout configuration. |
int |
getPriority()
Return the priority of this layout configuration, which is relevant when multiple configurations are applied. |
protected Object |
getSemanticValue(EObject semanticElem,
LayoutOptionData<?> layoutOption)
Determine the value of the given layout option from the semantic element. |
protected void |
setSemanticValue(EObject semanticElem,
LayoutOptionData<?> layoutOption,
Object value)
Set a layout option value for the semantic element. |
Methods inherited from class de.cau.cs.kieler.kiml.config.SemanticLayoutConfig |
---|
clearValues, enrich, getValue, isSet, setValue, transferValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PRIORITY
Constructor Detail |
---|
public AnnotationsLayoutConfig()
Method Detail |
---|
public int getPriority()
getPriority
in interface ILayoutConfig
getPriority
in class SemanticLayoutConfig
protected IProperty<?>[] getAffectedOptions(EObject semanticElem)
getAffectedOptions
in class SemanticLayoutConfig
semanticElem
- a semantic model element
null
if there are noneprotected Object getSemanticValue(EObject semanticElem, LayoutOptionData<?> layoutOption)
getSemanticValue
in class SemanticLayoutConfig
semanticElem
- a semantic model elementlayoutOption
- a layout option
null
if no specific value is determinedprotected void setSemanticValue(EObject semanticElem, LayoutOptionData<?> layoutOption, Object value)
setSemanticValue
in class SemanticLayoutConfig
semanticElem
- a semantic model elementlayoutOption
- a layout optionvalue
- a value for the layout option, or null
if the currently set
value shall be deleted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |