Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 17-Jun-2003 23:44
User is offline View Users Profile Print this message


Judy Gilbert

Posts: 5
Joined: 29-Jan-2003

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?
Report this to a Moderator Report this to a Moderator
 18-Jun-2003 09:46
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 24-Jun-2003 17:24
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 11-Oct-2003 22:45
User is offline View Users Profile Print this message


Janet Ma

Posts: 115
Joined: 12-Sep-2002

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?
Report this to a Moderator Report this to a Moderator
 14-Oct-2003 16:31
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.