![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Manage Open Modules --- "References" Topic Summary: Created On: 27-Jul-2007 22:05 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Does anybody know exactly what the "References" column in the Manage Open Modules dialog box (on the Tools menu of the main shell) means? And, assuming it's what I think it is--namely, how many other modules/views use that module---does anybody know how that column is generated? I found the DXL for the dialog but it is of course encrypted.
We have some triggered routines that open certain versions of modules under some conditions, and also close the "current" which was originally opened. That is all great, but we've found if we close something via DXL, that was displayed from a column in another module, DOORS goes down in flames. So I'm thinking that the column in the "MOM" dialog is the information that we need (whether anything else is using the module), but not sure how to get that. Any insight at all would be appreciated. Chris Edit: Okay, I put the full question in here now. I think ![]() Edited: 27-Jul-2007 at 23:12 by Chris Jones |
|
![]() |
|
![]() |
|
Chris,
You need to be more specific in order to get help. I read your post three times and cannot figure out what you are asking. Manage open modules is just that--it shows which modules are currently open so you can switch between them easily. You mention a column. Which column? ------------------------- Kevin Murphy http://www.baselinesinc.com The Requirements Management Experts Edited: 27-Jul-2007 at 22:38 by Kevin Murphy |
|
![]() |
|
![]() |
|
Errrrr, right......sorry about that, I kind of forgot the most important detail
![]() I mean the "References" column in the Manage Open Modules dialog. The one at the right hand side, that has a number in it for each module that's open. I'm trying to figure out exactly what "References" are to a module, and how it (the dialog) figures out how many there are. I hope this makes more sense. Next time I will try to post with a bit more sleep behind me ![]() Chris |
|
![]() |
|
![]() |
|
I just noticed you put the column you're talking about in the TITLE of your post. It's always better to put you full question in the body of the post.
If you need to know whether a module is open, a simple open(ModName_ modRef) should do the trick. You could do a check on open before calling close and that might help. You could even do a for Module in Folder to check every single open module. Closing a module shouldn't bring DOORS down in flames. You've got something else going on. I did a quick test on the References column and it appears to show numbers other than 1 on just Link Modules. Have you seen anything different? ------------------------- Kevin Murphy http://www.baselinesinc.com The Requirements Management Experts |
|
![]() |
|
![]() |
|
In my limited testing, I'm thinking it goes through the link mappings of all the opened modules, and just counts how many modules use that link module.
------------------------- Kevin Murphy http://www.baselinesinc.com The Requirements Management Experts |
|
![]() |
|
![]() |
|
Hmm....that would make some sense. I don't think I've ever seen greater than 1 reference to formal modules either.
Hadn't thought of using open() to check....not sure if it will work for what I'm trying to do (but then, I'm not even sure what exactly it is I'm trying to do...). Also, on re-inspection, DOORS goes down in flames "if you close a module that was open (via DXL), and then you traverse a link to get to that doc..."---from the appendix to the trigger code, written by a different person. It's hard to explain. Anyway, thank you for your help and patience! I'll have to get a fresh start on things come next week... |
|
![]() |
|
![]() |
|
Beware of closing link modules using DXL.
Doors opens and closes link modules automatically, so you should not normally need to worry about them in your scripts. If, however you have a script that really does need to open and close link modules then you should be aware that you might get a nasty error if you attempt to close a module that is being referenced by a loaded linkset. These are the references that are displayed in the Manage Open Modules dialog. You can prevent errors by unloading the linkset before closing the module. The folowing from the DXL manual under "Linksets". void unload(Linkset ls) void unload(Module linkMod) ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Manage Open Modules --- "References"
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.