Interface ProcessDefinitionDiagramProvider<T>
-
- Type Parameters:
T
- Process Definition Diagram UI Element Type
- All Known Implementing Classes:
MxProcessInstanceDiagramProvider
public interface ProcessDefinitionDiagramProvider<T>
Provides a process definition diagram- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ActivityNode
addActivity(ActivityDefinition nextActivity, ActivityDefinition previousActivity, String pathName)
Adds an activity nodeActorNode
addActor(Actor actor)
Adds an actor.void
executeLayout(ActivityDefinition activityDefinition)
Deprecated.T
getUiElement()
Gets the process definition diagram.
-
-
-
Method Detail
-
getUiElement
T getUiElement()
Gets the process definition diagram.- Returns:
- the process definition diagram.
-
addActor
ActorNode addActor(Actor actor)
Adds an actor.- Parameters:
actor
- The actor to be added.- Returns:
- An actor node.
-
addActivity
ActivityNode addActivity(ActivityDefinition nextActivity, ActivityDefinition previousActivity, String pathName)
Adds an activity node- Parameters:
nextActivity
- The activity to be added.previousActivity
- The previous activity.pathName
- The connection label- Returns:
- An activity node.
-
executeLayout
@Deprecated void executeLayout(ActivityDefinition activityDefinition)
Deprecated.TODO: Removes once the coordinates are loaded from the xml- Parameters:
activityDefinition
- activity definition to execute layout
-
-