Package de.mid.innovator.srv2api.icw2sm
Class SMRegionHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2sm.SMRegionHelper
-
public abstract class SMRegionHelper extends java.lang.ObjectA 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 SMRegioncreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)Create a new Region with template and container.static SMRegioncreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)Create a new Region with stereotype and container.static SMRegioninsertAtSelection(SrvContext srvCtx, MMCreateTemplate ohTemplateRegion, SMRegion ohRegion, K_INSERT kInsertAt)Inserts a newSMRegionusing a region template.
-
-
-
Method Detail
-
insertAtSelection
public static SMRegion insertAtSelection(SrvContext srvCtx, MMCreateTemplate ohTemplateRegion, SMRegion ohRegion, K_INSERT kInsertAt) throws InoNetException, SrvErrorException
Inserts a newSMRegionusing a region template. If theSMRegionhas 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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
-