Issuu on Google+

Before we start • This tutorial includes a BPMN modeling and two coding samples • Requirements  Notebook  Java 5 or 6  Eclipse 3.3  Eclipse BPMN

• We provide the contents of the tutorial on CD-ROM and USB stick  Eclipse build with BPMN modeler for Windows, Mac, Linux  Slides (PPT and PDF)  Samples code  Tune your browser to the Eclipse wiki:  http://wiki.eclipse.org/STP/BPMN_Component/EclipseCon2008

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


How to get the most of the BPMN modeler

Antoine Toulme Hugues Malphettes Intalio, Inc.

How to get the most of the BPMN modeler | Š 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Goals and scope of the tutorial • Demonstrate the modeler  Model a business process to show how to deal with bugs  Show the interaction with annotations and decorators

• Develop an interaction with the modeler  Build your own drag and drop action  Decorate annotations

• Extending the modeler  Get your own edit parts  Rename the editor and more

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


About us - Intalio • Located in Palo Alto, CA • BPM based on standards  BPEL  WSDL  XForm

• Eclipse foundation member • Involved in Open source  BPMN component  Apache ODE  Buildr, Tempo...

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


What's in the box • A SOA Tools component  Created in August 2006  Two active committers  Community growing well  Join us on #eclipse-stp, or post to the STP newsgroup

 Revamped the wiki recently  Looking for community help to gather more samples  Due diligence process in BPMN

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


The BPMN modeler • A graphical editor to model business processes  Support for BPMN 1.0 and BPMN 1.1  Concentrating on the graphical aspects of the specification

 Semantic model based on EMF  Graphical aspects with GEF and GMF  Going 1.0 with Ganymede  Implemented internationalization

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Modelling in BPMN • BPMN is used to represent business processes  Business process are both representing sequential actions for a participant and messages between several participants.  We choose to represent one participant with one pool

• The sample we will model together could potentially be modelled in different ways  We made certain choices to show you as many cool features as possible  Please pardon our business analysts skills: if you see something out of place in there, please open a bug about it.

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


The bugzilla diagram

How to get the most of the BPMN modeler | Š 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Annotations • The BPMN semantic model is a simple model oriented towards the best graphical representation • Annotations are needed to add more meaning to shapes  BPMN and interoperability models (STP-IM)  Extra information to add capabilities (open a file for example)  Proprietary extensions

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


The annotations framework • The BPMN modeler offers an annotation framework  Add annotations to shapes by drag and drop  Add and manage annotations by other means (see the participants view example)  Decorate shapes with annotations  Filter annotation decorations by context

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


The annotation coding sample • Annotate a diagram with bug references  Ideally you would like to have a Mylin task view, and drop bugs on your diagram.  You want to keep track of the bug number on the shape.

• This coding sample also features the use of the BPMN generation API  Just a helper class to help you create semantic elements and their views without too much hassle.  More about the generation API in the BPEL to BPMN sample:  http://wiki.eclipse.org/STP/BPMN_Component/Samples#BPEL_to_ BPMN_generation

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


The annotation coding sample

How to get the most of the BPMN modeler | Š 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Extending the modeler • Rebrand the modeler  You can rebrand the modeler by subclassing it

• Customize  You can customize pretty much everything.  Custom palette  Custom popup toolbar  Change the edit parts  Add menu items, toolbar items

 Most of those customizations are made possible with the system of providers and services introduced by GMF.  Extending != regenerating and forking

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Extending the modeler

How to get the most of the BPMN modeler | Š 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Conclusion • The BPMN modeler is a graphical modeler to model business processes. • It is based on the best-of-breed Eclipse technologies  GMF, GEF, EMF

• It is highly extensible and oriented to consumption by developers. • We want to grow the BPMN modeler community:  More documentation coming  Samples, samples, samples  Get community feedback to make the modeler even better

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Acknowledgements • Clap image from Wikimedia, copyright Delphine Ménard for the Tango Project • Thanks to the EclipseCon organizers!

How to get the most of the BPMN modeler | © 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Questions ?

For further feedback, please post to the tutorial mailing list: ec2008-tutorial496@ec2008lists.greenmeetingsystems.com

How to get the most of the BPMN modeler | Š 2008 by Antoine Toulme and Hugues Malphettes; made available under the EPL v1.0


Get the most of the BPMN modeler