de.cau.cs.kieler.keg.diagram.custom
Class HypernodesRequest

java.lang.Object
  extended by org.eclipse.gef.Request
      extended by de.cau.cs.kieler.keg.diagram.custom.HypernodesRequest

public class HypernodesRequest
extends Request

A request to update the hypernode structure of the graph.

Rating red

Field Summary
static String REQ_UPDATE_HYPERNODES
          the request type used to update hypernodes.
 
Constructor Summary
HypernodesRequest(KNode theRootNode, Map<Set<KNode>,List<KNode>> thehyperedgeMap)
          Creates a request to apply layout.
 
Method Summary
 Map<Set<KNode>,List<KNode>> getHyperedgeMap()
          Returns the map of hyperedges to the representing hypernodes in the original graph.
 KNode getRootNode()
          Returns the root layout node.
 
Methods inherited from class org.eclipse.gef.Request
getExtendedData, getType, setExtendedData, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQ_UPDATE_HYPERNODES

public static final String REQ_UPDATE_HYPERNODES
the request type used to update hypernodes.

See Also:
Constant Field Values
Constructor Detail

HypernodesRequest

public HypernodesRequest(KNode theRootNode,
                         Map<Set<KNode>,List<KNode>> thehyperedgeMap)
Creates a request to apply layout.

Parameters:
theRootNode - the root of the layout graph
thehyperedgeMap - map of hyperedges to the representing hypernodes in the original graph
Method Detail

getRootNode

public KNode getRootNode()
Returns the root layout node.

Returns:
the root layout node

getHyperedgeMap

public Map<Set<KNode>,List<KNode>> getHyperedgeMap()
Returns the map of hyperedges to the representing hypernodes in the original graph.

Returns:
the hyperedge map