Idea 8995 - UML class diagram

Thank you very much for hard work on Idea 8.

I'm happy to see that you include class diagrams in projects. They are very useful for viewing class structure.

I tried our several scenarios:

*) class diagram can be created only from single file or package. I would like to select several files and create the diagram instead of creating diagram from one file and then drag&drop other classes

*) When I have On "Autoscroll to Source" in Project View I can't drag&drop classes directly to class diagram because open window with source code. Maybe it will be better to select class in Project view and show source only when mouse is not in "Drag&Drop" mode.

*) Adjust visibility (private, protected, package protected, public) of displayed methods/fields. Just minimal level that is visible (eg protected and above)

*) method/field signatures are sometimes incorrectly rendered. (not whole text even when there is space) It depend on zoom factor. When I zoom in signature is better rendered. Maybe it is problem with text bounds. Same problems with rendering to image...

*) group method/field names according to visibility separated by horizontal line. / sort by names / group by property names (getter/setters together)

*) Structure preview on class diagram should have SimpleName of class in blue rectangles or tooltip or other way to indicate class name.

I want to give you some hints before final release of Idea 8. Maybe some of problems/improvements you have already in your JIRA database. I'm sorry but I don't have time for better bug reports/investigating JIRA. We are finalizing our project.

Martin

1 comment
Comment actions Permalink

Hello Martin,

Thanks a lot for your use cases and useful feedback. "Adjust visibility" is awesome.


*) class diagram can be created only from single file or package. I would like to select several files and create the diagram instead of creating diagram from one file and then drag&drop other classes


That's good use case


*) When I have On "Autoscroll to Source" in Project View I can't drag&drop classes directly to class diagram because open window with source code. Maybe it will be better to select class in Project view and show source only when mouse is not in "Drag&Drop" mode.


What about "Add to diagram..." action?


*) Adjust visibility (private, protected, package protected, public) of displayed methods/fields. Just minimal level that is visible (eg protected and above)

awesome


*) method/field signatures are sometimes incorrectly rendered. (not whole text even when there is space) It depend on zoom factor. When I zoom in signature is better rendered. Maybe it is problem with text bounds. Same problems with rendering to image...

This is known bug of graph component.. We're working on this


*) group method/field names according to visibility separated by horizontal line. / sort by names / group by property names (getter/setters together)


http://www.jetbrains.net/jira/browse/IDEADEV-32330


*) Structure preview on class diagram should have SimpleName of class in blue rectangles or tooltip or other way to indicate class name.


It's not reasonable. Structure preview is used for quick navigation on graph. Try to open something like java.lang and then press A. You will see that structure view is very useful for navigation.

0

Please sign in to leave a comment.