Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "SOA/BPMN Modeler/BPMN Modeler Samples"
(→BPEL to BPMN generation) |
m (STP/BPMN Component/Samples moved to SOA/BPMN Modeler/BPMN Modeler Samples: STP termination) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOEDITSECTION__ | ||
+ | |||
+ | {{bpmn}} | ||
+ | {{announce | ||
+ | | text = If you would like to submit samples, please attach them to the {{bug|219833}}. | ||
+ | }} | ||
+ | <br/> | ||
== BPMN samples == | == BPMN samples == | ||
BPMN samples are located in this SVN folder: | BPMN samples are located in this SVN folder: | ||
− | http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn.trunk/trunk/samples/bpmn_samples | + | http://dev.eclipse.org/svnroot/stp/org.eclipse.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples |
+ | |||
+ | === Complaint diagram (in French) === | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/plainte/Plainte.png Screenshot] | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/plainte code] | ||
+ | |||
+ | === Bugzilla (EclipseCon 2008) === | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/bugzilla/bugzilla.gif Screenshot] | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/bugzilla code] | ||
+ | |||
+ | === Due diligence process === | ||
+ | This sample represents the page 1 of the [http://www.eclipse.org/legal/EclipseLegalProcessPoster.pdf due diligence process]. | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/eclipse%20IP%20process/due%20diligence.jpg Screenshot] | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/eclipse%20IP%20process code] | ||
=== EclipseCon sample === | === EclipseCon sample === | ||
− | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/eclipsecon/eclipsecon.jpg Screenshot] | + | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/eclipsecon/eclipsecon.jpg Screenshot] |
− | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/eclipsecon code] | + | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/eclipsecon code] |
=== Annotated shape sample === | === Annotated shape sample === | ||
− | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/annotationDnD code] | + | [http://dev.eclipse.org/svnroot/stp/org.eclipse.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/annotationDnD code] |
+ | |||
+ | === Order Store Sample === | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/OrderPrj/IntegrationProcess/OrderStore.jpg Screenshot] | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/OrderPrj code] | ||
+ | |||
+ | === Connection Test sample === | ||
+ | |||
+ | This sample just shows all types of connections supported by the current router. | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/connection_tests/connections.gif Screenshot] | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples/connection_tests code] | ||
== Code samples == | == Code samples == | ||
=== Hiding elements in toolbar and connection menus === | === Hiding elements in toolbar and connection menus === | ||
− | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.noGatewayInToolbar/ code] | + | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.noGatewayInToolbar/ code] |
=== Hiding palette elements === | === Hiding palette elements === | ||
− | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.noTextAnnotationInPalette/ code] | + | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.noTextAnnotationInPalette/ code] |
=== BPEL to BPMN generation === | === BPEL to BPMN generation === | ||
− | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.samples/ code] | + | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.samples/ code] |
+ | |||
+ | This sample demonstrate the use of the BPMN generation API to create shapes from an other model. Although we have chosen to create shapes from a BPEL model, only the simplest constructs are taken into account (we just analyze the sequences and activities and try to produce some BPMN mockup out of them). This sample should not be taken as a way to create BPMN from BPEL files. | ||
+ | |||
=== Annotation Drag and Drop === | === Annotation Drag and Drop === | ||
− | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.annotationDnD/ code] | + | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.annotationDnD/ code] |
This sample contains a DnDHandler that will drop .txt files over any diagram shape, creating a EAnnotation that will contain the file text and details. | This sample contains a DnDHandler that will drop .txt files over any diagram shape, creating a EAnnotation that will contain the file text and details. | ||
− | You can use the [[STP/BPMN_Component/Samples#Annotated_shape_sample annotated shape sample]] to try it out and/or see the result of the drop. | + | You can use the [[STP/BPMN_Component/Samples#Annotated_shape_sample|annotated shape sample]] to try it out and/or see the result of the drop. |
+ | |||
+ | Here is a [[STP/BPMN_Component/Using_the_STP_BPMN_modeler#Annotations|howto]] to see the annotation details. | ||
+ | |||
+ | |||
+ | === Decoration of an annotation === | ||
+ | [http://dev.eclipse.org/svnroot/stp//org.eclipse.stp.bpmn-modelerorg.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.annotationDecoration/ code] | ||
+ | |||
+ | This sample reuses the annotations dropped by the [[STP/BPMN_Component/Samples#Annotations Drag and Drop|drag and drop sample]]. | ||
+ | |||
+ | === Provide your own edit parts === | ||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.newEditPartProvider/ code] | ||
+ | |||
+ | Load this sample in your eclipse configuration. It changes the text annotation edit parts to paint a gradient background. | ||
+ | [[Image:text annotation with background.png | ||
+ | |||
+ | === Bug sample (EclipseCon 2008) === | ||
+ | See [[STP/BPMN_Component/EclipseCon2008|the tutorial for EclipseCon 2008]] | ||
+ | |||
+ | The bug view plugin: | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.bugView code] | ||
+ | |||
+ | The DnD plugin: | ||
+ | |||
+ | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.bugDnD code] | ||
+ | |||
+ | The bug editor | ||
− | + | [http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/org.eclipse.stp.bpmn.sample.bugEditor code] | |
− | [ | + | |
− | + |
Latest revision as of 13:11, 4 November 2010
{{#eclipseproject:stp.bpmn}}
If you would like to submit samples, please attach them to the bug 219833.
Contents
BPMN samples
BPMN samples are located in this SVN folder: http://dev.eclipse.org/svnroot/stp/org.eclipse.bpmn-modeler/org.eclipse.stp.bpmn/trunk/samples/bpmn_samples
Complaint diagram (in French)
Bugzilla (EclipseCon 2008)
Due diligence process
This sample represents the page 1 of the due diligence process.
EclipseCon sample
Annotated shape sample
Order Store Sample
Connection Test sample
This sample just shows all types of connections supported by the current router.
Code samples
Hiding palette elements
BPEL to BPMN generation
This sample demonstrate the use of the BPMN generation API to create shapes from an other model. Although we have chosen to create shapes from a BPEL model, only the simplest constructs are taken into account (we just analyze the sequences and activities and try to produce some BPMN mockup out of them). This sample should not be taken as a way to create BPMN from BPEL files.
Annotation Drag and Drop
This sample contains a DnDHandler that will drop .txt files over any diagram shape, creating a EAnnotation that will contain the file text and details.
You can use the annotated shape sample to try it out and/or see the result of the drop.
Here is a howto to see the annotation details.
Decoration of an annotation
This sample reuses the annotations dropped by the drag and drop sample.
Provide your own edit parts
Load this sample in your eclipse configuration. It changes the text annotation edit parts to paint a gradient background. [[Image:text annotation with background.png
Bug sample (EclipseCon 2008)
See the tutorial for EclipseCon 2008
The bug view plugin:
The DnD plugin:
The bug editor