Activiti Designer editor features,activitidesigner

來源:互聯網
上載者:User

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

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.