|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.AbstractLayout
uk.ac.kcl.cch.jb.pliny.containmentView.layout.GraphLayoutManager
Uses the DirectedGraphLayoutVisitor to automatically lay out figures on Containment
View's screen. This code was borrowed with only minor changes from
com.realpersist.gef.schemaeditor with thanks to the
original authors.
ContainmentSetPart| Field Summary |
| Fields inherited from class org.eclipse.draw2d.AbstractLayout |
isObservingVisibility, preferredSize |
| Constructor Summary | |
GraphLayoutManager(ContainmentSetPart diagram)
|
|
| Method Summary | |
protected org.eclipse.draw2d.geometry.Dimension |
calculatePreferredSize(org.eclipse.draw2d.IFigure container,
int wHint,
int hHint)
|
void |
layout(org.eclipse.draw2d.IFigure container)
|
| Methods inherited from class org.eclipse.draw2d.AbstractLayout |
calculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, invalidate, isObservingVisibility, remove, setConstraint, setObserveVisibility |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GraphLayoutManager(ContainmentSetPart diagram)
| Method Detail |
protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure container,
int wHint,
int hHint)
public void layout(org.eclipse.draw2d.IFigure container)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||