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: Module owner of an AttrDef
Topic Summary:
Created On: 11-Nov-2003 19:15
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.
Answer This question was answered by , on Wednesday, November 12, 2003 10:00 PM

Answer:
Beware of DXL Triggers - thar be dragons within

Assuming that the firing of an attribute trigger means that the containing module is open, then you might be able to do a do an outer loop on all open modules and an inner loop on all AttrDefs in each module trying to do an '==' on each AttrDef to attrdef(current Trigger). Not sure if that would work though...

Another option would be to create module-specific instances the attribute trigger for each module. Then you could use the 'Module module(Trigger)' or 'string stored(Trigger)' to determine the containing module.

Good luck.
 11-Nov-2003 19:15
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I've got an "AttrDef" type variable and want to figure out the name or handle of the module that actually owns that AttrDef. Is there some sort of "mod = module(ad)" command?

I'm aware that to get the AttrDef in the first place I need the module handle; except that in my case I'm getting the AttrDef via the "attrdef(Current Trigger)" command, and don't know how to figure out which MODULE owns the attribute (could be in the "current" module, but it also may be in the link module).

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.