<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"> <TITLE>Software::JRefactory - Class Diagrams</TITLE> </HEAD> <BODY> <P> <TABLE BORDER="0"> <TR> <TD WIDTH="150" ALIGN="LEFT" VALIGN="TOP" ROWSPAN="3" BGCOLOR="#DDDDDD"> <IMG SRC="JRefactory.jpg" ALT="Author: Mike Atkinson"> <A HREF="chrissoft.html">Software</A> <BR> <UL> <LI> <A HREF="cspretty.html">Pretty Printer</A> <BR> <LI> JRefactory<BR> <LI> <A HREF="csprint.html">Printing</A> <BR> <LI> <A HREF="cselixirext.html">Elixir Extensions</A> <BR> <LI> <A HREF="cslineno.html">Line Numbering</A> <BR> <LI> <A HREF="csmetrics.html">Metrics</A> <BR> <LI> <A HREF="csstub.html">Stub Generator</A> <BR> <LI> <A HREF="csdevutil.html">Dev Utilities</A> <BR> <LI> <A HREF="csr-roadmap.html">Roadmap</A> <BR> <LI> <A HREF="csrtodo.html">Requested Features</A> <BR> </UL> <A HREF="csr-releasenotes.html">Release Notes</A> <BR> <A HREF="chrisdown.html"><B>Download</B></A> <BR> <B><A HREF="authors.html">Contributors</A></B> <BR> </TD> <TD WIDTH="35" ALIGN="LEFT" VALIGN="TOP"> <P><A HREF="csr-renameparam.html"><IMG SRC="left.gif" WIDTH="30" HEIGHT="30" ALIGN="BOTTOM" ALT="Previous Page" BORDER="2"></A> </TD> <TD ALIGN="CENTER"> <H2 ALIGN="CENTER">Software::JRefactory - Class Diagrams </TD> <TD WIDTH="35" ALIGN="RIGHT" VALIGN="TOP"> <P ALIGN="RIGHT"><A HREF="csr-undo.html"><IMG SRC="right.gif" WIDTH="30" HEIGHT="30" ALIGN="BOTTOM" ALT="Next Page" BORDER="2"></A> </TD> </TR> <TR> <TD COLSPAN="3"> <P>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.</P> <P>Left clicking on a class selects it.</P> <P>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.</P> <H4><B>NEW!!!</B> View Source</H4> <P>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.</P> <P>This is a really great feature for integrating the source code and the diagrams in your mind!</P> <H4>Moving classes on the screen</H4> <P>You can also move a class around the screen by pressing and holding the left mouse button down and dragging the class.</P> <P>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.</P> <H4>Association and Inheritence lines</H4> <P>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.</P> <H4>Zooming</H4> <P>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%.</P> </TD> </TR> <TR> <TD WIDTH="35"><A HREF="csr-renameparam.html"><IMG SRC="left.gif" WIDTH="30" HEIGHT="30" ALIGN="BOTTOM" ALT="Previous Page" BORDER="2"></A></TD> <TD ALIGN="CENTER"> <P ALIGN="CENTER"><FONT SIZE="2" COLOR="#AAAAAA">Last Modified: October 7, 2003</FONT> </TD> <TD WIDTH="35" ALIGN="RIGHT"> <P ALIGN="RIGHT"><A HREF="csr-undo.html"><IMG SRC="right.gif" WIDTH="30" HEIGHT="30" ALIGN="BOTTOM" ALT="Previous Page" BORDER="2"></A> </TD> </TR> </TABLE> </BODY> </HTML>