Software Pretty Printer JRefactory Printing Elixir Extensions Line Numbering Metrics Stub Generator Dev Utilities Requested Features Release Notes Download Contributors |  | ## Software::JRefactory - Class Diagrams |
The primary way to access the refactoring features is to access them via the user interface. The user interface takes a directory, and creates UML diagrams of the classes it finds. Each package is displayed in a separate window. Left clicking on a class selects it. Right clicking on a class brings up a popup dialog box. The menu item displayed shows the list of metrics or refactorings that can be found associated with a particular class, method, or field. #### NEW!!! View Source Thanks to Eric Hodges, the bottom menu item is "Show Source". For JBuilder and Elixir, when you select this menu item the appropriate source code file is opened. For JBuilder, the cursor is moved to the line with the declaration of the method. This is a really great feature for integrating the source code and the diagrams in your mind! #### Moving classes on the screen You can also move a class around the screen by pressing and holding the left mouse button down and dragging the class. To move multiple classes, click on the first class with the left mouse button. On each additional class hold the control key and click the left mouse button. When all the classes that you want to move as a group are selected (they turn either a yellow or green color), then you can drag the classes to their new location. #### Association and Inheritence lines You can add a sticky point to a line by clicking on a point in the line. You can then move the sticky point by dragging it. To get rid of a sticky point drag it into one of the classes that are at the end of the line. #### Zooming If you are having trouble arranging all the classes on the screen at one time, you can use the zoom feature to take a few steps back. The zoom scales are 50%, 25%, and 10%.
| Last Modified: February 22, 2001 |