Registering extended client state into the palette

To make sure the extended state could be chosen from the palette and dragged into flow canvas, alpha developer also needs to register it into the Eclipse extension point of palette. For that, you can follow the steps below.

Procedure

  1. Open the plugin.xml in your plug-in project, and then move to the tab ‘Extensions’. Click ‘add’ button to find and add the extension point whose name is ‘com.ibm.btt.tools.transaction.dominate.palette’.
  2. Right click on the newly added extension and choose the option named ‘state’ from its context menu.
  3. Focus on the newly added option and edit the detailed properties like the following screenshot. Especially for the attribute ‘config’, alpha developer should browse the workspace to choose the definition file we defined already; And for the attribute ‘stateParser’, you can just choose ‘PageStateParser’ provided by BTT product for your extended Client State.
    Now, the extended state could be used in Transaction Editor. The screenshot below shows the result view. And you can find more detailed introduction about this part in Processor editor extension.