|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.model.graphiti.GraphitiUtil
public final class GraphitiUtil
Utility class for Graphiti editors.
Method Summary | |
---|---|
static org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm |
findVisibleGa(org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm graphicsAlgorithm)
Given a graphics algorithm, find the first child that is not invisible. |
static boolean |
setBounds(org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm ga,
int x,
int y,
int width,
int height)
Set the bounds of the given graphics algorithm. |
static boolean |
setPoints(org.eclipse.graphiti.mm.algorithms.Polyline polyline,
int[] coords)
Set the points of the given polyline. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean setBounds(org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm ga, int x, int y, int width, int height)
ga
- a graphics algorithmx
- the new x coordinatey
- the new y coordinatewidth
- the new widthheight
- the new height
public static boolean setPoints(org.eclipse.graphiti.mm.algorithms.Polyline polyline, int[] coords)
polyline
- a polylinecoords
- an array of alternating x / y coordinates
public static org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm findVisibleGa(org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm graphicsAlgorithm)
graphicsAlgorithm
- the parent graphics algorithm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |