Provided Custom Menus Sample

When Workspace is installed, a custom menus sample program is installed that contains sample files for adding custom menus and toolbar buttons.

It is located as follows:

StudioHome\wcc\version\samples\CustomMenus

where:

  • StudioHome is the directory in which TIBCO Business Studio was installed.
  • version is the version number of Workspace that was installed with TIBCO Business Studio.

The custom menu samples provide prototypes and images that cause two custom menus and two custom toolbar buttons to be displayed on whatever parent you specify in the <record jsxid="customMenus"> element of the application’s config.xml file.

You can replace the prototypes and images in the sample with your own to display the desired menus and/or toolbar buttons. (See the TIBCO General Interface Builder documentation for details on creating custom menu or toolbar prototype files.) You can then add your custom code to the appropriate event handler in AppMain.js.