de.cau.cs.kieler.kiml
Class LayoutContext

java.lang.Object
  extended by de.cau.cs.kieler.core.properties.MapPropertyHolder
      extended by de.cau.cs.kieler.kiml.LayoutContext
All Implemented Interfaces:
IPropertyHolder

public class LayoutContext
extends MapPropertyHolder

Context information for configuration of layout options.

Rating red

Field Summary
static IProperty<Object> CONTAINER_DIAGRAM_PART
          the diagram part for the container of the current graph element.
static IProperty<EObject> CONTAINER_DOMAIN_MODEL
          the domain model element of the container of the current graph element.
static IProperty<Object> DIAGRAM_PART
          the main diagram part in the current context.
static IProperty<EObject> DOMAIN_MODEL
          the main domain model element in the current context.
static IProperty<KGraphElement> GRAPH_ELEM
          the graph element in the current context.
static IProperty<Set<LayoutOptionData.Target>> OPT_TARGETS
          the types of targets for layout options.
 
Constructor Summary
LayoutContext()
          Create an empty layout context.
LayoutContext(LayoutContext other)
          Copy the content of the given layout context into a new one.
 
Method Summary
 String toString()
          
 
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, wait, wait, wait
 

Field Detail

GRAPH_ELEM

public static final IProperty<KGraphElement> GRAPH_ELEM
the graph element in the current context.


DOMAIN_MODEL

public static final IProperty<EObject> DOMAIN_MODEL
the main domain model element in the current context.


CONTAINER_DOMAIN_MODEL

public static final IProperty<EObject> CONTAINER_DOMAIN_MODEL
the domain model element of the container of the current graph element.


DIAGRAM_PART

public static final IProperty<Object> DIAGRAM_PART
the main diagram part in the current context.


CONTAINER_DIAGRAM_PART

public static final IProperty<Object> CONTAINER_DIAGRAM_PART
the diagram part for the container of the current graph element.


OPT_TARGETS

public static final IProperty<Set<LayoutOptionData.Target>> OPT_TARGETS
the types of targets for layout options.

Constructor Detail

LayoutContext

public LayoutContext()
Create an empty layout context.


LayoutContext

public LayoutContext(LayoutContext other)
Copy the content of the given layout context into a new one.

Parameters:
other - another layout context
Method Detail

toString

public String toString()

Overrides:
toString in class Object