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: Displaying in-links from deleted objects
Topic Summary:
Created On: 12-Jun-2007 22: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.
Answer This question was answered by Ken McNair, on Wednesday, June 13, 2007 3:43 PM

Answer:
To clarify my question, how would I ONLY display links to deleted objects but NOT links to non-deleted objects? Something like: if (!isDeleted othero) continue

Update: I tried this and it works perfectly. Thanks, Ken.
 12-Jun-2007 22:36
User is offline View Users Profile Print this message


Ken McNair

Posts: 47
Joined: 12-Sep-2003

Is there an easy way to display in-links from deleted objects (hopefully displaying the linked module and object id), or is this going to require yet another DXL?

Thanks,
Ken.
Report this to a Moderator Report this to a Moderator
 13-Jun-2007 07:11
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Ken,

you could use a standard trace column but you need to remove the line:
if (isDeleted othero) continue
from the code.
--> then deleted target objects will be displayed too.

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 13-Jun-2007 14:49
User is offline View Users Profile Print this message


Ken McNair

Posts: 47
Joined: 12-Sep-2003

Answer Answer
To clarify my question, how would I ONLY display links to deleted objects but NOT links to non-deleted objects? Something like: if (!isDeleted othero) continue

Update: I tried this and it works perfectly. Thanks, Ken.

Edited: 13-Jun-2007 at 15:46 by Ken McNair
Report this to a Moderator Report this to a Moderator
 13-Jun-2007 17:19
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

The GUI doesn't let you do that. But you can use the wizard to create a layout column of linked partners, then edit that code to replace the 'if (isDeleted(othero)) continue' line to 'if(!isDeleted(othero)) continue', thus displaying linked deleted objects.

Note that you can delete an object with outgoing links. You cannot delete an object with incoming links, but if you delete the incoming links, delete the target object, save the targe module, but then close without saving the source module, then you can have a deleted object with incoming links. I hate it when that happens.

- 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.