Solved

Rational Rose and UML class diagram question

Posted on 2002-03-06
7
1,663 Views
Last Modified: 2008-03-03
Hi,

I am trying to add classes to my UML diagrams in Rational Rose. On this project we have about 10K classes. I am trying to add existing classes to a diagram and want to show their relationships to each other.

I know that I can drag a class into the diagram and it will auto-populate all relationships. My problem with this is that with 10K classes it it unweildly to search for the original "definition" of a class.

I also know that I can do a "query->expand selected elements" to have rose pull in all existing relationships for a class. My problem with this is that it pulls in ALL of the relationships a class might have.

Basically - my diagram has classes A & B - is there any way that I can select these classes and have rose fill in the relationships between just those classes and not any others (like classes C, D, E & F which are not in my diagram)?

Thanks,
Yore
0
Comment
Question by:yore
7 Comments
 
LVL 1

Expert Comment

by:madface
Comment Utility
cant you do a shift select in the right hand pane and drag the classes you want in to  the diagram
0
 
LVL 1

Expert Comment

by:madface
Comment Utility
oops i mean left hand pane
0
 
LVL 4

Expert Comment

by:prashant_n_mhatre
Comment Utility
Select all required classes. From 'File' menu select 'Export Model' and save classes as PETAL (ptl) file.

The model where you need to insert these classes, from 'File' menu select 'Import'...
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 1

Author Comment

by:yore
Comment Utility
To madface:
I am already aware of the ability to drag from the left hand pane.

 The problem is searching for the classes to drag. I can't find a way to search for classes in a way that lets me drag the class over to the right and auto-populate.

Also, it would be nice to just select a class in my diagram and have it fill in all of the pre-existing relationships that aren't on the diagram yet.

Anyway, if you know of a convenient way to search that would be good. Does what I'm asking make sense?

To: prashant:
I am not sure what the export/import that you describe is supposed to do- but I already have the classes loaded. When I try to import existing classes I get an error about a unique ID already existing for that class.

Thanks,
Yore
0
 
LVL 4

Expert Comment

by:havman56
Comment Utility
yore
how did u arrived your class diagrms ? that is important here.

see as a rational model u first have to get sequence diagram then u should extract class diagram from it!

I feel u r doing reverse engineering ...

so i suggest u instead of going directly as class diagrams for 10000 classes try to have a architecture centric model.
branch out differnt classes from it ...

it is very easy to understand the relationship.

I worked on rational rose very long back but now in my system i dont have it one .otherwise i can solve ur problem very easily .




0
 
LVL 54

Expert Comment

by:nico5038
Comment Utility

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 

Accepted Solution

by:
Jgould earned 0 total points
Comment Utility
Question has been closed as per recommendation

JGould-EE Moderator
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows 10 SmartScreen vs ClickOnce app 5 129
wordsWithout 49 76
Using YubiKey with REST API application 2 76
endX challenge 2 47
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
A short article about a problem I had getting the GPS LocationListener working.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now