The diagram editor
The Jupe perspective
The Jupe-Plugin offers a specific Jupe perspective to the user. It provides you more detailed information about all objects in your UML class diagram. On the left-hand side, underneath the package explorer you find a new window called properties. By clicking on an object in the UML class diagram or in the package explorer, all the information about that object appear in the window properties (for example name, visibility or position).
The package explorer is the one you know from Eclipse. It contains all objects and diagrams from your project and is ranged in alphabetical order.
You can choose the Jupe perspective by clicking on the following button on the top and the right-hand side:
Then a menu will appear in which you can select the perspective Jupe UML. Click on OK to confirm your selection.
Creating a new class diagram
To create a new Jupe UML class diagram you have to click on File --> New --> Other --> Jupe UML diagram -->new Jupe UML Class diagram. In the following wizard you will be asked to choose a name for your new UML class diagram and by clicking on OK you confirm it. Thus a new class diagram is being created which appears immediately in the package explorer on the left-hand side.
Now you will surely want to create packages, classes and other objects. For that purpose you have a flyout palette on your right-hand side. It contains all kind of nodes which you can create in a class diagram as well as the connections which can exist between the different nodes.
To create a class click on the symbol class on the palette and then place your cursor again on the UML class diagram. You can now draw the class by pressing the left button on the mouse. Once you release the button, the class is drawn.
Modifications
What modifications of the class diagram are possible?
You can insert the name of a class or a connection in your diagram. For this you can use the properties menu in your Jupe perspective. There you can click on the line which contains the current name of the class and change it easily. Another possibility is to click simply on the class with the right-hand button of your mouse, choose the option Rename and fill in the new name which you want to give to that class.
You can also change the size of the objects in your class diagram. Again it's the same as before, you either click on the little buttons at the border of the object and drag it in a direction until it reaches the size you wish. The other possibility is to use the properties menu and type in the lines called "Height" and "Width" the values you wish your objects to have.
In order to change the position of an object, for example to move it more towards the right-hand side, you can either use the mouse and move the object via drag-and-drop. Or you type in other values for the parameters "X position" and "Y position" in your properties menu.
Another important feature is the setting of name and multiplicities for a connection. You can do this by clicking on the connection you want to modify. Then all its parameters will appear in the properties menu and you can easily fill in the captions and the multiplicities you want to.
I
In order to make your work easier there is a zoom function which allows you to see objects from a closer perspective. To enable this function you have to click on the drop-down menu in the top toolbar.
There you can place your cursor and choose a size for you view. After that you can also change it by using the mouse-wheel or the up- and down-flashes on your keyboard.
If you want to save your diagram you simply have to click on File and Save as. Then the following window will appear:
Here you have to decide in what folder you want to save your new diagram and chose a name for it.
If you have committed an error while creating your class diagram you can undo or redo it easily using the following buttons on top of your Jupe window:
If you want to arrange your diagram in a special order you can use one of the following buttons:
With these buttons you can align your objects right, left or center in the diagram or button, top and middle.