Hello,

        This appears to be a defect issue, where a diagram's Items' views do
not get updated/refreshed upon reloading of the model/cat file. However, the
relationship itself does get updated and stays consistent. As a test (or
rather 'work-around) try this: Bring up the B package's main diagram where
you would currently see FooImpl inheriting from Foo; do a shallow delete of
Foo using the keyboard 'Delete' key; drag and drop the FooRenamed class;
Viola! Now you will see that FooImpl inherits from FooRenamed.


Thank you,

Shaquille Asghari
Technical Support Engineer
Rational WW Support Center
Rational
the software development company

==========Original Messege==========

 

-----Original Message-----
From: A.V. Subramaniam [mailto:[EMAIL PROTECTED]] 
Sent: Friday, January 11, 2002 2:39 PM
To: Rose Forum (E-mail)
Subject: (ROSE) Name-based reference resolution



I have a scenario that causes a problem with respect to renaming classes
across MDL files. I have 2 models, A.mdl and B.mdl as follows:
- A.mdl contains A.cat and is used to manipulate A.cat
- B.mdl contains both A.cat and B.cat, but is used to manipulate B.cat

A.cat contains a class called Foo.
B.cat contains a class called FooImpl, which inherits from Foo.

Perform the following operations:
- Open A.mdl. Rename the class Foo to FooRenamed. Create a new class called
Foo.
- Open B.mdl. The inheritance hierarchy shows that FooImpl derives from the
(new) class Foo,
  instead of FooRenamed.

It seems that the reference from FooImpl to its parent is resolved by name,
rather than UID, thus causing the above problem. This is borne out by
viewing the B.cat file. Is there a mechanism to force reference resolution
strictly by UID, so that I can get consistency across name changes?

-A.V.
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************

Reply via email to