| com.opensymphony.workflow.designer.WorkflowGraphModel
WorkflowGraphModel | public class WorkflowGraphModel extends DefaultGraphModel (Code) | | |
Method Summary | |
public boolean | acceptsSource(Object edge, Object port) | public boolean | acceptsTarget(Object edge, Object port) | public void | connectCells(WorkflowCell from, ActionDescriptor action, WorkflowCell to, ResultDescriptor result) | public Collection | getActivitiesList() | public Object | getContext() | public JoinCell | getJoinCell(int id) | public PaletteDescriptor | getPalette() | public ResultEdge | getResultCell(ResultDescriptor desc) | public List | getResultsToJoin(JoinCell joinCell) | public List | getResultsToStep(StepCell stepCell) | public SplitCell | getSplitCell(int id) | public StepCell | getStepCell(int id) | public void | insertInitialActions(List initialActions, InitialActionCell initialActionCell, Map attributes, ParentMap pm, UndoableEdit[] edits) | public void | insertJoinCell(JoinCell joinCell, Map attributes, ParentMap pm, UndoableEdit[] edits) | public void | insertResultConnections() | public void | insertSplitCell(SplitCell splitCell, Map attributes, ParentMap pm, UndoableEdit[] edits) | public void | insertStepCell(StepCell stepCell, Map attributes, ParentMap pm, UndoableEdit[] edits) | public void | processJoinChangeEvent(JoinCell cell) | public ResultHolder | recordResult(WorkflowCell fromCell, ResultDescriptor result, ActionDescriptor action) | public void | recordResults(JoinCell fromCell) | public void | recordResults(SplitCell fromCell) | public void | recordResults(StepCell fromCell) When a Step is inserted, introspect it. | public boolean | removeEdge(ResultEdge edge) | public boolean | removeJoin(JoinCell cell) | public boolean | removeSplit(SplitCell cell) | public boolean | removeStep(StepCell cell) | public void | setPalette(PaletteDescriptor palette) |
WorkflowGraphModel | public WorkflowGraphModel(Layout layout)(Code) | | |
insertResultConnections | public void insertResultConnections()(Code) | | |
processJoinChangeEvent | public void processJoinChangeEvent(JoinCell cell)(Code) | | |
recordResults | public void recordResults(StepCell fromCell)(Code) | | When a Step is inserted, introspect it. find all the actions and add them to the GraphModel.
Introspect each action and record results.
|
|
|