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依赖。他们只需要运行单元测试。

 

转载于:https://www.cnblogs.com/u539f/p/5352265.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值