![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Working with Showing Changes to Object Text
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.