This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79814 - [60cat] "Collapse Operations" in UML-Diagram
Summary: [60cat] "Collapse Operations" in UML-Diagram
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-06 11:10 UTC by ulfzibis
Modified: 2007-10-26 17:28 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2006-07-06 11:10:09 UTC
Installation: Netbeans 5.5 Q-build 3 + Enterprise EA-Pack under JDK 1.5.0_07

I have a Project to debug sun.jdbc.odbc.*.

- In project's src folder I have the entire sun.jdbc.odbc package and some tests.

- I executed "Reverse Engineering ..." for this project.
- I executed "Generate Dependency Diagram" on Model sun.jdbc.odbc.JdbcOdbcResultSet.

Now I have a very big unusable diagram. I must resize (hiding all Operations
entries, but not attributes) each class diagram, and then move them by hand.
This takes me more than 1 hour.
When I edit something little in such a 'resized class', then the whole space for
this class opens again, so I have to resize the diagram anew.

So I suggest to have something like "Collapse Operations" in those diagrams.
Comment 1 Alexandr Scherbatiy 2006-07-06 11:16:22 UTC
see also issue 76561
Comment 2 ulfzibis 2006-07-06 13:02:42 UTC
package sun.jdbc.odbc is much bigger than example in issue 76561

For example: class JdbcOdbc.java has 260 ! methods.

So you can imagine, how the diagram looks like. :-(

Comment 3 Sergey Petrov 2006-07-06 13:35:32 UTC
Hi ulfzibis,
You can set UML|Diagrams|Automatically Size Elements option to 'Expand Unless
manually Resized (It's 'Expand or COntract as Needed' by default).
Is it useful for you?
Comment 4 ulfzibis 2006-08-31 10:50:47 UTC
Hi sergeyp,

thanx for your hint, but this doesn't help sufficient, because then I see
nothing. I like to have more levels of collapsing. Example: (hiding all operations
entries, but not attributes)

Also I like to have a resize-diagram-function, after I have collapsed the class
diagrams to the desired size, so I don't have to zoom (In this case I had to
zoom to 5% to be able to read textual information in the class diagrams) too
much, and don't have to compact it by hand in such an un-handy view.

Comment 5 Sergey Petrov 2006-08-31 11:57:10 UTC
Can you provide screenshot?
you can hide operations with Compartment|Customize menu, unfortunatly you have
to do it with all classes one by one.
As for resize diagram you may try to customize layout properties and font
properties and play with layouts, but it's good to do with separate copy of you
project(if ypu project looks nice to you) because we have no undo now.
Please file enhancement if you think it's useful feature also.
Comment 6 ulfzibis 2006-08-31 13:12:50 UTC
> Can you provide screenshot?
Difficult at the moment.

> you can hide operations with Compartment|Customize menu, unfortunatly you have
> to do it with all classes one by one.
Is this new in the beta, because I didn't find this in EA

> As for resize diagram you may try to customize layout properties and font
> properties and play with layouts, but it's good to do with separate copy of 
> you project(if ypu project looks nice to you) because we have no undo now.
I will try/play this next days...weeks.

> Please file enhancement if you think it's useful feature also.

Comment 7 Sergey Petrov 2006-08-31 13:27:49 UTC
Compartment|Customize should be in context for classes and interfaces in ea, I
can't check it now.