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: Working with Showing Changes to Object Text
Topic Summary:
Created On: 14-Apr-2004 16:45
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.
 14-Apr-2004 16:45
User is offline View Users Profile Print this message


Mary Miller

Posts: 36
Joined: 12-Sep-2002

I have a script that I have been trying to get to work. What I am attempting to do is get DOORS to create a layout DXL column that shows changes to Object Text and Object Headings. I have modified the DOORS script (from the example scripts in DOORS 7.0): Example to create layout DXL column that shows changes to Object Text.

I can get the script to work if I want to show changes to the Object Text or to the Object Headings. However, I cannot get the script to show me the changes for both.

If no one has tried this before, I will post what I do have. The script is pretty long.

Mary
Report this to a Moderator Report this to a Moderator
 14-Apr-2004 21:03
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

It appears I don't understand. If you have two scripts that work then put them back-to-back. If you "displayRich" the results (if any) from the heading change test, that will NOT interfere with any "displayRich" you would get from the object text change test. There is an implicit printed CR at the end of each "display" or "displayRich" command. Outline may look like:

if (there is a change to heading)
{ HeadChange = changes to Heading
displayRich("** HeadingChange: " HeadChange)
}
if (there is a change to Text)
{ TextChange = changes to Text
displayRich("** TextChange: " TextChange)
}

The part that calculates changes looks like a good candidate for a function:
string GetAttrChanges(Object obj, string NameAttr).

- Louie
Report this to a Moderator Report this to a Moderator
 15-Apr-2004 13:06
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Mary, having had a look at histcol.dxl, I can see that there is a lot of work involved to extend it to include Object Heading.
I assume that you have made the following modifications to histcol.dxl:
1. added calls to create extra attributes called say "Old Heading" and "Delta Heading" to store the old Object Heading and the changes.
2. duplicated all code so that you check Object Text and Object Heading separately.
3. extended all displayRich calls to display both


-------------------------
Tony Goodman
http://www.smartdxl.com
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.