TOP RSS LOGIN

Community

Product

Contact

Please send mail to takezoe@aa.bb-east.ne.jp.

SourceForge.jp

AmaterasUML

AmaterasUML is an Eclipse plug-in for drawing UML class-diagram, and UML sequence-diagram.

  • Class diagram
  • Sequence diagram

License

Eclipse Public License 1.0

Download

AmaterasUML

AmaterasUML works with Eclipse 3.3 or later(not support Eclipse 3.2), and AmaterasUML also requires GEF.

  1. Please download AmaterasUML_x.x.x.zip from here.
  2. 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

  1. Before install the extension, please install the EMF and UML2 (I tested on EMF2.2.0 and UML2 2.0.0)
  2. Please download AmaterasUMLExtension.x.x.x.zip from here.
  3. Unzip that and put all jar files into ECLIPSE_HOME/plugins.

Note: XMI extension is an experimental implementation. We know it contains some problem but it is not maintained now.

How to Use

 Class diagram editor

  • 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.

Edit directry

AmaterasUML automaticaly parse field/methods when edit directry.

  • edit directy
  • parse your input

 Sequence diagram editor

  • 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...)

Add Creation message

Please connect Lifeline/Activation to Instance.

Add Self-call message

Please connect same Activation.

Message completion

Please hit CTRL+SPACE on message.

Sequence API example

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.

  • paste stack trace.
  • 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.

  • Sample code
//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

 Usecase diagram editor

  • 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.

 Activity diagram editor

  • 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.

 Common

  • You can swtich the hide/show grid by using "AmaterasUML" file menu

History

 2009/04/19 - Version 1.3.2

  • New appearance settings of class diagram / sequence diagram
  • Auto diagram reloading when the file is updated such as SVN update

See details here about new features.

 2008/02/14 - Version 1.3.1

  • Auto layout in the class diagram editor.
  • Java model importing supports aggregation.

See details here about new features.

 2007/10/07 - Version 1.3.0

  • Eclipse 3.3 Support (This version can't work with Eclipse 3.2.x)
  • Copy & Pase in the class diagram, the usecase diagram and the activity diagram.
  • Brand new visual theme for diagrams.

See details here about new features.

 2007/04/22 - Version 1.2.2

  • 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.

 2006/8/31 - Version 1.2.1

  • 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.

 2006/6/10 - Version 1.2.0

  • Common
    • Enable to switch show/hide diagram grid.
  • Class Diagram
    • Enable to hide fields/methods by context menu.
  • Usecase Diagram
    • New feature

 2006/5/13 - Version 1.1.2

  • 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.

 2006/4/22 - Version 1.1.1

  • 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.

 2006/4/9 - Version 1.1.0

  • Add sequence diagram editor.
  • Add Note for class diagram editor

 2005/12/31 - Version 1.0.0

  • This is the initial public release.