[JAVA] Using Amateurs UML in Eclipse

Introduction

When using Eclipse for the first time in a long time, I forgot how to install Amateurs UML, which automatically generates UML diagrams before, and I investigated various things, but there was a point I was addicted to, so I left it. I would like.

Settings on the Eclipse side

-- Help-> Install New Software in the top bar --Type http://download.eclipse.org/releases/luna as the work target and specify GEF as the filter. --Select and install the graphical editing framework GEF SDK install

Follow the steps below to complete the installation and restart.

Install Amateras UML

Download AmateursUML_1.3.4.zip from Official Homepage and unzip it. Then, the following three jar files are included.

net.java.amateras.umleditor.java_1.3.4.jar
net.java.amateras.umleditor_1.3.4.jar
net.java.amateras.xstream_1.3.4.jar

these /Applications/Eclipse_{version}.app/Contents/Eclipse/dropins/AmaterasModeler/eclipse/plugins Copy to. However, in my case, the following files were included in this directory in advance.

net.java.amateras.db_1.0.9.jar
net.java.amateras.umleditor.java_1.3.5.jar
net.java.amateras.umleditor_1.3.5.jar
net.java.amateras.xstream_1.3.4.jar

Since the files related to `ʻumleditor`` are the same and the version is higher, I thought that AmateursUML could be used originally, so I tried to create a UML diagram before copying. However, although I was able to create the cld file, the reflection of the java file in D & D did not work.

Therefore, I overwrote only the files related to `ʻumleditor``. (I think it's better to back up. If anyone knows this difference, please let me know.) Then, I was able to successfully create the cld file by D & D of the java file.

How to create a UML diagram

To create a UML diagram, create a cld file with New-> Other-> AmaterasUML-> Class diagram in the directory or package you want to create, and then move any java file to the cld file window. D & D will automatically generate a class diagram. If you select multiple java files and D & D, you can understand the delegation relationship. It's convenient.

at the end

I got a little stuck in putting the unzipped jar file in / Applications / Eclipse_ {version} .app / Contents / Eclipse / drops written on some sites. I haven't checked when the ʻAmaterasModeler directory was, so it may be for those who have installed the latest version of Eclipse. In that case, you may need to be careful because the UML diagram could not be generated correctly unless you replaced it with the original jar file in the `ʻAmaterasModeler directory``. I haven't written a UML diagram for a long time, so I would like to review it with reference to Amateurs UML.

Recommended Posts

Using Amateurs UML in Eclipse
MVC in Eclipse.
[For beginners] I tried using DBUnit in Eclipse
[For beginners] I tried using JUnit 5 in Eclipse
[Java] API creation using Jerjey (Jax-rs) in eclipse
Prepare for log output using log4j in Eclipse.
[Note] Struts2 environment construction using Gradle in Eclipse
To debug in eclipse
Try using RocksDB in Java
Install the plugin in Eclipse
Null-safe program in Java (Eclipse)
Create a tomcat project using Eclipse Pleiades All in One
First Java development in Eclipse
eclipse all in one installation
Try using gRPC in Ruby
Install tomcat plugin in eclipse
Unknown error in line 1 of pom.xml when using Spring Boot in Eclipse
Precautions when using checkboxes in Thymeleaf
Introduction of javaFX in Eclipse (April 2020)
Spring Boot Hello World in Eclipse
Spring Boot application development in Eclipse
Create a Jetty project using Eclipse
How to run JUnit in Eclipse
Create a tomcat project using Eclipse
Team development using Git (eclipse edition)
Encrypt using RSA cryptography in Java
Try running Selenuim 3.141.59 in eclipse (java)
Use the Findbugs plugin in Eclipse
Hello World in java in eclipse now
Create a Servlet program in Eclipse
HTTPS connection using tls1.2 in Java 6
I tried using JWT in Java
Use completion in Eclipse on mac
How to set Lombok in Eclipse
JPA (Java Persistence API) in Eclipse
Enable log output to both file and console using log4j in Eclipse.