![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: where the variable "Start Link" is saved Topic Summary: I want a short DXL associated to shortcut Ctrl-J, which will be equivalent to "Make Link from Start" Created On: 31-Jan-2007 21:18 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Thank you, this is exactly what I was looking for. | |
![]() |
|
Dear somebody,
Went I want to link two objects I press Ctrl-i on the source object to perform the task of "Start Link". I like to use shortcut, so on the other side, on the target object, I would like to be able to use an other shortcut, let us say Ctrl-j, to perform the final task "Make Link from Start". The strategy is to make a short DXL script that perform this task, add the script within the "user" menu and associate the keyboard shortcut Ctrl-j to the script. The problem arrives when writing the DXL: where the variable "Start Link" is saved. In other words, where the object unique identifier and its module identifier associated to the source object are saved when Start Link is applied to an object. It is certainly a Doors global variable. Is somebody knows how to call it and how to use it? Marc-Alain Simard, Requirement Engineer CAE Montréal, Canada 514-341-6780 ext 6261 |
|
![]() |
|
![]() |
|
Here are two 1 line programs. I map "Make Link from Start" to Ctrl-J and "Clear Start" to Ctrl-Y. This makes it SO much easier to do linking! Sounds like you already know how to do the rest!
The only thing I couldn't figure out is how to detect whether a link has been started. If not, make link from start throws an error. You could probably use noError... Shawn ------------------------- Shawn Stepper shawn.e.stepper@wellsfargo.com |
|
![]() |
|
![]() |
|
Thank you, this is exactly what I was looking for.
|
|
![]() |
|
![]() |
|
There is no way in DXL to find out the object that is selected as the start object.
This means that you may cause a DXL error when attempting to make a link rom start with no start object seleted. This also means that there is no easy way to control the grey-out behaviour of the menu option "Make link from Start". What you can do is surround the call to make the link with noError...lastError and then report to the user if no start object has been selected. string res = "" noError callStdItem_(linkCompleteFromItem) res = lastError if (!null res) { infoBox("No start object selected!") } ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
where the variable "Start Link" is saved
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.