This topic describes how to register a JavaScript file naming
rule.
Procedure
To register a JavaScript file naming
rule, do the following steps:
- Open the plugin.xml file of the WebSphere® Multichannel Bank Transformation
Toolkit extension
plug-in project, and then click the Extensions tab.
- In the All Extensions panel, click Add... to
open the New Extension window.
- In the Extension Point Filter field
of the New Extension window, enter com.ibm.btt,
and then select com.ibm.btt.tools.xui.editor2.generator.
Click Finish.
- In the All Extensions panel, right-click com.ibm.btt.tools.xui.editor2.generator,
and then click .
- In the Extension Element Details window,
enter detailed information.
- In the name field, enter the
name of the JavaScript file
naming rule.
- In the class field, enter the
implementation class of extended naming rule described in 8.1.1.
- In the priority field, specify
the priority of this extension. If the extension point
is registered by multiple plug-ins, the extension with the higher
priority extension is invoked by WebSphere Multichannel Bank Transformation
Toolkit. The WebSphere Multichannel Bank Transformation
Toolkit default
naming rule is registered as low priority; therefore, the customized
JavaScript file naming rule should be registered as medium or high
priority.