Posts Tagged ‘UML’

Drag’n'Drop in Database Diagram

Monday, March 1st, 2010

Since IntelliJ IDEA 9.0.2 Database Diagram supports drag-and-drop for adding more tables to the view. The screenshot below shows the way to access the diagram if you somehow missed the What’s New in 9.0 page.

You can try this right now in the latest EAP.

UML-like Diff Tool

Friday, February 12th, 2010

If you’re a lucky owner of IntelliJ IDEA 9 Ultimate Edition, you’ll be surprised to find a new action in VCS History panel: view all changes made in commit in a single dialog. This feature makes it simpler to understand what a commit author made in his change.

To start using this feature, invoke Show History action for any file, then select revision you’d like to investigate, and then click UML icon (or press Control+Shift+D).

This opens the following diff dialog:

As you can see, 3 changes are made in layout.properties, Rounded interface and RoundedButton class. By default, green color marks what was added, blue is for changed, and gray, guess what — deleted. Well, what else can we see here? RoundedButton class doesn’t extend JComponent and does not implement ButtonModel interface anymore, but instead it extends AbstractButton class and implements MouseListener and KeyListener interfaces. Also, author has changed method paint and removed method isPressed. Interface Rounded was added from scratch and some properties were modified, added and removed in layout.properties file. Double click on a node shows standard diff dialog.

You will be able to enjoy this UML-like Diff Tool in next EAPs and also in the nearest IntelliJ IDEA 9 update.

ActionScript/Flex UML Class Diagrams in IntelliJ IDEA 9

Friday, December 11th, 2009

If you read our recent posts on ActionScript/Flex refactorings, you might have noticed that UML diagramming in freshly released IntelliJ IDEA 9 works not only for Java. That’s right, you can use it to analyze your ActionScript and Flex classes.

(more…)

Viewing Change Details on UML Class Diagram

Tuesday, April 28th, 2009

When you have changes in several files or classes and want to see what they affect, you typically use the Changes tab and then Show Diff action for every affected file or class. In Maia, you will be able to see the complete picture at once, via UML Class Diagram. It is improved to allow viewing and highlighting of changed and removed classes, methods, fields and so on when you press Ctrl+Alt+Shift+D.

Quick Class Hierarchy View Using UML

Tuesday, March 17th, 2009

IntelliJ IDEA 8.1.1 will support Show Class Hierarchy action that displays class hierarchy of a selected type. Just place the caret at any type in the code editor and press Ctrl+Alt+U.