Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » BPMN inclusive decision merge shape
BPMN inclusive decision merge shape [message #84917] Tue, 12 December 2006 20:11 Go to next message
Eclipse UserFriend
Originally posted by: ssinha4.covansys.com

Hi,

I am trying to model BPMN Inclusive decesion/Merge( OR) shape which is
available at http://www.bpmn.org/Samples/Elements/Gateways.htm

The shape has a circle inside the decision shape. I am not able to place
the circle inside the decision shape. I would appreciate if I can get any
answer for this.
Here is snippet from graph file.
<figures
xsi:type="gmfgraph:Rectangle"
referencingElements="ORJoinType"
name="OrGatewayFigure"
outline="false"
fill="false">
<layout
xsi:type="gmfgraph:XYLayout"/>
<children
xsi:type="gmfgraph:Polygon"
name="OrGatewayDiamondFigure">
<foregroundColor
xsi:type="gmfgraph:ConstantColor"
value="darkBlue"/>
<template
x="25"/>
<template
y="25"/>
<template
x="25"
y="50"/>
<template
x="50"
y="25"/>
</children>
<children
xsi:type="gmfgraph:Ellipse"
name="EndCircle1"
lineWidth="5">
<size
x="20"
y="20"/>
</children>
</figures>

Regards
Sanjeev Sinha
Re: BPMN inclusive decision merge shape [message #85617 is a reply to message #84917] Thu, 14 December 2006 18:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: atoulme.intalio.com

Sanjeev,
maybe you should have a look at the STP BPMN modeler.
We provide an implementation of such a shape, however I don't know if it
is directly in gmfgraph or in our code.

Cheers,

Antoine
Sanjeev Sinha wrote:
> Hi,
>
> I am trying to model BPMN Inclusive decesion/Merge( OR) shape which is
> available at http://www.bpmn.org/Samples/Elements/Gateways.htm
>
> The shape has a circle inside the decision shape. I am not able to place
> the circle inside the decision shape. I would appreciate if I can get
> any answer for this.
> Here is snippet from graph file.
> <figures
> xsi:type="gmfgraph:Rectangle"
> referencingElements="ORJoinType"
> name="OrGatewayFigure"
> outline="false"
> fill="false">
> <layout
> xsi:type="gmfgraph:XYLayout"/>
> <children
> xsi:type="gmfgraph:Polygon"
> name="OrGatewayDiamondFigure">
> <foregroundColor
> xsi:type="gmfgraph:ConstantColor"
> value="darkBlue"/>
> <template
> x="25"/>
> <template
> y="25"/>
> <template
> x="25"
> y="50"/>
> <template
> x="50"
> y="25"/>
> </children>
> <children
> xsi:type="gmfgraph:Ellipse"
> name="EndCircle1"
> lineWidth="5">
> <size
> x="20"
> y="20"/>
> </children>
> </figures>
>
> Regards
> Sanjeev Sinha
>


--
Intalio, the Open Source BPMS Company
<a href="http://www.intalio.com">http://www.intalio.com</a>
<a href="http://bpms.intalio.com">Community website:
http://bpms.intalio.com</a>
Re: BPMN inclusive decision merge shape [message #85671 is a reply to message #85617] Thu, 14 December 2006 19:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: atoulme.intalio.com

After checking with Hugues,
you need a custom figure for this gateway, so you will have to code it
in Java.

Also you can have a look at Richard Gronback tutorial on BPMN, which
uses images to represents gateways.
http://wiki.eclipse.org/index.php/GMF_Tutorial_BPMN#Custom_F igures_.28SVG.29

Cheers,

Antoine

in Antoine Toulmé wrote:
> Sanjeev,
> maybe you should have a look at the STP BPMN modeler.
> We provide an implementation of such a shape, however I don't know if it
> is directly in gmfgraph or in our code.
>
> Cheers,
>
> Antoine
> Sanjeev Sinha wrote:
>> Hi,
>>
>> I am trying to model BPMN Inclusive decesion/Merge( OR) shape which is
>> available at http://www.bpmn.org/Samples/Elements/Gateways.htm
>>
>> The shape has a circle inside the decision shape. I am not able to
>> place the circle inside the decision shape. I would appreciate if I
>> can get any answer for this.
>> Here is snippet from graph file.
>> <figures
>> xsi:type="gmfgraph:Rectangle"
>> referencingElements="ORJoinType"
>> name="OrGatewayFigure"
>> outline="false"
>> fill="false">
>> <layout
>> xsi:type="gmfgraph:XYLayout"/>
>> <children
>> xsi:type="gmfgraph:Polygon"
>> name="OrGatewayDiamondFigure">
>> <foregroundColor
>> xsi:type="gmfgraph:ConstantColor"
>> value="darkBlue"/>
>> <template
>> x="25"/>
>> <template
>> y="25"/>
>> <template
>> x="25"
>> y="50"/>
>> <template
>> x="50"
>> y="25"/>
>> </children>
>> <children
>> xsi:type="gmfgraph:Ellipse"
>> name="EndCircle1"
>> lineWidth="5">
>> <size
>> x="20"
>> y="20"/>
>> </children>
>> </figures>
>>
>> Regards
>> Sanjeev Sinha
>>
>
>


--
Intalio, the Open Source BPMS Company
<a href="http://www.intalio.com">http://www.intalio.com</a>
<a href="http://bpms.intalio.com">Community website:
http://bpms.intalio.com</a>
Re: BPMN inclusive decision merge shape [message #86255 is a reply to message #85671] Mon, 18 December 2006 23:07 Go to previous message
Eclipse UserFriend
Originally posted by: ssinha4.covansys.com

Antoine,

Thanks for the response. I had already tried SVG concept from the tutorial
but it always showed as red reactangle with dashed line. Although , SVG
image appear nicely in browser. Probably, I need to use Java code.

Regards
Sanjeev Sinha
Previous Topic:Comparing GMF with other tools
Next Topic:Cannot add popupMenu
Goto Forum:
  


Current Time: Fri Nov 08 23:45:59 GMT 2024

Powered by FUDForum. Page generated in 0.03399 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top