Package de.mid.innovator.srv2api.icw2sm
Class SMRegionHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2sm.SMRegionHelper
-
public abstract class SMRegionHelper extends java.lang.Object
A region is an orthogonal part of either a composite state or a state machine. It contains states and transitions.- See Also:
SMRegion
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SMRegion
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Region with template and container.static SMRegion
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Region with stereotype and container.static SMRegion
insertAtSelection(SrvContext srvCtx, MMCreateTemplate ohTemplateRegion, SMRegion ohRegion, K_INSERT kInsertAt)
Inserts a newSMRegion
using a region template.
-
-
-
Method Detail
-
insertAtSelection
public static SMRegion insertAtSelection(SrvContext srvCtx, MMCreateTemplate ohTemplateRegion, SMRegion ohRegion, K_INSERT kInsertAt) throws InoNetException, SrvErrorException
Inserts a newSMRegion
using a region template. If theSMRegion
has to be inserted relative to one other region, this region, and the insertion position may be specified.- Parameters:
srvCtx
- The context of the related innovator server.ohTemplateRegion
- the template for the new regionohRegion
- selected regionkInsertAt
- specifies where to insert the new relative to the selected region- Throws:
InoNetException
SrvErrorException
-
create
public static SMRegion create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Region 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 SMRegion create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Region 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
-
-