de.cau.cs.kieler.kiml.util
Class FixedLayoutProvider

java.lang.Object
  extended by de.cau.cs.kieler.kiml.AbstractLayoutProvider
      extended by de.cau.cs.kieler.kiml.util.FixedLayoutProvider

public class FixedLayoutProvider
extends AbstractLayoutProvider

A layout provider that sets fixed positions for all elements. Elements that have no position option attached just stay where they are.

Rating proposed yellow
(2011-01-13) msp

Field Summary
static String ID
          the layout provider id.
 
Constructor Summary
FixedLayoutProvider()
           
 
Method Summary
 void doLayout(KNode layoutNode, IKielerProgressMonitor progressMonitor)
          Performs the actual layout process, that is attaches layout information to the given node object.
 
Methods inherited from class de.cau.cs.kieler.kiml.AbstractLayoutProvider
dispose, getDebugCanvas, initialize, setDebugCanvas, supportsHierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
the layout provider id.

See Also:
Constant Field Values
Constructor Detail

FixedLayoutProvider

public FixedLayoutProvider()
Method Detail

doLayout

public void doLayout(KNode layoutNode,
                     IKielerProgressMonitor progressMonitor)
Performs the actual layout process, that is attaches layout information to the given node object.

Specified by:
doLayout in class AbstractLayoutProvider
Parameters:
layoutNode - the parent node which should be laid out
progressMonitor - progress monitor used to keep track of progress