Creating the UI Plug-in

UI plug-in refers to the model and is used in the design environment.

Prerequisites

Before you begin, close your runtime plug-in project.

Procedure

  1. Close the RT project.
  2. Run TIBCO Business Studio.
  3. Select Start > All Programs > TIBCO_HOME > TIBCO Business Studio N.N > TIBCO Business Studio.
  4. Select File > New > Project ....
  5. In the New Project dialog under Plug-in Development, select Plug-in Project and click Next.
  6. Specify a name for the project that reflects the mediation task name and that identifies this as the UI plug-in — for example, LookupTaskUI.
  7. Accept all other defaults and click Next.
  8. On the Plug-in Content page, accept all defaults and click Next.
  9. On the Templates page, select Mediation Task UI Wizard and click Next.
  10. In the Mediation Task Model Selection Section, choose the mediation task model plug-in and click Next.
  11. On the mediation Task UI page, the prefix that was chosen for the Mediation Task Name for the Model appears. Accept the default or specify a new one.
  12. Specify the Java Package Name that will be used for the UI plug-in for the custom mediation task, or accept the default value. Click Next.
    By default, the Java package name is the same as the project name.
  13. Specify the location of the small icon for the custom mediation task. The location should be the complete path to the file on your local hard drive. Click Browse to locate and select the file.
  14. Specify the location of the large icon for the custom mediation task. The location should be the complete path to the file on your local hard drive. Click Browse to locate and select the file.
  15. Click Finish.

Result

The UI plug-in for the custom mediation task is created.

You can now install the custom mediation tasks. See Installing Custom Mediation Tasks.

Note: In case you see compilation errors switch the Target Platform to TIBCO ActiveMatrix SOA Studio. See Composite Development for information on switching the Target Platform.