|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.draw2d.AbstractLayout org.eclipse.draw2d.XYLayout org.eclipse.draw2d.FreeformLayout uk.ac.kcl.cch.jb.pliny.containmentView.layout.GraphXYLayout
Subclass of XYLayout which can use the child figures actual bounds as a constraint when doing manual layout (XYLayout). This code was borrowed with only minor changes from com.realpersist.gef.schemaeditor with thanks to the original authors.
Field Summary |
Fields inherited from class org.eclipse.draw2d.XYLayout |
constraints |
Fields inherited from class org.eclipse.draw2d.AbstractLayout |
isObservingVisibility, preferredSize |
Constructor Summary | |
GraphXYLayout(ContainmentSetPart diagram)
|
Method Summary | |
Object |
getConstraint(org.eclipse.draw2d.IFigure child)
|
Methods inherited from class org.eclipse.draw2d.FreeformLayout |
getOrigin |
Methods inherited from class org.eclipse.draw2d.XYLayout |
calculatePreferredSize, layout, remove, setConstraint |
Methods inherited from class org.eclipse.draw2d.AbstractLayout |
calculatePreferredSize, getBorderPreferredSize, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, invalidate, isObservingVisibility, setObserveVisibility |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphXYLayout(ContainmentSetPart diagram)
Method Detail |
public Object getConstraint(org.eclipse.draw2d.IFigure child)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |