Package de.mid.innovator.srv2api.icw2bp
Class BPProcessHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2bp.BPProcessHelper
-
public abstract class BPProcessHelper extends java.lang.Object
This is a utility class for BPProcess that provides static methods for creation or other purposes.- See Also:
BPProcess
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BPProcess
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Process with template and container.static BPProcess
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Process with stereotype and container.static ARG_BPProcessCreated
createForFlowElementCreate(SrvContext srvCtx, BPSequenceFlowNode ohFlowNode, ADClientAble ohSel, java.awt.Point position)
Creates a process as container of a sequence flow node, e.g. a task or an event which is to be created but needs a flow element container to exist.static ARG_BPProcessCreated
createForFlowElementCreateByVOcl(SrvContext srvCtx, java.lang.Class<? extends ELObject> kVOclFlowElement, ADClientAble ohSel, java.awt.Point position)
Creates a process as container of a sequence flow node, e.g. a task or an event or a gateway which is to be created but needs a flow element container to exist.static ARG_BPProcessCreated
createForLaneCreate(SrvContext srvCtx, BPLane ohLane, ADClientAble ohSel, java.awt.Point position)
-
-
-
Method Detail
-
createForFlowElementCreateByVOcl
public static ARG_BPProcessCreated createForFlowElementCreateByVOcl(SrvContext srvCtx, java.lang.Class<? extends ELObject> kVOclFlowElement, ADClientAble ohSel, java.awt.Point position) throws InoNetException, SrvErrorException
Creates a process as container of a sequence flow node, e.g. a task or an event or a gateway which is to be created but needs a flow element container to exist. The type of the sequence flow node to be created is given by its VOCL, not by a create template.- Parameters:
srvCtx
- The context of the related innovator server.kVOclFlowElement
- The VOCL of the sequence flow node to be instantiated. We don't have a template for it.ohSel
- view node or overview diagram node or diagram selected.position
- position where the presentation element shall be placed- Throws:
InoNetException
SrvErrorException
-
createForFlowElementCreate
public static ARG_BPProcessCreated createForFlowElementCreate(SrvContext srvCtx, BPSequenceFlowNode ohFlowNode, ADClientAble ohSel, java.awt.Point position) throws InoNetException, SrvErrorException
Creates a process as container of a sequence flow node, e.g. a task or an event which is to be created but needs a flow element container to exist.- Parameters:
srvCtx
- The context of the related innovator server.ohFlowNode
- The sequence flow node to be instantiated, usually owned by a templateohSel
- view node or overview diagram node or diagram selected.position
- position where the presentation element shall be placed- Throws:
InoNetException
SrvErrorException
-
createForLaneCreate
public static ARG_BPProcessCreated createForLaneCreate(SrvContext srvCtx, BPLane ohLane, ADClientAble ohSel, java.awt.Point position) throws InoNetException, SrvErrorException
- Parameters:
srvCtx
- The context of the related innovator server.ohLane
- The sequence flow node to be instantiated, usually owned by a templateohSel
- view node or overview diagram node or diagram selected.position
- position where the presentation element shall be placed- Throws:
InoNetException
SrvErrorException
-
create
public static BPProcess create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Process 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 BPProcess create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Process 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
-
-