Setting Menus in Rhapsody
The installation of IBM Rhapsody ReqXChanger Add-on automatically creates the Rhapsody menus.
This section is about a ReqXChanger installation independent of Rhapsody.
It is possible to start the ReqXChanger application via Console Arguments - and create a menu in Rhapsody to run ReqXChanger Import/Export.
Update Rhapsody Requirements
To create a menu that updates Requirements, in Rhapsody:
- Select Tools > Customize > Helpers
- Create a menu called ReqXChanger\Update Requirements with the following parameters:
- Command: %PATH_TO_REQXCHANGER%\ReqXChanger.exe
- Arguments: -noSplash -importer "com.sodius.reqxchanger.model.importer.reqIf1_0_1_importer" -exporter "com.sodius.reqxchanger.rhapsody.export.ReqRhapsodyExporter" -doImportExport -logger "com.sodius.wstxchanger.rhapsody.RhapsodyLogger" -rhapsodyAppID "$RHPCONNECTIONID"
- Initial directory: %PATH_TO_REQXCHANGER%
- Applicable To: Project,SysML
Note: The checkbox Show in pop-up menu must be selected.
The menu will be accessible by right-clicking on the project.
Roundtrip Architecture
To create a menu that roundtrips Architecture Elements, in Rhapsody:
- Select Tools > Customize > Helpers
- Create a menu called ReqXChanger\Roundtrip Architecture with the following parameters:
- Command: %PATH_TO_REQXCHANGER%\ReqXChanger.exe
- Arguments: -noSplash -importer "com.sodius.reqxchanger.model.importer.reqIf1_0_1_importer" -exporter "com.sodius.reqxchanger.rhapsody.export.ReqRhapsodyExporter" -doImportExport -roundtrip -logger "com.sodius.wstxchanger.rhapsody.RhapsodyLogger" -rhapsodyAppID "$RHPCONNECTIONID"
- Initial directory: %PATH_TO_REQXCHANGER%
- Applicable To: Project,SysML
Note: The checkbox Show in pop-up menu must be selected.
The menu will be accessible by right-clicking on the project.
Open Options Dialog
To create a menu that opens the ReqXChanger options dialog, in Rhapsody:
- Select Tools > Customize > Helpers
- Create a menu called ReqXChanger\Open Options Dialog with the following parameters:
- Command: %PATH_TO_REQXCHANGER%\ReqXChanger.exe
- Arguments: -noSplash -importer "com.sodius.reqxchanger.model.importer.reqIf1_0_1_importer" -exporter "com.sodius.reqxchanger.rhapsody.export.ReqRhapsodyExporter" -showInExOptions -rhapsodyAppID "$RHPCONNECTIONID"
- Initial directory: %PATH_TO_REQXCHANGER%
- Applicable To: Project,SysML
Note: The checkbox Show in pop-up menu must be selected.
The menu will be accessible by right-clicking on the project.
Open ReqXChanger application
To create a menu that opens the ReqXChanger application, in Rhapsody:
- Select Tools > Customize > Helpers
- Create a Menu called ReqXChanger\Open ReqXChanger with the following parameters:
- Command: %PATH_TO_REQXCHANGER%\ReqXChanger.exe
- Initial directory: %PATH_TO_REQXCHANGER%
- Applicable To: Project,SysML
Note: The checkbox Show in pop-up menu must be selected.
The menu will be accessible by right-clicking on the project.