|
TWE 2.5-1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.jawe.components.graph.GraphManager
Class intended to serve as a control center for creation, removal, resizing and changing position of Participants as well as for doing the same things with Activity objects and Transitions. Class manages this actions in such a way that undoing of operations are possible. It incorporates multiple view and model changes into one by doing them virtually, and after all changes are done, in interaction with JaWEGraphModel class applies this changes so that undo is possible. Instance of this class is joined to to all objects of classes derived from Graph class.
This class also handles the relationships between visual and logical representation of workflow graph.
When reading a package from an XML file, this class creates imported objects and establishes relationship between graph objects (classes within jawe and jawe.graph package) and 'graph logic' objects ( classes within jawe.xml package).
Field Summary | |
private boolean |
creatingGraph
|
private static int |
defActivityHeight
Variable that holds height of activities |
private static int |
defActivityWidth
Variable that holds width of activities |
private static int |
defParNameWidth
Variable that holds the width for participant name section |
private Graph |
graph
Graph reference |
private int |
horizontalOffset
Offset for drawing - no meaning (it was used in previous versions) |
private static int |
minParHeight
Variable that holds minimum height for any participant |
private static int |
minParWidth
Variable that holds minimum width for any participant |
protected boolean |
pLoaded
|
private int |
verticalOffset
|
Constructor Summary | |
GraphManager(Graph g)
Creates new workflow manager for given graph. |
Method Summary | |
java.util.List |
addOrRemoveBreakPoint(GraphTransitionInterface gtra,
java.awt.Point p,
boolean toAdd)
|
void |
arrangeActivityPosition(org.enhydra.shark.xpdl.elements.Activity act)
|
void |
arrangeBubblePosition(org.enhydra.shark.xpdl.elements.ExtendedAttribute ea,
GraphParticipantInterface newPar)
|
protected void |
arrangeParticipantHorizontally(java.lang.Object par,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected void |
arrangeParticipantRelationsOnly(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected void |
arrangeParticipants(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Arranges participants according to the given property and parent maps. |
protected void |
arrangeParticipantsHorizontally(java.lang.Object[] pars,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected void |
arrangeParticipantsVertically(java.lang.Object[] pars,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Arranging heights and positions of given participants and positions of participants that must be translated due to a change of given participants. |
protected void |
arrangeParticipantVertically(java.lang.Object par,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Resizing participant par and it's parents to appropriate height, and translating other participants accordingly to changes of participant par. |
protected void |
changeBounds(java.lang.Object cell,
java.util.Map propertyMap,
java.awt.Rectangle r)
Replaces bounding rectangle of given cell in propertyMap object with rectangle r if cell is contained within the propertyMap object, otherwise adds new entry to the propertyMap that consists of given cell and a map containing given rectangle r. |
GraphTransitionInterface |
connectStartOrEndBubble(GraphBubbleActivityInterface startOrEnd,
java.lang.String actId)
|
protected static boolean |
containsBubble(java.util.Set gacts,
boolean start)
|
void |
createWorkflowGraph(org.enhydra.shark.xpdl.XMLCollectionElement wpOrAs)
Creates graph representation of given workflow process. |
boolean |
doesRootParticipantExist()
|
java.lang.Object |
findNearestCell(java.lang.Object selectedCell,
int direction)
Finds the nearest cell to the given cell in given direction. |
GraphParticipantInterface |
findParentActivityParticipantForLocation(java.awt.Point loc,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Finds new participant for activity after it's position changes. |
GraphParticipantInterface |
findParentForLocation(java.awt.Point loc)
|
java.awt.Rectangle |
getBounds(java.lang.Object cell,
java.util.Map propertyMap)
Gets bounding rectangle of given cell. |
protected java.awt.Rectangle |
getBoundsOfParticipantFutureActivities(GraphParticipantInterface par,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Gets the bounding rectangle of future children activities of given Participant par (that will be participants activities after parent map is applied). |
GraphBubbleActivityInterface |
getBubble(org.enhydra.shark.xpdl.elements.ExtendedAttribute ea)
Returns start/end graph bubble object which represents start/end ext. |
protected static java.awt.Point |
getBubbleOffsetPoint(java.awt.Point actOffs,
boolean start,
java.awt.Dimension defActDim,
boolean isGraphRotated)
|
java.awt.Point |
getCenter(java.lang.Object go)
Returns the central point of given graph object. |
java.util.List |
getDisplayedParticipants()
|
protected java.util.Set |
getEnds()
Returns end bubbles. |
Graph |
getGraph()
Returns the graph which is managed. |
GraphActivityInterface |
getGraphActivity(org.enhydra.shark.xpdl.elements.Activity act)
|
GraphActivityInterface |
getGraphActivity(java.lang.String id)
Returns graph Activity object which represents XPDL activity with given Id attribute. |
GraphController |
getGraphController()
|
GraphParticipantInterface |
getGraphParticipant(org.enhydra.shark.xpdl.elements.Participant par)
|
GraphParticipantInterface |
getGraphParticipant(java.lang.String id)
Returns graph Participant object which represents XPDL participant with given Id attribute. |
java.awt.Dimension |
getGraphsPreferredSize()
|
GraphTransitionInterface |
getGraphTransition(java.lang.String id)
Returns graph Transition object which represents XPDL transition with given Id attribute. |
GraphTransitionInterface |
getGraphTransition(org.enhydra.shark.xpdl.elements.Transition tra)
|
int |
getHorizontalOffset()
Returns horizontal offset for inserting participants. |
protected GraphParticipantInterface |
getLeafParticipantForXPos(int xPos,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected GraphParticipantInterface |
getLeafParticipantForYPos(int yPos,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Returns leaf participant that bounds given y-coordinate. |
protected int |
getNewRootParXPos(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected int |
getNewRootParYPos(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Gets the insertation point (y-coordinate) of new root participant. |
java.awt.Point |
getOffset(GraphActivityInterface a,
java.util.Map propertyMap)
Returns the point within the graph where the upper-left corner of given graph activity is placed. |
java.awt.Point |
getOffset(java.awt.Point actPoint)
|
protected java.util.Set |
getParticipantFutureActivities(GraphParticipantInterface par,
org.jgraph.graph.ParentMap parentMap)
Gets future children activities of given participant par (that will be par's activities after parent map is applied). |
protected int |
getParticipantHeight(java.lang.Object par,
java.util.Map propertyMap)
Gets height of given participant (from it's current view or from propertyMap). |
java.lang.String |
getParticipantId(java.awt.Point pos)
|
protected GraphParticipantInterface[] |
getParticipantsForXPos(int xPos,
int direction,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected GraphParticipantInterface[] |
getParticipantsForYPos(int yPos,
int direction,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Returns participants that are under or above given yPos, or contains that y-position: direction=0 -> under, direction=1 -> above, direction=2 -> contains. |
protected int |
getParticipantWidth(java.lang.Object par,
java.util.Map propertyMap)
Gets width of given participant (from it's current view or from propertyMap). |
protected java.util.List |
getPoints(GraphTransitionInterface cell,
java.util.Map propertyMap)
|
java.awt.Point |
getRealPosition(GraphActivityInterface a,
GraphParticipantInterface gpar)
|
protected int |
getRootParticipantHeight(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected int |
getRootParticipantWidth(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Gets the width of root participants. |
protected java.util.Set |
getStarts()
Returns start bubbles. |
java.awt.Rectangle |
getUnionBounds(java.awt.Rectangle[] rects)
Gets union of given rectangles. |
org.jgraph.graph.CellView |
getView(java.lang.Object cell)
Gets view of given object. |
private org.enhydra.shark.xpdl.elements.WorkflowProcess |
getWorkflowProcess()
Returns the (XML logic) WorkflowProcess object that is represented by the manager's graph, or (if the graph represents the (XML logic) BlockActivity content) the WorkflowProcess object that holds BlockActivity represented by manager's graph. |
org.enhydra.shark.xpdl.XMLCollectionElement |
getXPDLOwner()
Returns the object (part of mapped XML logic) that is represented by the graph managed by WorklowManager. |
JaWEGraphModel |
graphModel()
Returns the graph model - the model that represents the graph view. |
protected boolean |
hasAnyActivity(GraphParticipantInterface par,
org.jgraph.graph.ParentMap parentMap)
Checks if given participant par has activities. |
protected boolean |
hasAnyParticipant(GraphParticipantInterface par,
org.jgraph.graph.ParentMap parentMap)
Checks if given participant par has other participants. |
static boolean |
hasConnectedEndBubble(GraphActivityInterface act)
|
static boolean |
hasConnectedStartBubble(GraphActivityInterface act)
|
void |
init()
|
GraphActivityInterface |
insertActivity(org.enhydra.shark.xpdl.elements.Activity xpdla)
|
GraphActivityInterface |
insertEnd(org.enhydra.shark.xpdl.elements.ExtendedAttribute eea)
|
java.util.List |
insertMissingStartEndBubbles()
|
GraphParticipantInterface |
insertParticipantAndArrangeParticipants(org.enhydra.shark.xpdl.elements.Participant par)
Inserts new Participant cell into model. |
GraphActivityInterface |
insertStart(org.enhydra.shark.xpdl.elements.ExtendedAttribute sea)
|
GraphTransitionInterface |
insertTransition(org.enhydra.shark.xpdl.elements.Transition xpdltra)
|
boolean |
isFreeTextExpressionParticipantShown()
|
protected boolean |
isGraphRotated()
|
void |
moveCellsAndArrangeParticipants(java.util.Map propertyMap)
|
boolean |
moveParticipants(java.util.List partsToMove,
boolean direction,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
void |
moveParticipants(java.lang.Object[] cellsToMove,
boolean direction)
|
protected int |
optimalParticipantHeight(GraphParticipantInterface par,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Calculates minimal participant height, which depends of position of all of its Activity cells. |
protected int |
optimalParticipantWidth(GraphParticipantInterface par,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected int |
optimalRootParticipantHeight(java.util.List participants,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected int |
optimalRootParticipantWidth(java.util.List participants,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Calculates the minimal width of root participants. |
void |
removeActivity(org.enhydra.shark.xpdl.elements.Activity xpdla)
|
void |
removeBubble(org.enhydra.shark.xpdl.elements.ExtendedAttribute ea)
|
void |
removeCells(java.lang.Object[] cellsToDelete)
|
void |
removeCellsAndArrangeParticipants(java.lang.Object[] cellsToDelete)
Removes cells cellsToDelete from model. |
void |
removeStartEndBubbles()
|
protected void |
removeTransition(GraphTransitionInterface gtra)
|
void |
removeTransition(org.enhydra.shark.xpdl.elements.Transition xpdltra)
|
protected void |
resize(java.lang.Object[] cells,
java.util.Map propertyMap,
int dw,
int dh)
Resizes given participants. |
protected void |
resizeAllParticipantsHorizontally(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Method that resizes all participants horizontally to get there minimal needed sizes. |
protected void |
resizeAllParticipantsVertically(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
|
protected void |
translateHorizontally(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap,
int xPos,
int dv)
|
protected void |
translateParticipant(GraphParticipantInterface par,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap,
int dx,
int dy)
Translates single participant and its children.The method checks for bounds of cells within propertyMap and uses parentMap to translate right children (the children that will be it's after applying parentMap). |
protected void |
translateParticipants(GraphParticipantInterface[] cells,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap,
int dx,
int dy)
Translates given participants using propertyMap for bounds checking and parentMap for future children checking. |
protected void |
translateVertically(java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap,
int yPos,
int dv)
Translates participants under given position yPos vertically for a value of dv. |
protected java.util.Set |
updateActivityParent(GraphActivityInterface ac,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap)
Determines old and new participant for activity, adjusts activities position if needed and properly changes parent of activity (adds entry into the parentMap). |
void |
updateBreakPoints(GraphTransitionInterface gtra,
java.util.Map propertyMap)
|
void |
updateBubble(org.enhydra.shark.xpdl.elements.ExtendedAttribute ea)
|
protected void |
updateModelAndArrangeParticipants(java.lang.Object[] insert,
java.util.Map propertyMap,
org.jgraph.graph.ParentMap parentMap,
java.util.Map viewMap,
java.lang.String actionName,
org.jgraph.graph.ConnectionSet cs,
boolean arrangeParticipants)
Inserts new activities into model, changes positions and sizes of participants due to a insertion of new activities or due to a moving of activities. |
void |
updateStyle(GraphTransitionInterface gtra)
|
protected void |
updateStyle(GraphTransitionInterface gtra,
java.util.Map propertyMap)
|
void |
updateTransition(org.enhydra.shark.xpdl.elements.Transition xpdltra)
|
protected java.util.List |
updateXPDLActivitiesPosition(java.util.Map propertyMap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private transient Graph graph
private int horizontalOffset
private int verticalOffset
private static int minParWidth
private static int minParHeight
private static int defParNameWidth
private static int defActivityWidth
private static int defActivityHeight
private boolean creatingGraph
protected boolean pLoaded
Constructor Detail |
public GraphManager(Graph g)
g
- The graph that manager manages.Method Detail |
public void init()
public Graph getGraph()
public GraphController getGraphController()
public JaWEGraphModel graphModel()
public void createWorkflowGraph(org.enhydra.shark.xpdl.XMLCollectionElement wpOrAs)
This is used when reading a workflow definition from an XML file.
wpOrAs
- Object that mapps the logic of WorkflowProcess element of XML -
defines a particular Workflow process.public org.enhydra.shark.xpdl.XMLCollectionElement getXPDLOwner()
private org.enhydra.shark.xpdl.elements.WorkflowProcess getWorkflowProcess()
public java.util.List getDisplayedParticipants()
public boolean doesRootParticipantExist()
public java.lang.String getParticipantId(java.awt.Point pos)
public GraphActivityInterface insertActivity(org.enhydra.shark.xpdl.elements.Activity xpdla)
public void removeActivity(org.enhydra.shark.xpdl.elements.Activity xpdla)
public void arrangeActivityPosition(org.enhydra.shark.xpdl.elements.Activity act)
public GraphTransitionInterface insertTransition(org.enhydra.shark.xpdl.elements.Transition xpdltra)
public void removeTransition(org.enhydra.shark.xpdl.elements.Transition xpdltra)
public void updateTransition(org.enhydra.shark.xpdl.elements.Transition xpdltra)
public void updateBreakPoints(GraphTransitionInterface gtra, java.util.Map propertyMap)
public java.util.List addOrRemoveBreakPoint(GraphTransitionInterface gtra, java.awt.Point p, boolean toAdd)
public void updateStyle(GraphTransitionInterface gtra)
protected void updateStyle(GraphTransitionInterface gtra, java.util.Map propertyMap)
protected void removeTransition(GraphTransitionInterface gtra)
public GraphActivityInterface insertStart(org.enhydra.shark.xpdl.elements.ExtendedAttribute sea)
public GraphActivityInterface insertEnd(org.enhydra.shark.xpdl.elements.ExtendedAttribute eea)
public void removeBubble(org.enhydra.shark.xpdl.elements.ExtendedAttribute ea)
public GraphTransitionInterface connectStartOrEndBubble(GraphBubbleActivityInterface startOrEnd, java.lang.String actId)
public void updateBubble(org.enhydra.shark.xpdl.elements.ExtendedAttribute ea)
public void arrangeBubblePosition(org.enhydra.shark.xpdl.elements.ExtendedAttribute ea, GraphParticipantInterface newPar)
public GraphParticipantInterface insertParticipantAndArrangeParticipants(org.enhydra.shark.xpdl.elements.Participant par)
public void removeCellsAndArrangeParticipants(java.lang.Object[] cellsToDelete)
public int getHorizontalOffset()
public java.awt.Point getOffset(GraphActivityInterface a, java.util.Map propertyMap)
public java.awt.Point getOffset(java.awt.Point actPoint)
public java.awt.Point getRealPosition(GraphActivityInterface a, GraphParticipantInterface gpar)
protected void updateModelAndArrangeParticipants(java.lang.Object[] insert, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap, java.util.Map viewMap, java.lang.String actionName, org.jgraph.graph.ConnectionSet cs, boolean arrangeParticipants)
arrangeParticipants
- TODOprotected void arrangeParticipants(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected void arrangeParticipantRelationsOnly(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected java.util.Set updateActivityParent(GraphActivityInterface ac, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
public GraphParticipantInterface findParentForLocation(java.awt.Point loc)
public GraphParticipantInterface findParentActivityParticipantForLocation(java.awt.Point loc, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected void arrangeParticipantsHorizontally(java.lang.Object[] pars, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected void arrangeParticipantsVertically(java.lang.Object[] pars, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected void arrangeParticipantHorizontally(java.lang.Object par, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected void arrangeParticipantVertically(java.lang.Object par, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected void resizeAllParticipantsHorizontally(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected void resizeAllParticipantsVertically(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected int optimalRootParticipantHeight(java.util.List participants, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected int optimalRootParticipantWidth(java.util.List participants, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected int optimalParticipantWidth(GraphParticipantInterface par, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected int optimalParticipantHeight(GraphParticipantInterface par, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected void resize(java.lang.Object[] cells, java.util.Map propertyMap, int dw, int dh)
protected void translateHorizontally(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap, int xPos, int dv)
protected void translateVertically(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap, int yPos, int dv)
translateParticipants(org.enhydra.jawe.components.graph.GraphParticipantInterface[], java.util.Map, org.jgraph.graph.ParentMap, int, int)
protected void translateParticipants(GraphParticipantInterface[] cells, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap, int dx, int dy)
translateParticipant(org.enhydra.jawe.components.graph.GraphParticipantInterface, java.util.Map, org.jgraph.graph.ParentMap, int, int)
protected void translateParticipant(GraphParticipantInterface par, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap, int dx, int dy)
protected java.awt.Rectangle getBoundsOfParticipantFutureActivities(GraphParticipantInterface par, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected java.util.Set getParticipantFutureActivities(GraphParticipantInterface par, org.jgraph.graph.ParentMap parentMap)
protected GraphParticipantInterface getLeafParticipantForXPos(int xPos, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected GraphParticipantInterface getLeafParticipantForYPos(int yPos, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected GraphParticipantInterface[] getParticipantsForXPos(int xPos, int direction, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected GraphParticipantInterface[] getParticipantsForYPos(int yPos, int direction, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected int getNewRootParXPos(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected int getNewRootParYPos(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected int getRootParticipantHeight(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected int getRootParticipantWidth(java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
protected boolean hasAnyParticipant(GraphParticipantInterface par, org.jgraph.graph.ParentMap parentMap)
This method has meaning in previous versions of JaWE, now it always returns false.
protected boolean hasAnyActivity(GraphParticipantInterface par, org.jgraph.graph.ParentMap parentMap)
public static boolean hasConnectedStartBubble(GraphActivityInterface act)
public static boolean hasConnectedEndBubble(GraphActivityInterface act)
protected java.util.Set getStarts()
protected java.util.Set getEnds()
public org.jgraph.graph.CellView getView(java.lang.Object cell)
protected int getParticipantWidth(java.lang.Object par, java.util.Map propertyMap)
protected int getParticipantHeight(java.lang.Object par, java.util.Map propertyMap)
protected void changeBounds(java.lang.Object cell, java.util.Map propertyMap, java.awt.Rectangle r)
public java.awt.Rectangle getBounds(java.lang.Object cell, java.util.Map propertyMap)
public java.awt.Rectangle getUnionBounds(java.awt.Rectangle[] rects)
public java.awt.Point getCenter(java.lang.Object go)
public GraphActivityInterface getGraphActivity(java.lang.String id)
public GraphActivityInterface getGraphActivity(org.enhydra.shark.xpdl.elements.Activity act)
public GraphBubbleActivityInterface getBubble(org.enhydra.shark.xpdl.elements.ExtendedAttribute ea)
public GraphTransitionInterface getGraphTransition(java.lang.String id)
public GraphTransitionInterface getGraphTransition(org.enhydra.shark.xpdl.elements.Transition tra)
public GraphParticipantInterface getGraphParticipant(java.lang.String id)
public GraphParticipantInterface getGraphParticipant(org.enhydra.shark.xpdl.elements.Participant par)
public boolean isFreeTextExpressionParticipantShown()
public java.lang.Object findNearestCell(java.lang.Object selectedCell, int direction)
selectedCell
- first currently selected celldirection
- 0-Up, 1-Down, 2-Left, 3-Right (if given some other no, the Up is
assumed)
public boolean moveParticipants(java.util.List partsToMove, boolean direction, java.util.Map propertyMap, org.jgraph.graph.ParentMap parentMap)
public java.awt.Dimension getGraphsPreferredSize()
protected java.util.List getPoints(GraphTransitionInterface cell, java.util.Map propertyMap)
protected boolean isGraphRotated()
public void moveCellsAndArrangeParticipants(java.util.Map propertyMap)
protected java.util.List updateXPDLActivitiesPosition(java.util.Map propertyMap)
public void removeCells(java.lang.Object[] cellsToDelete)
public void moveParticipants(java.lang.Object[] cellsToMove, boolean direction)
public void removeStartEndBubbles()
public java.util.List insertMissingStartEndBubbles()
protected static boolean containsBubble(java.util.Set gacts, boolean start)
protected static java.awt.Point getBubbleOffsetPoint(java.awt.Point actOffs, boolean start, java.awt.Dimension defActDim, boolean isGraphRotated)
|
TWE 2.5-1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |