AmaterasUML is an Eclipse plug-in for drawing UML class-diagram, and UML sequence-diagram.
Eclipse Public License 1.0
AmaterasUML
AmaterasUML works with Eclipse 3.1 (not support Eclipse 3.0), and AmaterasUML also requires GEF.
- Please download AmaterasUML.x.x.x.zip from here.
- Unzip that and put all jar files into ECLIPSE_HOME/plugins.
AmaterasUML Extension
AmaterasUML Extension is a component of XMI import/export. This extension requires EMF, and UML2
- Before install the extension, please install the EMF and UML2 (I tested on EMF2.2.0 and UML2 2.0.0)
- Please download AmaterasUMLExtension.x.x.x.zip from here.
- Unzip that and put all jar files into ECLIPSE_HOME/plugins.
- Please select "File"->"New"->"Other"->"AmaterasUML"->"Class diagram". Then class diagram file (*.cld) was created.
- Opened Class diagam editor, and you can edit diagram using pallete. Then fields/methods can add from a context menu.
- Some properties (ex class name) are edit directry in diagram. but some property(is abstract class or concrete class) are edit only property view.
- If you want import/export Java, choose "Java" from a context menu.
AmaterasUML automaticaly parse field/methods when edit directry.
- Please select "File"->"New"->"Other"->"AmaterasUML"->"Class diagram". Then class diagram file (*.sqd) was created.
- Opened Sequence diagram editor, and you can edit diagram using pallete.
- If you want add a Message, choose "Message". Then select source "Lifeline" or "Activation" and target "Lifeline" or "Activation"
- If you want add a Creation message, choose "Message". Then select source "Lifeline" or "Activation" and target "Instance" (Target instance must be none of imcoming/outgoing message)
- If you want add a Self-call message, choose "Message". Then select source "Activation" and same "Activation" by target.
- You can select a class of Instance. Select the instance and choose "Import and Assign Class model" from a context menu. Then you can code assist on diagram or property view. Please hit CTRL + SPACE(limitation: can‘t use mouse when select the proposal, and if you escape the edit on diagram, hit esc key 2 times...)
Please connect Lifeline/Activation to Instance.
Please connect same Activation.
Please hit CTRL+SPACE on message.
Please select "Window"->"Show View"->"Other"->"AmaterasUML"->"Stack Trace Sample".Then paste Java stack trace to opened view, and execute action. New stacktrace.sqd file is created on selected project/folder.
- generated stack trace sequence diagram.
If you use Sequence API, you can create such plugin easily. This is a sample code, how to use Sequence API.
//Add net.java.amateras.umleditor plugin in your plugin dependency.
//instanciate builder.
SequenceModelBuilder builder = new SequenceModelBuilder();
// create instances
InstanceModel start = builder.createInstance("Start");
InstanceModel next = builder.createInstance("Next");
InstanceModel last = builder.createInstance("Last");
InstanceModel instanciated = builder.createInstance("NewObject");
// ready to create message
builder.init(start);
// create message from Start to Next
MessageModel msg = builder.createMessage("Message to Next", next);
// create message from Next to Last
builder.createCreationMessage("Message to Last", last);
// create message from Last to Start
builder.createMessage("Return to Start", start);
// create self-call message on Start
builder.createSelfCallMessage("Self-Call");
// back to pointer
builder.back(msg);
// create message from Start to Last on next to first message.
builder.createMessage("Message to Last", last);
// add creation message.
builder.createCreationMessage("create", instanciated);
// convert to xml
System.out.println(builder.toXML());
- generated sequence diagram
- Please select "File"->"New"->"Other"->"AmaterasUML"->"Usecase diagram". Then class diagram file (*.ucd) was created.
- Opened Usecase diagram editor, and you can edit diagram using pallete.
- You can change the Actor image using property.
- You can also attach any file to Usecase using property.
- If you double click the Usecase, attached file will open in Eclipse.
- Please select "File"->"New"->"Other"->"AmaterasUML"->"Activity diagram". Then class diagram file (*.acd) was created.
- Opened Usecase diagram editor, and you can edit diagram using pallete.
- You can swtich the hide/show grid by using "AmaterasUML" file menu
- Activity diagram is available.
- Connection routers which exclude BendpoinConnectionRouter are not supported.
- Bendpoint moves according to the entity dragging.
- Note: This version hasn‘t compatibility with old versions.
See details here about new features.
- Class Diagram
- Enable to drag two or more classes at a time.
- Enable auto connect to Generalization/Realization connection.
- Enable to drop the classes in jar entry.
- Extension
- XMI import/export extension is available.
See details here about new features.
- Common
- Enable to switch show/hide diagram grid.
- Class Diagram
- Enable to hide fields/methods by context menu.
- Common
- Enable to hide icons.
- Enable to change background/foreground color.
- Class Diagram
- Enable to align diagram element.
- Add new connection router.
- Sequence Diagram
- Change presentation of instance.
- Add Sequence API and sample plugin.
- Java support
- Enable to open Java editor from class diagram.
- Limitation
- Sorry, Sequence diagram editor can‘t edit *.sqd files created by older version.
- Add drag-and-drop
- both class and sequence
- drap Java file in package exploler view.
- Enable to delete and create Return message.
- Auto return message creation swtich in AmaterasUML preference
- Add code compiletion feature to edit message.
- Add sequence diagram editor.
- Add Note for class diagram editor
- This is the initial public release.
|