Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » Re: Extending STP BPMN
Re: Extending STP BPMN [message #374508] Mon, 21 January 2008 13:22 Go to next message
No real name is currently offline No real name
Messages: 20
Registered: July 2009
Junior Member
Hello Antoine,

I would like to add elements to a BPMN diagram in the editor, similar to
what Milan tries to do.

I checked out the HEAD versions of org.eclipse.stp.bpmn,
org.eclipse.stp.bpmn.diagram, and org.eclipse.stp.bpmn.edit. I use
Eclipse 3.3.1.1 with EMF from the Europa Update Site and GMF version 1.0.3.

But the code regenerated from "bpmn.gmfgen" contains errors. Do I use
the wrong GMF version?

Regards,
Hans

Antoine Toulme wrote:
> Milan Milanovic wrote:
>> Dear Antoine,
>>
>>>>> It all depends on what you need to extend. You can annotate the
>>>>> model with annotations, or change it.
>>>>
>>>> I need to introduce some new elements besides activites, like some
>>>> specific
>>>> activities.
>>> Some specific activities ? Can you be more specific ? Do you want to
>>> add some new type of ActivityType ?
>>
>> Yes, it would be some kind of new ActivityType.
> That would be ok then.
>>
>>> Also, I'll need to introduce whole vocabulary in the BPMN
>>>> diagram.
>>> I don't see what you mean here; if that's some kind of new EMF
>>> object, you have no choice but to regenerate.
>>
>> Well, I want to represent some kind of UML class diagrams in paralel
>> with BPMN concepts on the BPMN diagram. Of course, those UML
>> class-like elements will be conected with BPMN activites and events,
>> and with some new activites.
>
> ok, you need to go the heavy way, change the EMF model, and regenerate
> the code.
>>
>>>> So, I supose that it would be on the metamodel and graphical syntax,
>>>> too.
>>> Yes, it would mean that you would have to change the mnodel and
>>> gmfmap files.
>>> Is it
>>>> possible to be done ?
>>> We have marked all the stuff that we hand coded @generated not.
>>> So it should not be a problem to change the model files and
>>> regenerate the GMF code. Problem is, the GMF generator changed, and
>>> we did some heavy hacking. So I'm not sure you'll be fine with that.
>>
>> O.K. I'll see.
> Good luck!
>
> Antoine
>> --
>> Best regards, Milan Milanovic
>>
>> Antoine Toulme wrote:
>>
>>> Milan Milanovic wrote:
>>>> Hi Antoine,
>>>>
>>>> thank you very much on answer.
>>>>
>>>>> It all depends on what you need to extend. You can annotate the
>>>>> model with annotations, or change it.
>>>>
>>>> I need to introduce some new elements besides activites, like some
>>>> specific
>>>> activities.
>>> Some specific activities ? Can you be more specific ? Do you want to
>>> add some new type of ActivityType ?
>>> Also, I'll need to introduce whole vocabulary in the BPMN
>>>> diagram.
>>> I don't see what you mean here; if that's some kind of new EMF
>>> object, you have no choice but to regenerate.
>>>> So, I supose that it would be on the metamodel and graphical syntax,
>>>> too.
>>> Yes, it would mean that you would have to change the mnodel and
>>> gmfmap files.
>>> Is it
>>>> possible to be done ?
>>> We have marked all the stuff that we hand coded @generated not.
>>> So it should not be a problem to change the model files and
>>> regenerate the GMF code. Problem is, the GMF generator changed, and
>>> we did some heavy hacking. So I'm not sure you'll be fine with that.
>>>>
>>>>
>>>> --
>>>> Best regards, Milan Milanovic
>>>>
>>>> Antoine Toulme wrote:
>>>>
>>>>> Hey Milan,
>>>>
>>>>> nice to hear from you!
>>>>
>>>>> It all depends on what you need to extend. You can annotate the
>>>>> model with annotations, or change it.
>>>>
>>>>> On the editor level, you'll probably need to contribute a
>>>>> properties section to edit them.
>>>>
>>>>> Thanks,
>>>>
>>>>> Antoine
>>>>
>>>>> Milan Milanovic wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I need to extend STP BPMN editor with some concepts (with some SOA
>>>>>> and vocabulary concepts). I supose that I need to do this on the
>>>>>> metamodel and editor, too? Is it possible to do this with STP BPMN
>>>>>> editor ?
>>>>>>
>>>>>> Thanks in advance.
>>>>>>
>>>>>> --
>>>>>> Regards, Milan Milanovic
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>
>
Re: Extending STP BPMN [message #374509 is a reply to message #374508] Mon, 21 January 2008 13:39 Go to previous messageGo to next message
Eclipse User
Originally posted by: atoulme.intalio.com

Hans Koerber wrote:
> Hello Antoine,
>
> I would like to add elements to a BPMN diagram in the editor, similar to
> what Milan tries to do.
>
> I checked out the HEAD versions of org.eclipse.stp.bpmn,
> org.eclipse.stp.bpmn.diagram, and org.eclipse.stp.bpmn.edit. I use
> Eclipse 3.3.1.1 with EMF from the Europa Update Site and GMF version 1.0.3.
>
> But the code regenerated from "bpmn.gmfgen" contains errors. Do I use
> the wrong GMF version?

I think we are compatible with GMF 1.0.3. If the code contains errors,
it might be because we haven't placed @generated not tags everywhere.
In that case, please open a bug report, and feel free to help us nail it
down.

It's also possible that the changes you added create those problems.

At this point, giving more details would help.

Thanks,

Antoine

>
> Regards,
> Hans
>



--
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</a>
Re: Extending STP BPMN [message #374512 is a reply to message #374509] Wed, 23 January 2008 11:11 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 20
Registered: July 2009
Junior Member
Antoine,

Thanks for your response.

I did not add any changes prior to diagram code generation so your idea
that the errors are due to missing "@generated not" tags seems to be the
right one. I opened a bug report just as you advised me to do
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=216164).

I have two identical Eclipse installations on my computer one with and
one without BPMN diagram editor installed. When I execute the checkout
version 0.7.0 of the BPMN editor on the latter Eclipse installation, it
exhibits a strange behaviour concerning selections: graphical elements
are not selected and the selection area borders are not removed. The
Eclipse installation with the Europa version of STP (apparently also
0.7.0) from the Europa Discovery Site works fine, though.

Is there something wrong with the editor I checked out (Subversion
release number 1219)? I would like to be sure to use exactly the version
of STP that I download from the Europa Discovery Site.

Regards,
Hans

Antoine Toulme wrote:
> Hans Koerber wrote:
>> Hello Antoine,
>>
>> I would like to add elements to a BPMN diagram in the editor, similar
>> to what Milan tries to do.
>>
>> I checked out the HEAD versions of org.eclipse.stp.bpmn,
>> org.eclipse.stp.bpmn.diagram, and org.eclipse.stp.bpmn.edit. I use
>> Eclipse 3.3.1.1 with EMF from the Europa Update Site and GMF version
>> 1.0.3.
>>
>> But the code regenerated from "bpmn.gmfgen" contains errors. Do I use
>> the wrong GMF version?
>
> I think we are compatible with GMF 1.0.3. If the code contains errors,
> it might be because we haven't placed @generated not tags everywhere.
> In that case, please open a bug report, and feel free to help us nail it
> down.
>
> It's also possible that the changes you added create those problems.
>
> At this point, giving more details would help.
>
> Thanks,
>
> Antoine
>
>>
>> Regards,
>> Hans
>>
>
>
>
Re: Extending STP BPMN [message #374514 is a reply to message #374512] Wed, 30 January 2008 19:06 Go to previous message
Eclipse User
Originally posted by: atoulme.intalio.com

Hans Koerber wrote:
> Antoine,
>
> Thanks for your response.
>
> I did not add any changes prior to diagram code generation so your idea
> that the errors are due to missing "@generated not" tags seems to be the
> right one. I opened a bug report just as you advised me to do
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=216164).
>
> I have two identical Eclipse installations on my computer one with and
> one without BPMN diagram editor installed. When I execute the checkout
> version 0.7.0 of the BPMN editor on the latter Eclipse installation, it
> exhibits a strange behaviour concerning selections: graphical elements
> are not selected and the selection area borders are not removed. The
> Eclipse installation with the Europa version of STP (apparently also
> 0.7.0) from the Europa Discovery Site works fine, though.
>
> Is there something wrong with the editor I checked out (Subversion
> release number 1219)? I would like to be sure to use exactly the version
> of STP that I download from the Europa Discovery Site.
Hi Hans,

we switched from CVS to SVN since Europa, so I don't really know how to
obtain the tag that must have been created for Europa.

Can you please tell me more about the problem you are experiencing ? Do
you have an issue seleting subprocess by selecting its compartment ?
This is actually a feature :) to be able to do multi selection into a
subprocess. To move the subprocess, you need to select it on a side, by
the name compartment or the border compartment.

If you have a better behavior in mind or something to propose, please
feel free to open a bug.

Cheers,

Antoine

>
> Regards,
> Hans
>
> Antoine Toulme wrote:
>> Hans Koerber wrote:
>>> Hello Antoine,
>>>
>>> I would like to add elements to a BPMN diagram in the editor, similar
>>> to what Milan tries to do.
>>>
>>> I checked out the HEAD versions of org.eclipse.stp.bpmn,
>>> org.eclipse.stp.bpmn.diagram, and org.eclipse.stp.bpmn.edit. I use
>>> Eclipse 3.3.1.1 with EMF from the Europa Update Site and GMF version
>>> 1.0.3.
>>>
>>> But the code regenerated from "bpmn.gmfgen" contains errors. Do I use
>>> the wrong GMF version?
>>
>> I think we are compatible with GMF 1.0.3. If the code contains errors,
>> it might be because we haven't placed @generated not tags everywhere.
>> In that case, please open a bug report, and feel free to help us nail
>> it down.
>>
>> It's also possible that the changes you added create those problems.
>>
>> At this point, giving more details would help.
>>
>> Thanks,
>>
>> Antoine
>>
>>>
>>> Regards,
>>> Hans
>>>
>>
>>
>>


--
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</a>
Re: Extending STP BPMN [message #610560 is a reply to message #374508] Mon, 21 January 2008 13:39 Go to previous message
Eclipse User
Originally posted by: atoulme.intalio.com

Hans Koerber wrote:
> Hello Antoine,
>
> I would like to add elements to a BPMN diagram in the editor, similar to
> what Milan tries to do.
>
> I checked out the HEAD versions of org.eclipse.stp.bpmn,
> org.eclipse.stp.bpmn.diagram, and org.eclipse.stp.bpmn.edit. I use
> Eclipse 3.3.1.1 with EMF from the Europa Update Site and GMF version 1.0.3.
>
> But the code regenerated from "bpmn.gmfgen" contains errors. Do I use
> the wrong GMF version?

I think we are compatible with GMF 1.0.3. If the code contains errors,
it might be because we haven't placed @generated not tags everywhere.
In that case, please open a bug report, and feel free to help us nail it
down.

It's also possible that the changes you added create those problems.

At this point, giving more details would help.

Thanks,

Antoine

>
> Regards,
> Hans
>



--
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</a>
Re: Extending STP BPMN [message #610563 is a reply to message #374509] Wed, 23 January 2008 11:11 Go to previous message
No real name is currently offline No real name
Messages: 20
Registered: July 2009
Junior Member
Antoine,

Thanks for your response.

I did not add any changes prior to diagram code generation so your idea
that the errors are due to missing "@generated not" tags seems to be the
right one. I opened a bug report just as you advised me to do
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=216164).

I have two identical Eclipse installations on my computer one with and
one without BPMN diagram editor installed. When I execute the checkout
version 0.7.0 of the BPMN editor on the latter Eclipse installation, it
exhibits a strange behaviour concerning selections: graphical elements
are not selected and the selection area borders are not removed. The
Eclipse installation with the Europa version of STP (apparently also
0.7.0) from the Europa Discovery Site works fine, though.

Is there something wrong with the editor I checked out (Subversion
release number 1219)? I would like to be sure to use exactly the version
of STP that I download from the Europa Discovery Site.

Regards,
Hans

Antoine Toulme wrote:
> Hans Koerber wrote:
>> Hello Antoine,
>>
>> I would like to add elements to a BPMN diagram in the editor, similar
>> to what Milan tries to do.
>>
>> I checked out the HEAD versions of org.eclipse.stp.bpmn,
>> org.eclipse.stp.bpmn.diagram, and org.eclipse.stp.bpmn.edit. I use
>> Eclipse 3.3.1.1 with EMF from the Europa Update Site and GMF version
>> 1.0.3.
>>
>> But the code regenerated from "bpmn.gmfgen" contains errors. Do I use
>> the wrong GMF version?
>
> I think we are compatible with GMF 1.0.3. If the code contains errors,
> it might be because we haven't placed @generated not tags everywhere.
> In that case, please open a bug report, and feel free to help us nail it
> down.
>
> It's also possible that the changes you added create those problems.
>
> At this point, giving more details would help.
>
> Thanks,
>
> Antoine
>
>>
>> Regards,
>> Hans
>>
>
>
>
Re: Extending STP BPMN [message #610565 is a reply to message #374512] Wed, 30 January 2008 19:06 Go to previous message
Eclipse User
Originally posted by: atoulme.intalio.com

Hans Koerber wrote:
> Antoine,
>
> Thanks for your response.
>
> I did not add any changes prior to diagram code generation so your idea
> that the errors are due to missing "@generated not" tags seems to be the
> right one. I opened a bug report just as you advised me to do
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=216164).
>
> I have two identical Eclipse installations on my computer one with and
> one without BPMN diagram editor installed. When I execute the checkout
> version 0.7.0 of the BPMN editor on the latter Eclipse installation, it
> exhibits a strange behaviour concerning selections: graphical elements
> are not selected and the selection area borders are not removed. The
> Eclipse installation with the Europa version of STP (apparently also
> 0.7.0) from the Europa Discovery Site works fine, though.
>
> Is there something wrong with the editor I checked out (Subversion
> release number 1219)? I would like to be sure to use exactly the version
> of STP that I download from the Europa Discovery Site.
Hi Hans,

we switched from CVS to SVN since Europa, so I don't really know how to
obtain the tag that must have been created for Europa.

Can you please tell me more about the problem you are experiencing ? Do
you have an issue seleting subprocess by selecting its compartment ?
This is actually a feature :) to be able to do multi selection into a
subprocess. To move the subprocess, you need to select it on a side, by
the name compartment or the border compartment.

If you have a better behavior in mind or something to propose, please
feel free to open a bug.

Cheers,

Antoine

>
> Regards,
> Hans
>
> Antoine Toulme wrote:
>> Hans Koerber wrote:
>>> Hello Antoine,
>>>
>>> I would like to add elements to a BPMN diagram in the editor, similar
>>> to what Milan tries to do.
>>>
>>> I checked out the HEAD versions of org.eclipse.stp.bpmn,
>>> org.eclipse.stp.bpmn.diagram, and org.eclipse.stp.bpmn.edit. I use
>>> Eclipse 3.3.1.1 with EMF from the Europa Update Site and GMF version
>>> 1.0.3.
>>>
>>> But the code regenerated from "bpmn.gmfgen" contains errors. Do I use
>>> the wrong GMF version?
>>
>> I think we are compatible with GMF 1.0.3. If the code contains errors,
>> it might be because we haven't placed @generated not tags everywhere.
>> In that case, please open a bug report, and feel free to help us nail
>> it down.
>>
>> It's also possible that the changes you added create those problems.
>>
>> At this point, giving more details would help.
>>
>> Thanks,
>>
>> Antoine
>>
>>>
>>> Regards,
>>> Hans
>>>
>>
>>
>>


--
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</a>
Previous Topic:STP EID & IM integration plans
Next Topic:JAX-WS RI 2.1.2 Create WSDL Error
Goto Forum:
  


Current Time: Sat Apr 19 08:47:01 EDT 2014

Powered by FUDForum. Page generated in 0.01948 seconds