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: Cascading Allocation
Topic Summary:
Created On: 26-Sep-2007 23:36
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.
 26-Sep-2007 23:36
User is offline View Users Profile Print this message


Abbas Rostami

Posts: 7
Joined: 17-Aug-2007

Hello All,

I like to have a multi-level allocation in DOORS; can it be done without DXL or I need a script?
Here is a simple example of what I would like to accomplish.fficeffice" />>>


Assume that I a have a system consist of subsys-1 and subsys-2>>

Subsys-1 has 3 components (comp-1-1, comp-1-2, comp-1-3)>>

Subsys-2 has 2 components (comp-2-1, comp-2-2)>>

 >>

I have two attributes defined (subsys and comps) with above values in DOORS. The "comps" can is a multi-value attribute.>>

 >>

 >>

When I allocate a requirement (object) to subsys-1 then I would the display list for "comps" attribute be only (comp-1-1, comp-1-2, comp-1-3) and not all 5 components listed above.>>

 >>

This can be few levels deep and more complex; above is just an example. >>

 >>

Please let me know if you need any clarifications. Appreciate any feedback.>>

 >>

Regards,>>

 >>

AR>>

Report this to a Moderator Report this to a Moderator
 27-Sep-2007 09:43
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

If I understand correctly then I have implemented a simple dialog for doing this, although it would need to be modified to handle multi-valued attributes.

Suppose you have two enumerated attributes, one called "Category" and the other called "Sub Category". You want the enumerations available for "Sub Category" to be dependant on the value of "Category". This cannot be done in doors using enumerated attributes.

However, with some simple DXL, you can create the illusion of this functionality. Instead of using enumerations, use ordinary string attributes and use a dialog to edit the values.

This utility implements a dialog box that allows the user to select values for "Category" and "Sub Category". Whenever the "Category" value is changed, the available values for "Sub Category" are automatically updated.

The "pseudo enumerations" are implemented as string arrays. Each row contains a "Category" value in the first position and available "Sub Category" values in subsequent positions.

Two scripts are provided. The first, editCategory.dxl, implements the dialog and contains the definitions of the category and sub category values. The second, categoryMenu.dxl, allows you to add the script to the popup menu of a formal module.

The source code for this can be found here http://www.smartdxl.com/attributes.html

-------------------------
Tony Goodman
http://www.smartdxl.com

Edited: 27-Sep-2007 at 09:44 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 28-Sep-2007 18:42
User is offline View Users Profile Print this message


Abbas Rostami

Posts: 7
Joined: 17-Aug-2007

Thanks Tony, I did come accross this utility under DXL Forum and replied to you with the following questions/suggestions. - Multi-level attributes is desired - More than 2-level deep would be very useful - Reading values from an external file would add to easier editing and flexibility - data integrity and protection with text fields remain an issue Appriciate any feedback you may have. Regards, AR
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.