![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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 ? |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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.
|
|
![]() |
|
![]() |
|
Hi Dan,
it seems that this is not possible ![]() 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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.