de.cau.cs.kieler.keg.diagram.custom
Class GraphsDiagramLayoutManager
java.lang.Object
de.cau.cs.kieler.kiml.ui.layout.DiagramLayoutManager
de.cau.cs.kieler.kiml.gmf.GmfDiagramLayoutManager
de.cau.cs.kieler.keg.diagram.custom.GraphsDiagramLayoutManager
public class GraphsDiagramLayoutManager
- extends GmfDiagramLayoutManager
Specialized Layout Manager for Graphs diagrams.
- Rating

Method Summary |
protected KNode |
doBuildLayoutGraph(org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart rootPart)
Builds the layout graph for the given root edit part. |
protected boolean |
supports(EditPart editPart)
Determines whether this layout manager is able to perform layout for the
given edit part. |
protected boolean |
supports(IWorkbenchPart workbenchPart)
Determines whether this layout manager is able to perform layout for the
given editor. |
Methods inherited from class de.cau.cs.kieler.kiml.gmf.GmfDiagramLayoutManager |
applyLayout, buildLayoutGraph, cleanupAncestryPath, getBridge, getCachedLayout, getDiagramEditPart, getEditPart, getEditPart2GraphElemMap, getGraphElem2EditPartMap, getLayoutCommand, getLayoutConfig, getLayoutGraph, getLayoutNode, processEdgeLabels, setEdgeLayout, setLayoutCommand, transferLayout |
Methods inherited from class de.cau.cs.kieler.kiml.ui.layout.DiagramLayoutManager |
applyAndZoom, applyAnimatedLayout, calcAnimationTime, getExternalConfig, getPriority, getProgressMonitor, layout, layout, layout, setLayoutConfig, setPriority |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphsDiagramLayoutManager
public GraphsDiagramLayoutManager()
supports
protected boolean supports(IWorkbenchPart workbenchPart)
- Determines whether this layout manager is able to perform layout for the
given editor.
- Overrides:
supports
in class GmfDiagramLayoutManager
- Parameters:
workbenchPart
- a workbench part
- Returns:
- true if this layout manager supports the editor part
supports
protected boolean supports(EditPart editPart)
- Determines whether this layout manager is able to perform layout for the
given edit part.
- Overrides:
supports
in class GmfDiagramLayoutManager
- Parameters:
editPart
- an edit part
- Returns:
- true if this layout manager supports the edit part
doBuildLayoutGraph
protected KNode doBuildLayoutGraph(org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart rootPart)
- Builds the layout graph for the given root edit part.
- Overrides:
doBuildLayoutGraph
in class GmfDiagramLayoutManager
- Parameters:
rootPart
- the root edit part for layout
- Returns:
- layout graph layout graph that represents the structure contained in the root edit
part