Processor editor extension

IBM® WebSphere® Multichannel Bank Transformation Toolkit provides the Processor editor to enable developers to implement WebSphere Multichannel Bank Transformation Toolkit flows visually. The Processor editor is accessed in the Processor tab of the WebSphere Multichannel Bank Transformation Toolkit Transaction editor. Developers can create WebSphere Multichannel Bank Transformation Toolkit flows by dragging and dropping different states from the Palette view to the Processor editor and connecting different states of a flow with transitions. Figure 1 shows a flow in the Processor editor.
Figure 1. A flow that is displayed in the Processor editor.
The WebSphere Multichannel Bank Transformation Toolkit Processor editor supports the following two editing modes:
Compatibility mode
In the compatibility mode, developers can edit all the properties of a state or a transition in the Processor editor.
Default mode
In the default mode, the property view of a state is simplified. This enables a developer who does not have extensive knowledge of WebSphere Multichannel Bank Transformation Toolkit to create a flow in the Processor editor.

Technical developers can customize the default mode of the WebSphere Multichannel Bank Transformation Toolkit Processor editor according to their project requirements.

The WebSphere Multichannel Bank Transformation Toolkit Transaction editor stores the flow in a file with the .transaction extension, which contains a generic channel independent flow. To run this flow in a runtime environment, you must generate a WebSphere Multichannel Bank Transformation Toolkit .xml file of the transaction (right-click the transaction file in the Enterprise Explorer view, and then click Transaction Editor > Generate BTT Transaction XML). This is a channel dependent file that is generated according to the current active generator.

Each WebSphere Multichannel Bank Transformation Toolkit channel has its own generator, which is defined through the com.ibm.btt.tools.transaction.editor generator extension point. WebSphere Multichannel Bank Transformation Toolkit version 8.0 includes a generator corresponding to the HTML channel. If several generators are defined, developers can select the generator to activate (in IBM Rational® Application Developer, click Window > Preferences > Transaction Editor > Generator).

A generator can have one or more mapping files. A mapping file contains tag mappings (for example, from PageState to htmlState), property mappings (for example, from page to typeIdInfo) and logic to be injected during the mapping. If a generator has more than one mapping files, each mapping file must define a different set of tags, otherwise there is no guarantee about which definition will be taken into account.