|
|
yaHood!
yet another
Hierarchical object oriented Design
|
|
|
 |
A quick (and poor) introduction to yaHood project
(current release is 0.59):
-
As you can see, the current version is a graph editor for class diagrams of Unified Modeling Language. The figure shows an example of Class Diagram, with classes and relations between classes, such as
IS_A-relation, HAS_A-relation and USES-relation.
-
The UML Class Editor is a 100% pure Java(tm) application, fully compliant to 1.1.x version of the language.
-
Future release will implement a mixed notation between Hood metodoloy and UML.
|
|
|
 |

-
A part of the class diagram of YaHood project is shown in the above picture. This figure has been edited with UMLClassEditor application, then it has been exported to XFIG 3.2 environment, where I have converted it to the GIF format. Let's have a
quick look at principal classes:
-
The core of the program is package ep.graph, where a framework to draw generic graph diagrams has been implemented. A generic graph editor uses the following classes:
-
GrapEditor, derived from java.awt.Applet. Its job is to hold the state of the user interface, namely the current editing mode and node and edge types.
-
IconCanvas,derived from java.awt.Canvas. It draws the icon for the node and edge types and for editing modes. IconCanvas handles the mose clicks to select the current types.
-
GraphCanvas, also derived from java.awt.Canvas. It holds the nodes and edges that user entered, and it handles the muse click and drags for the editing.
-
Node, an abstract class. The programmer using this framework must derive from Node his node classes and supply all required operations, such as plot the node and hit testing.
-
NodeSet, derived from Node. It holds node groups that user can create in the editor.
-
Edge, another abstract class. It is a simple abstrac arc that link two nodes. Also this class must be extended by the programmer.
-
PolyEdge, derived from Edge. It allows edge to be a polyline instead of a simple line.
-
UMLClassEditor extends GraphEditor and supplies the names of user's node and edge classes.
-
Classes in packages ep.awt.* are usefull extension of standard widgets in java.awt.*.
-
Nodes and Edges are implemented in the class set named Node_* and Arrow_*. Now this set includes UML class node (Node_CLASS) and three kind of UML reltaion among classes:
This is a beta quality class diagram. Future improvements are coming soon.
Sorry, no manual or other kind of help docs have been written yet. While the grass grows the horse starves!
|
|
|
 |
Download
| Type |
Size |
Description |
 |
305 kb |
All the project files |
download |
|
|
|
 |
|
|
|
|
 |
© 1999 - 2003 by Enrico Papalini
|
|