程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> JAVA編程 >> JAVA綜合教程 >> Activiti Designer editor features,activitidesigner

Activiti Designer editor features,activitidesigner

編輯:JAVA綜合教程

Activiti Designer editor features,activitidesigner


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依賴。他們只需要運行單元測試。

 

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved