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: Is there any way to change the drag'n'drop menu ?
Topic Summary: I would like to change the menu of drag'n'drop
Created On: 20-May-2007 14:23
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.
 20-May-2007 14:23
User is offline View Users Profile Print this message


Dan Melamed

Posts: 5
Joined: 21-May-2006

to run my own function of linkCompleteFromItem instead of the one used by DOORS.
another possebility is to replace linkCompleteFromItem by my own function - is that a possebility ?

 
Report this to a Moderator Report this to a Moderator
 21-May-2007 11:19
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

Hmmm, I have changed the menu items on the right click menu, this might be the same, will check for you tomorrow. The only problem might be that this file is on the client PC, so you would need to replace the file on each installation.

-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
 21-May-2007 22:52
User is offline View Users Profile Print this message


Thomas Young

Posts: 20
Joined: 12-Apr-2005

I think Andrew is right -- the file is in the client: /lib/dxl/config/formal.dxl. To add items to the right-click popup menu, you would edit the formal.dxl's function createFormalPopupMenu(). If your group is using a common DOORS client (like a Citrix server enclave), then it depends on the willingness of the Citrix team to "go there," into the realm of revising the DOORS client app.
Report this to a Moderator Report this to a Moderator
 22-May-2007 06:42
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Dan,

it seems that this is not possible because this menu is defined somewhere hardcoded in doors.exe ...
When you search in it, you will find the texts used for displaying of menu, but there is no way to change it, sorry for that bad news

@Andrew & Thomas: The question was about <drag'n'drop menu> not about the context menu

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 22-May-2007 20:13
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Actually you can change the menu, I've done exactly what it looks like Dan is trying to do.  I replaced the complete link function with my own function.  It is in the formal.dxl file, though what I did to for distribution purposes is replaced the formal.dxl file on all the client machines with an include statement that points to a formal2.dxl file out on a network drive.  The formal2.dxl file was a copy of the original formal.dxl file, that I modified.... What I did was comment out the function call that DOORS put in the file for the menu item then replaced it with a creatItem function call to call place my replacement on the menu.  See the attached code. (Note the varaible "base_path" is a variable containing the base of the path to where all our scripts are stored.)

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 22-May-2007 at 20:15 by Scott Boisvert
Report this to a Moderator Report this to a Moderator
 22-May-2007 20:22
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Oooppsss...He said drag and drop, not the popup...sorry 'bout that.



-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 23-May-2007 10:16
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

We had a similar problem where we have our own custom link creation functions.
Because the drag and drop menu cannot be changed there was no way to prevent users from creating ordinary doors links. Our solution was to provide and "upgrade" utility that made these links the same as if they had been created using the custom menu options.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.