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
Close the RT project.
Run TIBCO Business Studio.
Select
Start > All Programs > TIBCO_HOME > TIBCO Business Studio N.N > TIBCO Business Studio.
Select
File > New > Project ....
In the New Project dialog under
Plug-in Development, select
Plug-in Project and click
Next.
Specify a name for the project that reflects the mediation task name and that identifies this as the UI plug-in — for example,
LookupTaskUI.
On the Plug-in Content page, locate the Plug-in Options group and select these options:
Generate an activator, a Java class that controls the life cycle of the plug-in
This plug-in will make contributions to the UI
On the Plug-in Content page, accept all defaults and click
Next.
On the Templates page, select
Mediation Task UI Wizard and click
Next.
In the Mediation Task Model Selection Section, choose the mediation task model plug-in and click
Next.
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.
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.
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.
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.
Click
Finish.
Result
The UI plug-in for the custom mediation task is created.
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.