The short answer is "by hand"
I went through this with Rational back months ago.
When a graphic is generated, If a refernced object cannot be found, the (M)
is inserted in the graphic. There is no way through scripting to access
this and thus no way to search for it other than manuall. The Id's that
rose uses to make this determination is not accessable.
"Hines, Gary"
<Gary.Hines@Honeyw To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
ell.com> cc:
Sent by: Subject: (ROSE) How to Detect
Unresolved View Adornments in Class Diagrams
owner-rose_forum@r
ational.com
10/07/02 02:38 PM
Please respond to
"Hines, Gary"
Rose displays no warnings about missing files, subunits, etc., when
loading our model. Yet there are still some class diagrams that display
classes with the unresolved view adornment (that small octagon containing
the letter "M" with a slash through it). I don't want to have to manually
browse the entire model to hunt for these problems.
Looks like the IsLoaded() method I've used in my Rose scripts, only applies
to
ControllableUnits (like a model, category, or subsystem) but you can't
check
to see if a individual class "is loaded" since it's not a controllable
unit.
Can anyone tell me how to detect these unresolved references via a Rose
script or some other automated check?
I'm sure some out there knows how to do this.
Thanks in advance for your help.
Gary Hines
[EMAIL PROTECTED]
************************************************************************
* 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
*************************************************************************