|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.layout.AbstractLayoutProvider
de.cau.cs.kieler.kiml.graphviz.layouter.GraphvizLayoutProvider
public class GraphvizLayoutProvider
Layout provider for the Graphviz layout tool. The actual interface to
Graphviz is implemented in GraphvizLayouter
.
The actual Graphviz layout that is applied is determined by the parameter
passed in the initialize(String)
method. If no parameter is passed,
the Dot layouter is applied as default.
Constructor Summary | |
---|---|
GraphvizLayoutProvider()
|
Method Summary | |
---|---|
void |
doLayout(KNode layoutNode,
IKielerProgressMonitor progressMonitor)
Performs the actual layout process, that is attaches layout information to the given node object. |
Object |
getDefault(String optionId)
Returns the default value for the given layout option. |
void |
initialize(String parameter)
Initializes the Graphviz layout provider with the given parameter string as command. |
Methods inherited from class de.cau.cs.kieler.kiml.layout.AbstractLayoutProvider |
---|
supportsHierarchy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphvizLayoutProvider()
Method Detail |
---|
public void initialize(String parameter)
initialize
in class AbstractLayoutProvider
parameter
- parameter string that is interpreted as Graphviz commandpublic void doLayout(KNode layoutNode, IKielerProgressMonitor progressMonitor) throws KielerException
doLayout
in class AbstractLayoutProvider
layoutNode
- the parent node which should be laid outprogressMonitor
- progress monitor used to keep track of progress
KielerException
- if the method fails to perform layoutpublic Object getDefault(String optionId)
null
.
getDefault
in class AbstractLayoutProvider
optionId
- identifier of a layout option
null
if this
layout provider does not know that option
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |