?
Solved

Rational Rose and UML class diagram question

Posted on 2002-03-06
7
Medium Priority
?
1,676 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Progress
Suggested Courses

752 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