Activiti Designer editor features
Posted 原之空
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Activiti Designer editor features相关的知识,希望对你有一定的参考价值。
Activiti的设计编辑器功能
Create Activiti projects and diagrams.
创建Activiti的项目和图表。
The Activiti Designer creates a .bpmn file when creating a new Activiti diagram. When opened with the Activiti Diagram Editor view this will provide a graphical modeling canvas and palette. The same file can however be opened with an XML editor and it then shows the BPMN 2.0 XML elements of the process definition. So the Activiti Designer works with only one file for both the graphical diagram as well as the BPMN 2.0 XML. Note that in Activiti 5.9 the .bpmn extension is not yet supported as deployment artifact for a process definition. Therefore the "create deployment artifacts" feature of the Activiti Designer generates a BAR file with a .bpmn20.xml file that contains the content of the .bpmn file. You can also do a quick file rename yourself. Also note that you can open a .bpmn20.xml file with the Activiti Diagram Editor view as well.
创建一个新的Activiti图时,设计师Activiti的创建.bpmn文件。当与Activiti的图编辑器打开查看此将提供一个图形化建模帆布和调色板。相同的文件然而,可以使用XML编辑器打开,然后它显示的流程定义的BPMN 2.0 XML元素。所以Activiti的设计适用于只有一个文件两个图形图以及BPMN 2.0的XML。请注意,在Activiti的5.9.bpmn扩展尚不支持作为一个流程定义部署构件。因此,Activiti的设计师的“创建部署工件”功能可生成与包含.bpmn文件的内容.bpmn20.xml文件中的BAR文件。你也可以做一个快速的文件重命名自己。另外请注意,您可以打开与Activiti的图编辑器视图.bpmn20.xml文件中。
BPMN 2.0 XML files can be imported into the Activiti Designer and a diagram will be created. Just copy the BPMN 2.0 XML file to your project and open the file with the Activiti Diagram Editor view. The Activiti Designer uses the BPMN DI information of the file to create the diagram. If you have a BPMN 2.0 XML file without BPMN DI information, no diagram can be created.
BPMN 2.0 XML文件可以导入Activiti的设计师和图将被创建。就在BPMN 2.0 XML文件复制到你的项目,并打开与Activiti的图编辑器查看该文件。该Activiti的设计器使用的文件的BPMN DI信息来创建图。如果你有没有BPMN DI信息的BPMN2.0 XML文件中,没有图可以被创建。
For deployment a BAR file and optionally a JAR file is created by the Activiti Designer by right-clicking on an Activiti project in the package explorer and choosing the Create deployment artifacts option at the bottom of the popup menu. For more information about the deployment functionality of the Designer look at the deployment section.
对于部署一个BAR文件以及可选的JAR文件由Activiti的设计上在Package Explorer的Activiti的项目中创建通过右键单击并选择在弹出菜单底部的创建部署构件选项。有关设计看部署部分的部署功能的更多信息。
Generate a unit test (right click on a BPMN 2.0 XML file in the package explorer and select generate unit test) A unit test is generated with an Activiti configuration that runs on an embedded H2 database. You can now run the unit test to test your process definition.
生成单元测试(右键单击在Package Explorer一个BPMN 2.0 XML文件,并选择生成单元测试),单元测试是与嵌入式数据库H2上运行的Activiti的配置生成。现在,您可以运行单元测试来测试你的流程定义。
The Activiti project is generated as a Maven project. To configure the dependencies you need to run mvn eclipse:eclipse and the Maven dependencies will be configured as expected. Note that for process design Maven dependencies are not needed. They are only needed to run unit tests.
该项目的Activiti作为Maven项目产生的。要配置你需要运行mvn日食的相关性:Eclipse和预期的Maven依赖将被配置。注意,对于工艺设计不需要Maven依赖。他们只需要运行单元测试。
以上是关于Activiti Designer editor features的主要内容,如果未能解决你的问题,请参考以下文章
Activiti系列——如何在eclipse中安装 Activiti Designer插件
Activiti Designer 5.14.1插件安装和使用