To create a processor using Transaction Editor, do the following:
- Open the transaction file using Transaction Editor. Click the Processor tab.
The Processor Editor is opened. In the palette, there are five kinds of processors:
state, htmlState, operationState, syncProcState and xuiState, and two kinds
of transition.
- Click the state icon in the palette, and then click
where you want to put it in the Processor Editor area. Enter the name for
the state. Then a state is created. Click the state you created, you can modify
its properties in the Properties view.
- General tab:
- In the Id field, you can modify the name of the
state.
- In the Type field, you select the type of this
state. The types includes initial, final, operation, and subflow.
- In the TypeIdInfo field, enter the TypeIdInfo.
- In the Event field, click
to add an event.
- EntryActions tab:
Click
to add an entry action. You can choose a global
or a local Action. For global action, you must predefine it. For local action,
if you do not have any local actions predefined, you can click Create
new class to create a new one. Click the action in the Actions box,
you can edit the action attributes.
- ExitActions tab:
Click
to add an exit action. You can choose a global
or a local Action. For global action, you must predefine it. For local action,
if you do not have any local actions predefined, you can click Create
new class to create a new one. Click the action in the Actions box,
you can edit the action attributes.
- Appearance tab:
Edit Fonts and colors in this
tab.
If the Properties view does not appear, you can right
click the state and select Show Properties View.
By
right-clicking the state, you can also perform the following functions:
- Change the state type. See the following screen capture:
- Save the state as the image file. Right click the state and select
- Open UI File in Editor. This function applies to htmlState and xuiState.
You need to define the Type and TypeIdInfo in the Properties view
first to enable this function. Select Page in the Type field.
- Create another state, and click transition icon
in the palette. Then draw a line between the two states. A transition is created.
Double click the transition name to select an event for the transition from
the pop-up dialog. See the following screen capture:
In
the Properties view, you can edit its properties:
- General tab:
- In the IgnoreEnteryActionsfield, select true or false.
- In the PropagateEvent filed, select true or false.
- TransitionActions tab.
Click
to select an Action. You can choose a global or
a local Action. For global action, you must predefine it. For local action,
if you do not have any local actions predefined, you can click Create
new class to create a new one. Click the action in the Actions box,
you can edit the action attributes.
- Click the blank space in the Processor Editor, and you can modify the
properties of the processor in the Properties view:
- General tab:
- In the Id field, enter the name of the Processor.
- In the ClearEventsQueueOnSwitchfield, select true or false.
- In the Context filed, select a context by clicking
.
- In the refFlow field, enter the name of the reference
flow.
- Appearance tab:
Edit Fonts and colors in this
tab.
- Rulers & Grid tab:
Edit display, measurement,
and grid lines in this tab.
- With tools in the toolbar, you can adjust the layout of the Processor
Editor view, such as the state shape and the alignment. To see how to use
the tools in the toolbar, refer to Processor Editor.
Note: The shortcut key for deleting a state or a transition is Ctrl +
D.