Package de.mid.innovator.srv2api.icw2ac
Class ACActivityHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2ac.ACActivityHelper
-
public abstract class ACActivityHelper extends java.lang.Object
An activity specifies the coordination of executions of subordinate behaviors using a control and data flow model. The subordinate behaviors coordinated by these models may be initiated because other behaviors in the model finish executing, objects and data become available or because events occur externally to the flow. The flow of execution is modeled as activity nodes connected by activity edges. A node can be the execution of a subordinate behavior, such as an arithmetic computation, a call to an operation or manipulation of object contents. Activity nodes also include flow-of-control constructs, such as synchronization, decision and concurrency control. Activities may form invocation hierarchies invoking other activities, ultimately resolving to individual actions.- See Also:
ACActivity
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ACActivity
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Activity with template and container.static ACActivity
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Activity with stereotype and container.static void
layout(SrvContext srvCtx, java.util.List<? extends ACActivity> sel, java.lang.String format, K_ORIENTATION orientation, int marginLeft, int marginRight, int marginTop, int marginBottom, int horPage, int verPage)
Modifies the layout information of theACActivity
.
-
-
-
Method Detail
-
layout
public static void layout(SrvContext srvCtx, java.util.List<? extends ACActivity> sel, java.lang.String format, K_ORIENTATION orientation, int marginLeft, int marginRight, int marginTop, int marginBottom, int horPage, int verPage) throws InoNetException, SrvErrorException
Modifies the layout information of theACActivity
.- 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 ACActivity create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Activity 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 ACActivity create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Activity 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
-
-