Package de.mid.innovator.srv2api.icw2sm
Class SMStateMachineHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2sm.SMStateMachineHelper
-
public abstract class SMStateMachineHelper extends java.lang.Object
State machines can be used to express the behavior of part of a system. Behavior is modeled as a traversal of a graph of state nodes interconnected by one or more joined transition arcs that are triggered by the dispatching of series of (event) occurrences. During this traversal, the state machine executes a series of activities associated with various elements of the state machine.- See Also:
SMStateMachine
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SMStateMachine
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new State Machine with template and container.static SMStateMachine
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new State Machine with stereotype and container.static void
layout(SrvContext srvCtx, java.util.List<? extends SMStateMachine> sel, java.lang.String format, K_ORIENTATION orientation, int marginLeft, int marginRight, int marginTop, int marginBottom, int horPage, int verPage)
Sets the layout information of theSMStateMachine
.
-
-
-
Method Detail
-
layout
public static void layout(SrvContext srvCtx, java.util.List<? extends SMStateMachine> sel, java.lang.String format, K_ORIENTATION orientation, int marginLeft, int marginRight, int marginTop, int marginBottom, int horPage, int verPage) throws InoNetException, SrvErrorException
Sets the layout information of theSMStateMachine
.- Parameters:
srvCtx
- The context of the related innovator server.sel
- all objects that will be modified.format
- format of the presentation contextorientation
- orientation of the presentation contextmarginLeft
- margin on the left bordermarginRight
- margin on the right bordermarginTop
- margin on the top bordermarginBottom
- margin on the bottom borderhorPage
- number of horinzontal pagesverPage
- number of vertical pages- Throws:
InoNetException
SrvErrorException
-
create
public static SMStateMachine create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new State Machine 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 SMStateMachine create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new State Machine 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
-
-