Solved

Rational Rose and UML class diagram question

Posted on 2002-03-06
7
1,668 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
ID: 6844939
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
ID: 6844941
oops i mean left hand pane
0
 
LVL 4

Expert Comment

by:prashant_n_mhatre
ID: 6845129
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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 1

Author Comment

by:yore
ID: 6845476
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
ID: 6879182
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
ID: 7508103

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
ID: 7547998
Question has been closed as per recommendation

JGould-EE Moderator
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum6 challenge 6 85
WMI, model #, retrieving information 10 137
Delphi: barcode reading on android platform 1 26
SQL Insert parts by customer 12 31
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
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 …

813 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

11 Experts available now in Live!

Get 1:1 Help Now