UmlGenerator
============
<p>
UML Generator provides APIs for generating UML diagrams from java source. The UML Generator uses plantuml and graphviz liraries for generating diagrams. The utility outputs UML in following format files:
<ul>
<li> Plantuml text file (.plantuml) - Any plantuml standard viewer can be used to view the UML diagram.<br>
<li> Diagram UML file (.png)
</ul>
</p>
The library supports following UML diagrams:
<h3>Class Diagram</h3>
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/UmlGeneratorTool/icons/ClassDiagramIcon.png)
The class diagram generates the followings:<br>
<ul>
<li>Fields if {@code fieldsIncluded} set to TRUE
<li>Methods if {@code methodIncluded} set TRUE
<li>Parent class depedencies
<li>Implemented interfaces
<li>Composite class dependencies
</ul>
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/Resources/SampleClassDiagram.png)
<h3> Spring Dependency Diagram </h3>
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/UmlGeneratorTool/icons/SpringIcon.png)
In addition to plain class diagram, the spring class diagram also generates followings:
<ul>
<li> Autowired depedencies
<li> Required depedencies
<li> Resource depedencies
<li> Component classes
<li> Controller classes
<li> Service classes
<li> Repository classes
<li> Bean classes
<li> Configuration classes
<li> Additional comments are provided for class level annotations.
</ul>
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/Resources/SampleSpringDependencyDiagram.png)
<h3> JPA Mapping diagram</h3>
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/UmlGeneratorTool/icons/JPAIcon.png)
The JPA mapping diagram utility can be used to identify the relationship between persistent classes. The utility generates the following:
<ul>
<li> Persistent entity types (ENTITY, TABLE or MAPPED SUPER CLASSES)
<li> Inheritance of persistent entities.
<li> Mapped relationships (OntToOne, ManyToOne, OneToMany)
<li> Database table name
<li> Mapped database columns
<li> Identifier columns
</ul>
Following is the sample generated JPA mapping diagram.
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/Resources/SampleJPAMappingDiagram.png)
<h3>Component Diagram (Maven)</h3>
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/UmlGeneratorTool/icons/ComponentDiagramIcon.png)
The method recursively inspects the given source directory to parse all POM files. <br>
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/Resources/SampleComponentDiagram.png)
<h4> Warning </h4>
If the UML diagram is too complicated then the GraphViz may not generate the PNG file. Try opening the plantuml file in plantuml eclipse plugin.
UmlGeneratorTool
==================
The UmlGeneratorTool is an Eclipse plugin to allow developers to generate UML diagrams from eclipse projects. The Eclipse plugin is compatible with Eclipse 3.5+ distributions. If you are using older version of Eclipse than God Bless You ;)
<h3> Installation Guilde </h3>
Under construction. I am still setting up the maven repository for the two UML projects. Its too early for me to start releasing versions officially.
But if you really feel like trying the tool out then simply import UmlGeneratorTool project in you eclipse and then export it as "Deployable plug-ins and fragments" into your eclipse plugin directory.
<h3> How to Generate UML diagrams </h3>
All the available UML diagrams can be generated from project contextual menu. Here is a screen shot:<br>
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/Resources/UmlGeneratorMenu.png)
Each diagram has its own options for UML generation. Please refer to the following:<br>
<b>Class Diagram and Spring Depedency Diagram</b><br>
<img align="center" src="https://github.com/suken/UmlGeneratorTool/blob/master/Resources/ClassAndSpringDiagramOptionsDialog.png"/>
<b>Component Diagram and JPA Mapping diagram</b><br>
<img align="center" src="https://github.com/suken/UmlGeneratorTool/blob/master/Resources/ComponentDiagramOptionsDialog.png"/>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Java SSM项目是一种使用Java语言和SSM框架(Spring + Spring MVC + MyBatis)开发的Web应用程序。SSM是一种常用的Java开发框架组合,它结合了Spring框架、Spring MVC框架和MyBatis框架的优点,能够快速构建可靠、高效的企业级应用。 1. Spring框架:Spring是一个轻量级的Java开发框架,提供了丰富的功能和模块,用于开发企业级应用。它包括IoC(Inverse of Control,控制反转)容器、AOP(Aspect-Oriented Programming,面向切面编程)等特性,可以简化开发过程、提高代码的可维护性和可测试性。 2. Spring MVC框架:Spring MVC是基于Spring框架的Web框架,用于开发Web应用程序。它采用MVC(Model-View-Controller,模型-视图-控制器)的架构模式,将应用程序分为模型层、视图层和控制器层,提供了处理请求、渲染视图和管理流程的功能。 3. MyBatis框架:MyBatis是一个持久层框架,用于与数据库进行交互。它提供了一种将数据库操作与Java对象映射起来的方式,避免了手动编写繁琐的SQL语句,并提供了事务管理和缓存等功能,简化了数据库访问的过程
资源推荐
资源详情
资源评论
收起资源包目录
Spring、JPA、类图等的Java软件开发工具(高分项目).zip (65个子文件)
UmlGeneratorTool-master
.DS_Store 12KB
UmlGenerator
.classpath 600B
.settings
org.eclipse.jdt.core.prefs 664B
org.eclipse.m2e.core.prefs 86B
pom.xml 3KB
src
main
java
com
uml
generator
jpa
JpaMappingDiagramGenerator.java 10KB
models
JpaClassModel.java 4KB
JpaDependencyType.java 185B
JpaEntityType.java 162B
JpaDependencyDiagramModel.java 838B
spring
SpringDependencyDiagramGenerator.java 13KB
models
SpringClassType.java 189B
SpringClassModel.java 2KB
SpringDependencyDiagramModel.java 730B
DependencyType.java 147B
UmlGeneratorUtility.java 2KB
UmlGenerator.java 9KB
UmlOptions.java 456B
componentDiagram
ComponentDiagramGenerator.java 5KB
models
ComponentModel.java 2KB
ComponentType.java 172B
ComponentGroupModel.java 1KB
ComponentDiagramModel.java 2KB
models
UmlModel.java 823B
classDiagram
ClassDiagramGenerator.java 7KB
models
ClassModel.java 3KB
PackageModel.java 842B
FieldModel.java 1KB
ClassType.java 430B
ModifierType.java 126B
MethodModel.java 988B
ClassDiagramModel.java 1KB
.project 564B
.gitignore 14B
UmlGeneratorTool
.classpath 723B
.settings
org.eclipse.jdt.core.prefs 736B
org.eclipse.m2e.core.prefs 86B
pom.xml 1KB
src
main
java
umlGenerator
MultipleProjectAction.java 10KB
Activator.java 1KB
windows
GenerateUMLOptionsDialog.java 5KB
GenerateComponentDiagramOptionsDialog.java 3KB
actions
GenerateComponentDiagramAction.java 3KB
GenerateJpaMappingDiagramAction.java 4KB
GenerateClassDiagramAction.java 5KB
GenerateSpringClassDiagramAction.java 4KB
build.properties 1KB
plugin.xml 3KB
icons
._SpringIcon.png 4KB
ClassDiagramIcon.png 8KB
ComponentDiagramIcon.png 7KB
SpringIcon.png 8KB
JPAIcon.png 1KB
.project 617B
.gitignore 26B
META-INF
MANIFEST.MF 912B
Resources
SampleComponentDiagram.png 16KB
ComponentDiagramOptionsDialog.png 14KB
ClassAndSpringDiagramOptionsDialog.png 17KB
SampleClassDiagram.png 57KB
SampleJPAMappingDiagram.png 47KB
UmlGeneratorMenu.png 9KB
.project 213B
SampleSpringDependencyDiagram.png 80KB
README.md 4KB
共 65 条
- 1
资源评论
若明天不见
- 粉丝: 1w+
- 资源: 273
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功