![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Can we put "addins" in a link module? Topic Summary: Created On: 17-Jun-2003 23:44 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I found the linkset_selection.dxl script on the Telelogic DXL Utility site and really like the results. It allows you to view the total width of you linkset choices via a pop-up window. This comes in handy when your linkset paths are wider than the width of the drop down window.
Is there a way, similar to User Addins for Formal modules, to include this on the tool bar of Link modules? |
|
![]() |
|
![]() |
|
The simplest way is to CAREFULLY edit DOORSHOME/lib/dxl/config/link.dxl.
add a new function as follows: void createMyMenu() { createMenu(alwaysOn, "MyMenu", 'M', null) createMenu(null, null, null, doorsHome "/lib/dxl/linkmenu/MyMenu") end menu } Add a call to createMyMenu() just after the call to createLinkToolsMenu(). Create the directory "linkmenu/MyMenu" to contain your files (This directory can be anywhere, but not under "addins" or the menu will appear in formal modules as well). Restart DOORS. You can then add dxl functions to the MyMenu directory in exactly the same way as for the addins directory. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
I had a different solution:
[1] I have a "LinkMod" folder sibling to the "Module" folder that houses the "addins" for formal modules. Put your particular link module addins DXL scripts there. [2] Add a "linkmodaddins"="\\path\\DXL-Addins\\LinkMod;\\path\\DXL-Addins\\Project" command to your registry (DOORS v6) or DOORS.ini (v5) (suppressing the double "\\" slashes). You'll need to adjust the folder names to meet your particular situation. [3] Edit each Client's ..\lib\dxl\config\link.dxl file. At the bottom under the "autRunDXLFolder" command, insert the following: createAddinPathMenus "DOORSLINKMODADDINS" Notice the variable is in upper case, and precedes the registry entry with the word "DOORS". I don't know why that's important. - Louie |
|
![]() |
|
![]() |
|
Hi - I tried the menu modification as per Tony Goodman's suggestion. It works for DOORS 5.2, but for some reason cannot get the menu to show up for DOORS 6R1. Since DOORs 6.0 does not use doors.ini , there must be a registry key setting to tweak?
|
|
![]() |
|
![]() |
|
Open the registry (regedit.exe), search for "addins". You should find it in \HKEY_LOCAL_MACHINE\SOFTWARE\Telelogic\DOORS\6.0\Config. If the registry does NOT let you modify that location (you don't have load rights to your own machine), then try in location \HKEY_CURRENT_USER\... That will update it for you, but not for other users of your machine.
- Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Can we put "addins" in a link module?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.