![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Is there a way to add a menu to the existing "File" menu in a module? Topic Summary: without modifying formal.dxl Created On: 23-Dec-2008 18:35 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Is there a way to add a menu to the existing "File" menu in a module without modifying formal.dxl?
I tried: createMenu(alwaysOn, "File", 'F', null); createItem(alwaysOn, "my menu", 'C', null, modKeyCtrl, null, null ,null, null, "null") but this only resulted in a second "File" menu. How do I add menus to the existing "File" menu? Thanks, Dave |
|
![]() |
|
![]() |
|
I don't think you can, or at least not very easily.
You can add entire sets of menu options to the menu toolbar, using the -a and -J command line switches. This will add menu options on the main menu toolbar, just before "Help" menu. For example: File, Edit, View, Link, Analysis, Table, Tools, Ofstead, Cool DXL, Help -a will add menus to the main DOORS window. -J will add menus to all Module windows. When you launch DOORS (via a Windows shortcut or Windows batch file), you can just add these switches, point them to your directory of DXL files, and the new menus will be added. In the "Using DOORS" manual, see page 378 (Using the command line) for more description of these command line switches. In the "DXL Reference Manual", see page 597 (DOORS Window Control) for more description on setting up a directory of DXL files and using the .hlp and .idx files. This method is easiest when adding your own personal menu options. If you are an administrator, and want to add menu options for all users, you can still use this method, but you'll have to put the DXL files on an accessible server, and update everyone's shortcut and/or startup batch file. An alternative method, I believe, is to just add your DXL files in the DOORS installation tree at: DOORS/bin/dxl/addins/ |
|
![]() |
|
![]() |
|
I think it can be done by modifying "void createFileMenu()" function in baseWindowMenu.inc file.
Just add the item you want to add in the file menu, no need to create another file menu. Hope this works |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.