Class BPDiaHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2bpdia.BPDiaHelper
-
public abstract class BPDiaHelper extends java.lang.Object
This is a utility class for BPDia that provides static methods for creation or other purposes.- See Also:
BPDia
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BPDia
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new BPMN Diagram with template and container.static BPDia
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new BPMN Diagram with stereotype and container.static BPDia
createDefinition(SrvContext srvCtx, BPPathContextAble elementToDefine, ADClientAble diaCurrent, K_ORIENTATION orientation, boolean dontAddDefinition, boolean dontMoveMaster)
Creates a new definition diagram for the process or collaboration.
-
-
-
Method Detail
-
createDefinition
public static BPDia createDefinition(SrvContext srvCtx, BPPathContextAble elementToDefine, ADClientAble diaCurrent, K_ORIENTATION orientation, boolean dontAddDefinition, boolean dontMoveMaster) throws InoNetException, SrvErrorException
Creates a new definition diagram for the process or collaboration. This is useful especially if you have just created the process or collaboration and now want to define it separately without blowing up the current diagram you are modeling in.- Parameters:
srvCtx
- The context of the related innovator server.elementToDefine
- A Process or CollaborationdiaCurrent
- E.g. the diagram where the call to that process resides in, the owner and stereotype are seen as preferences for creating the new oneorientation
- The preferred orientation of the definition if it is the first one and doesn't replace another onedontAddDefinition
- If the caller already has the proper definition view node in another diagram and just wants to move it, this should be set to true.dontMoveMaster
- If the caller wants the definition to remain where it is, he can set this flag- Throws:
InoNetException
SrvErrorException
-
create
public static BPDia create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new BPMN Diagram with stereotype and container.- Parameters:
srvCtx
- The context of the related innovator server.ohStereotype
- Stereotype for the new elementohContainer
- Container for the new element- Throws:
InoNetException
SrvErrorException
-
create
public static BPDia create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new BPMN Diagram with template and container.- Parameters:
srvCtx
- The context of the related innovator server.ohTemplate
- Template for the new elementohContainer
- Container for the new element- Throws:
InoNetException
SrvErrorException
-
-