您的位置:首页 > 编程语言 > Java开发

Eclipse BPMN 2.0 Plugin,activiti designer source compile

2012-03-20 09:50 465 查看

Chapter 9. Eclipse BPMN 2.0 Plugin

9.1. Installation9.2. Creating your BPMN 2.0 processes9.3. Filtering elements and attributes

We are working on a new BPMN 2.0 Eclipse editor that allows you to specify business processes, choreographies, etc. using the BPMN 2.0 XML syntax (including BPMNDI for the graphical information). The editor itself is based on the Eclipse Graphiti framework
and the Eclipse BPMN 2.0 model.

Features:

It supports almost all BPMN 2.0 process constructs and attributes (including lanes and pools, annotations and all the BPMN2 node types).
Support for the few custom attributes that jBPM5 introduces.
Allows you to configure which elements and attributes you want use when modeling processes (so we can limit the constructs for example to the subset currently supported by jBPM5, which is a profile we will support by default, or even more if you like).

Many thanks go out to the people at Codehoop that did a great job in creating a first version of this editor.

9.1. Installation

Requirements

Eclipse 3.6 or newer
Graphiti framework, using update site http://download.eclipse.org/graphiti/updates/0.7.1/
To install, startup Eclipse and install Graphiti from the update site above (from menu Help -> Install new software and then add the update site in question and select and install the Graphiti runtime) and then use the following update sitehttp://codehoop.com/bpmn2
to install the latest version of the BPMN 2.0 editor in Eclipse. A screencast that shows all this in action can be foundhere.

Sources can be found here: https://github.com/droolsjbpm/bpmn2-eclipse-editor

9.2. Creating your BPMN 2.0 processes

You can use a simple wizard to create a new BPMN 2.0 process (under File -> New - Other ... select BPMN - BPMN2 Diagram).

A video that shows some sample BPMN 2.0 processes from the examples that are part of the BPMN 2.0 specification:






Figure 9.1.

Here are some screenshots of the editor in action.



Figure 9.2.



Figure 9.3.



Figure 9.4.



Figure 9.5.

9.3. Filtering elements and attributes

You can define which of the BPMN 2.0 elements and attributes you want to use when describing your BPMN 2.0 diagrams. Since the BPMN 2.0 specification is rather complex and includes a very large set of different node types and
attributes for each of those nodes, you may not want to use all of these elements and attributes in your project. Elements and attributes can be enablement / disabled at the project level using the BPMN2 preferences category (right-click your project folder
and select Properties ... which will open up a new dialog). The BPMN2 preferences contain an entry for all supported elements and attributes (per node type) and you can enable or disable each of those by (un)checking the box for each of those elements and
attributes.



Figure 9.6.

下面是需要更新的m2eclpse的插件地址:http://download.eclipse.org/bpmn2-modeler/site-helios/
可以编写OSGi和RCP程序的更新链接http://m2eclipse.sonatype.org/sites/m2e-extras http://m2eclipse.sonatype.org/sites/m2e http://m2eclipse.sonatype.org/sites/m2e-extras/subclipse http://download.eclipse.org/releases/helios
http://download.eclipse.org/bpmn2-modeler/site-helios/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: