Creating an Openspace Gadget

TIBCO have provided a sample gadget the you can use to model all your Openspace gadgets. You can modify and extend this gadget to produce your own gadget.

Warning:
  • This example and all the packaged JARs are only for internal use and should not be publicly distributed.
  • The sample gadget example is supplied "as is" with no warranties. The code is intended as a simple illustration of the concepts and techniques needed to develop a custom gadget application. It is not intended as a basis for production-ready code and should not be used as such.
  • Any references to any third party software in the code is not under TIBCO’s control and we can offer no warranties.
  • This sample gadget is only a demonstration of contributing a gadget to openspace. This gadget is developed invoking the BPM Web Client Services.

Procedure

  1. Right-click your project and select Openspace Gadget Development > Create Work View Openspace Gadget...
  2. From the Create Openspace Gadget dialog, do the following:
    1. In Gadget Name, type the name of your gadget.
    2. In Package Location, browse to the location of the package that you specified when you created your web application project.
  3. Click Finish. The sample gadget is created.
  4. To start developing the gadget, browse to projectname > src > packagename.client > gadgetnameGadget.java where:
    • projectname is the name of your project.
    • packagename is the name of the package you specified when you created your web application project.
    • gadgetnameGadget is the name of the gadget you specified above, with the spaces removed.
  5. Double-click gadgetname.java to open it. It should look similar to the one below: