Creating a Rational Rhapsody plug-in Љ an indication that the item is a plug-in (not a helper or plug-in command) Љ an indication of whether or not a menu item should be added to the Tools menu The best way to describe the required syntax for the .hep file is to look at an example. [Helpers] Category for the entries that follow Note The .hep file must contain a [Helpers] section because the helper recognition mechanism is the same one used when you include helper definitions in your rhapsody.ini file , which has other sections as well.
Since plug-ins are usually designed for use by groups of users, in most cases it does not make sense to include the plug-in definition information in the rhapsody.ini file, which is unique to each user. numberOfElements=2 Number of plug-ins/helpers described in the file name1=Diagram Formatter The name that will appear on the Tools menu (if isVisible is set to 1) JavaMainClass1=JavaPlugin.PluginMainClass The Java class containing the plug-in code JavaClassPath1=$OMROOT\..\Samples\JavaAPI Samples\Plug-in Path for locating the java classes required by the plug-in. Keep in mind that if .jar files are used, the classpath should include the names of the .jar files.
Indicates the item is a plug-in (as opposed to a helper, which is the default, or a "plug-in command") isPlugin1=1 isVisible1=1 Indicates that the name should be displayed in the Tools menu. The entries below describe a "plug-in command" name2=Format Diagram The text that will appear in the context menu isPluginCommand2=1 Indicates that this is a plug-in command (as opposed to a helper or plug-in) command2=Diagram Formatter Rational Rhapsody 511