Home » Archived » Service Oriented Architecture Tools Platform (STP) » How do I execute BPEL2BPMNGenerator ?
|
Re: How do I execute BPEL2BPMNGenerator ? [message #374340 is a reply to message #374339] |
Fri, 16 November 2007 08:04 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi Hans,
the BPEL2BPMNGenerator uses the IDnDHandler extension point.
To generate BPMN out of a BPEL file,
create a project, in which you create both a bpmn diagram and paste a
bpel file.
Then you drag and drop the BPEL file over the diagram.
If you want to know more about BPMN shapes generation, best is to look
at the API that the sample uses.
Thanks,
Antoine
Hans Koerber wrote:
> Hello,
>
> I'm interested in programmatically generating BPMN (out of nothing).
>
> I found the BPEL2BPMNGenerator class at
> http://wiki.eclipse.org/index.php/STP_BPMN_Presentation_%28P art_2%29#Generating_BPMN
> as an example of how to produce BPMN from a BPEL specification. I
> managed to compile this and related classes that I downloaded from the
> STP project repository. But I have absolutely no idea what kind of
> application these classes represent. In other words: How do I actually
> get these classes to run?
>
> Thanks in advance,
> 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: How do I execute BPEL2BPMNGenerator ? [message #374344 is a reply to message #374341] |
Mon, 19 November 2007 17:43 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi,
we have no documentation regarding that generator.
we aren't 1.0 yet, so the API isn't frozen.
The API is quite simple though.
You build an existing model or create a new model, depending how you
initialize the generator, then you add elements to it by doing
Pool p = gen.addPool("name");
Activity a = gen.addActivity(p, a, "Activity");
when you are done generating, you generate the views.
gen.generateViews();
Please open a bug to that regard, and eventually contribute a wiki page ?
Thanks,
Antoine
Hans Koerber wrote:
> Antoine,
>
> Thank you for your response.
>
> Antoine Toulme wrote:
>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>
> Is this extension point explained with the API that you mention below?
>
>> If you want to know more about BPMN shapes generation, best is to look
>> at the API that the sample uses.
>
> Is this the "API to programmatically generate BPMN"? I can't find a
> pointer to the API documentation in the internet. Could you please
> provide me one?
>
>>
>> Thanks,
> 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: How do I execute BPEL2BPMNGenerator ? [message #374354 is a reply to message #374339] |
Wed, 28 November 2007 23:28 |
No real name Messages: 20 Registered: July 2009 |
Junior Member |
|
|
Hello,
In an earlier post, Antoine describes the usage of the
BPEL2BPMNGenerator class once the plug-in has been installed
successfully. In this post I will respond to the other part of my
question, that is, how to get the plug-in running.
Not sure if the following remarks are commonplace for the initiated
plug-in/STP developer. Anyway, here's my short "Howto execute the
BPEL2BPMNGenerator":
1) I downloaded and installed Eclipse version 3.3.1.1 and used the
update manager to add the STP plug-ins. To this end the "Europa
discovery site" served well because with it I could "Select Required"
packages automatically (I failed to install STP manually with downloads
from http://download.eclipse.org/stp/downloads/ because of missing
plug-ins that I will probably never know of).
2) I obtained the files of the BPEL2BPMNGenerator exsample from
http://dev.eclipse.org/viewcvs/index.cgi/ (choosing "STP_Project" as the
repository).
3) I edited the plug-in manifest:
a) In the "Build" tab I selected the classes folder, "about.html", and
the "plugin.xml" file to be included in the binary build.
b) In the "Dependencies" tab I added ALL proposed plug-ins and then used
the "Find unused dependencies" feature. I would not have been able to
find the minimum required plug-ins by hand ...
4) I created a run configuration for the plug-in to execute it as an
"Eclipse Application". I very much appreciated the "Validate Plug-ins"
button in the "Plug-ins" tab of the "Run" configuration dialog because
it helped me find out that plug-ins (from the "STP Remote Update Site"
this time, at http://download.eclipse.org/stp/updates/) were still
missing in my Eclipse environment.
5) I also added a line
xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
to the "process" element that was missing in the BPEL example file
provided with the BPEL2BPMNGenerator example.
6) To finish, I proceeded as Antoine describes to convert the BPEL
example into a BPMN diagram. The plug-in revealed itself operational by
proposing a "Generate BPMN Shapes From The BPEL File" entry in the menu
after dropping the BPEL file in the diagram.
Regards,
Hans
Hans Koerber wrote:
> Hello,
>
> I'm interested in programmatically generating BPMN (out of nothing).
>
> I found the BPEL2BPMNGenerator class at
> http://wiki.eclipse.org/index.php/STP_BPMN_Presentation_%28P art_2%29#Generating_BPMN
> as an example of how to produce BPMN from a BPEL specification. I
> managed to compile this and related classes that I downloaded from the
> STP project repository. But I have absolutely no idea what kind of
> application these classes represent. In other words: How do I actually
> get these classes to run?
>
> Thanks in advance,
> Hans
|
|
|
Re: How do I execute BPEL2BPMNGenerator ? [message #374377 is a reply to message #374344] |
Wed, 12 December 2007 14:07 |
No real name Messages: 20 Registered: July 2009 |
Junior Member |
|
|
Antoine,
I wrote a small plug-in (or rather: I had Eclipse write it for me) that
adds a pool and a task to an existing diagram (see below). It differs
slightly from what you described in your previous post. Is this an
indication of the rapidity in which the API changes? :-)
Is programmatic diagram generation with the Intalio Designer possible in
the same way as with STP? Is it possible to plug into the Designer in
order to a) traverse a diagram edited with the Designer b) insert
diagram elements specific to the Designer into a diagram there? Could
you give me a hint on how to achieve this?
Thank you again in advance.
Regards,
Hans
---------------
Antoine Toulme wrote:
> Hi,
>
> we have no documentation regarding that generator.
> we aren't 1.0 yet, so the API isn't frozen.
>
> The API is quite simple though.
>
> You build an existing model or create a new model, depending how you
> initialize the generator, then you add elements to it by doing
>
> Pool p = gen.addPool("name");
> Activity a = gen.addActivity(p, a, "Activity");
>
> when you are done generating, you generate the views.
> gen.generateViews();
>
>
>
> Please open a bug to that regard, and eventually contribute a wiki page ?
>
> Thanks,
>
> Antoine
>
> Hans Koerber wrote:
>> Antoine,
>>
>> Thank you for your response.
>>
>> Antoine Toulme wrote:
>>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>>
>> Is this extension point explained with the API that you mention below?
>>
>>> If you want to know more about BPMN shapes generation, best is to
>>> look at the API that the sample uses.
>>
>> Is this the "API to programmatically generate BPMN"? I can't find a
>> pointer to the API documentation in the internet. Could you please
>> provide me one?
>>
>>>
>>> Thanks,
>> Hans
>
>
|
|
|
Re: How do I execute BPEL2BPMNGenerator ? [message #374379 is a reply to message #374377] |
Wed, 12 December 2007 14:33 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hans Koerber wrote:
> Antoine,
>
> I wrote a small plug-in (or rather: I had Eclipse write it for me) that
> adds a pool and a task to an existing diagram (see below). It differs
> slightly from what you described in your previous post. Is this an
> indication of the rapidity in which the API changes? :-)
We had to redo the drag and drop six months ago to have a better CPU
use. :) Sorry for the inconvenience, we did not have the time to rewrite
the tutorial accordingly.
>
> Is programmatic diagram generation with the Intalio Designer possible in
> the same way as with STP?
Yes, because Intalio is based on the STP BPMN modeler.
Is it possible to plug into the Designer in
> order to a) traverse a diagram edited with the Designer b) insert
> diagram elements specific to the Designer into a diagram there? Could
> you give me a hint on how to achieve this?
You can today open the Intalio designer and drop your BPEL file into it,
it should work.
Antoine
>
> Thank you again in advance.
>
> Regards,
> Hans
>
> ---------------
>
>
>
> Antoine Toulme wrote:
>> Hi,
>>
>> we have no documentation regarding that generator.
>> we aren't 1.0 yet, so the API isn't frozen.
>>
>> The API is quite simple though.
>>
>> You build an existing model or create a new model, depending how you
>> initialize the generator, then you add elements to it by doing
>>
>> Pool p = gen.addPool("name");
>> Activity a = gen.addActivity(p, a, "Activity");
>>
>> when you are done generating, you generate the views.
>> gen.generateViews();
>>
>>
>>
>> Please open a bug to that regard, and eventually contribute a wiki page ?
>>
>> Thanks,
>>
>> Antoine
>>
>> Hans Koerber wrote:
>>> Antoine,
>>>
>>> Thank you for your response.
>>>
>>> Antoine Toulme wrote:
>>>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>>>
>>> Is this extension point explained with the API that you mention below?
>>>
>>>> If you want to know more about BPMN shapes generation, best is to
>>>> look at the API that the sample uses.
>>>
>>> Is this the "API to programmatically generate BPMN"? I can't find a
>>> pointer to the API documentation in the internet. Could you please
>>> provide me one?
>>>
>>>>
>>>> Thanks,
>>> 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: How do I execute BPEL2BPMNGenerator ? [message #374388 is a reply to message #374379] |
Thu, 13 December 2007 16:45 |
No real name Messages: 20 Registered: July 2009 |
Junior Member |
|
|
Hello Antoine,
my plug-in adds an entry to the main menu using the following extensions:
org.eclipse.ui.commands
org.eclipse.ui.handlers
org.eclipse.ui.bindings
org.eclipse.ui.menus
It works fine with Eclipse 3.3.1 "Europa" but not with the Intalio
Designer 5.0 Beta. I don't understand why this is so?
Also, I would like to create BPMN diagrams in the Designer just using
the API and without transforming any BPEL files. Are there additional
API functions that I can use to create diagram elements specific to the
Designer just like I used methods of class BPMNVisual2ProcessGenerator
to create pools, tasks, etc?
Does sample code exist for Intalio Designer that demonstrates how this
can be achieved?
Thank you in advance.
Regards,
Hans
Antoine Toulme wrote:
> Hans Koerber wrote:
>> Antoine,
>>
>> I wrote a small plug-in (or rather: I had Eclipse write it for me)
>> that adds a pool and a task to an existing diagram (see below). It
>> differs slightly from what you described in your previous post. Is
>> this an indication of the rapidity in which the API changes? :-)
> We had to redo the drag and drop six months ago to have a better CPU
> use. :) Sorry for the inconvenience, we did not have the time to rewrite
> the tutorial accordingly.
>
>>
>> Is programmatic diagram generation with the Intalio Designer possible
>> in the same way as with STP?
> Yes, because Intalio is based on the STP BPMN modeler.
> Is it possible to plug into the Designer in
>> order to a) traverse a diagram edited with the Designer b) insert
>> diagram elements specific to the Designer into a diagram there? Could
>> you give me a hint on how to achieve this?
> You can today open the Intalio designer and drop your BPEL file into it,
> it should work.
>
> Antoine
>>
>> Thank you again in advance.
>>
>> Regards,
>> Hans
>>
>> ---------------
>>
>>
>>
>> Antoine Toulme wrote:
>>> Hi,
>>>
>>> we have no documentation regarding that generator.
>>> we aren't 1.0 yet, so the API isn't frozen.
>>>
>>> The API is quite simple though.
>>>
>>> You build an existing model or create a new model, depending how you
>>> initialize the generator, then you add elements to it by doing
>>>
>>> Pool p = gen.addPool("name");
>>> Activity a = gen.addActivity(p, a, "Activity");
>>>
>>> when you are done generating, you generate the views.
>>> gen.generateViews();
>>>
>>>
>>>
>>> Please open a bug to that regard, and eventually contribute a wiki
>>> page ?
>>>
>>> Thanks,
>>>
>>> Antoine
>>>
>>> Hans Koerber wrote:
>>>> Antoine,
>>>>
>>>> Thank you for your response.
>>>>
>>>> Antoine Toulme wrote:
>>>>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>>>>
>>>> Is this extension point explained with the API that you mention below?
>>>>
>>>>> If you want to know more about BPMN shapes generation, best is to
>>>>> look at the API that the sample uses.
>>>>
>>>> Is this the "API to programmatically generate BPMN"? I can't find a
>>>> pointer to the API documentation in the internet. Could you please
>>>> provide me one?
>>>>
>>>>>
>>>>> Thanks,
>>>> Hans
>>>
>>>
>
>
|
|
|
Re: How do I execute BPEL2BPMNGenerator ? [message #374398 is a reply to message #374388] |
Thu, 13 December 2007 17:08 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hans,
all those questions are about a closed source product. If you need help
on Designer, please contact Intalio professional services.
We have an awesome service, and we reply faster than here.
Thanks,
Antoine
Hans Koerber wrote:
> Hello Antoine,
>
> my plug-in adds an entry to the main menu using the following extensions:
> org.eclipse.ui.commands
> org.eclipse.ui.handlers
> org.eclipse.ui.bindings
> org.eclipse.ui.menus
> It works fine with Eclipse 3.3.1 "Europa" but not with the Intalio
> Designer 5.0 Beta. I don't understand why this is so?
>
> Also, I would like to create BPMN diagrams in the Designer just using
> the API and without transforming any BPEL files. Are there additional
> API functions that I can use to create diagram elements specific to the
> Designer just like I used methods of class BPMNVisual2ProcessGenerator
> to create pools, tasks, etc?
>
> Does sample code exist for Intalio Designer that demonstrates how this
> can be achieved?
>
> Thank you in advance.
>
> Regards,
> Hans
>
> Antoine Toulme wrote:
>> Hans Koerber wrote:
>>> Antoine,
>>>
>>> I wrote a small plug-in (or rather: I had Eclipse write it for me)
>>> that adds a pool and a task to an existing diagram (see below). It
>>> differs slightly from what you described in your previous post. Is
>>> this an indication of the rapidity in which the API changes? :-)
>> We had to redo the drag and drop six months ago to have a better CPU
>> use. :) Sorry for the inconvenience, we did not have the time to
>> rewrite the tutorial accordingly.
>>
>>>
>>> Is programmatic diagram generation with the Intalio Designer possible
>>> in the same way as with STP?
>> Yes, because Intalio is based on the STP BPMN modeler.
>> Is it possible to plug into the Designer in
>>> order to a) traverse a diagram edited with the Designer b) insert
>>> diagram elements specific to the Designer into a diagram there? Could
>>> you give me a hint on how to achieve this?
>> You can today open the Intalio designer and drop your BPEL file into
>> it, it should work.
>>
>> Antoine
>>>
>>> Thank you again in advance.
>>>
>>> Regards,
>>> Hans
>>>
>>> ---------------
>>>
>>>
>>>
>>> Antoine Toulme wrote:
>>>> Hi,
>>>>
>>>> we have no documentation regarding that generator.
>>>> we aren't 1.0 yet, so the API isn't frozen.
>>>>
>>>> The API is quite simple though.
>>>>
>>>> You build an existing model or create a new model, depending how you
>>>> initialize the generator, then you add elements to it by doing
>>>>
>>>> Pool p = gen.addPool("name");
>>>> Activity a = gen.addActivity(p, a, "Activity");
>>>>
>>>> when you are done generating, you generate the views.
>>>> gen.generateViews();
>>>>
>>>>
>>>>
>>>> Please open a bug to that regard, and eventually contribute a wiki
>>>> page ?
>>>>
>>>> Thanks,
>>>>
>>>> Antoine
>>>>
>>>> Hans Koerber wrote:
>>>>> Antoine,
>>>>>
>>>>> Thank you for your response.
>>>>>
>>>>> Antoine Toulme wrote:
>>>>>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>>>>>
>>>>> Is this extension point explained with the API that you mention below?
>>>>>
>>>>>> If you want to know more about BPMN shapes generation, best is to
>>>>>> look at the API that the sample uses.
>>>>>
>>>>> Is this the "API to programmatically generate BPMN"? I can't find a
>>>>> pointer to the API documentation in the internet. Could you please
>>>>> provide me one?
>>>>>
>>>>>>
>>>>>> Thanks,
>>>>> 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: How do I execute BPEL2BPMNGenerator ? [message #602485 is a reply to message #374339] |
Fri, 16 November 2007 08:04 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi Hans,
the BPEL2BPMNGenerator uses the IDnDHandler extension point.
To generate BPMN out of a BPEL file,
create a project, in which you create both a bpmn diagram and paste a
bpel file.
Then you drag and drop the BPEL file over the diagram.
If you want to know more about BPMN shapes generation, best is to look
at the API that the sample uses.
Thanks,
Antoine
Hans Koerber wrote:
> Hello,
>
> I'm interested in programmatically generating BPMN (out of nothing).
>
> I found the BPEL2BPMNGenerator class at
> http://wiki.eclipse.org/index.php/STP_BPMN_Presentation_%28P art_2%29#Generating_BPMN
> as an example of how to produce BPMN from a BPEL specification. I
> managed to compile this and related classes that I downloaded from the
> STP project repository. But I have absolutely no idea what kind of
> application these classes represent. In other words: How do I actually
> get these classes to run?
>
> Thanks in advance,
> 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: How do I execute BPEL2BPMNGenerator ? [message #602506 is a reply to message #374341] |
Mon, 19 November 2007 17:43 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi,
we have no documentation regarding that generator.
we aren't 1.0 yet, so the API isn't frozen.
The API is quite simple though.
You build an existing model or create a new model, depending how you
initialize the generator, then you add elements to it by doing
Pool p = gen.addPool("name");
Activity a = gen.addActivity(p, a, "Activity");
when you are done generating, you generate the views.
gen.generateViews();
Please open a bug to that regard, and eventually contribute a wiki page ?
Thanks,
Antoine
Hans Koerber wrote:
> Antoine,
>
> Thank you for your response.
>
> Antoine Toulme wrote:
>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>
> Is this extension point explained with the API that you mention below?
>
>> If you want to know more about BPMN shapes generation, best is to look
>> at the API that the sample uses.
>
> Is this the "API to programmatically generate BPMN"? I can't find a
> pointer to the API documentation in the internet. Could you please
> provide me one?
>
>>
>> Thanks,
> 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: How do I execute BPEL2BPMNGenerator ? [message #602556 is a reply to message #374339] |
Wed, 28 November 2007 23:28 |
No real name Messages: 20 Registered: July 2009 |
Junior Member |
|
|
Hello,
In an earlier post, Antoine describes the usage of the
BPEL2BPMNGenerator class once the plug-in has been installed
successfully. In this post I will respond to the other part of my
question, that is, how to get the plug-in running.
Not sure if the following remarks are commonplace for the initiated
plug-in/STP developer. Anyway, here's my short "Howto execute the
BPEL2BPMNGenerator":
1) I downloaded and installed Eclipse version 3.3.1.1 and used the
update manager to add the STP plug-ins. To this end the "Europa
discovery site" served well because with it I could "Select Required"
packages automatically (I failed to install STP manually with downloads
from http://download.eclipse.org/stp/downloads/ because of missing
plug-ins that I will probably never know of).
2) I obtained the files of the BPEL2BPMNGenerator exsample from
http://dev.eclipse.org/viewcvs/index.cgi/ (choosing "STP_Project" as the
repository).
3) I edited the plug-in manifest:
a) In the "Build" tab I selected the classes folder, "about.html", and
the "plugin.xml" file to be included in the binary build.
b) In the "Dependencies" tab I added ALL proposed plug-ins and then used
the "Find unused dependencies" feature. I would not have been able to
find the minimum required plug-ins by hand ...
4) I created a run configuration for the plug-in to execute it as an
"Eclipse Application". I very much appreciated the "Validate Plug-ins"
button in the "Plug-ins" tab of the "Run" configuration dialog because
it helped me find out that plug-ins (from the "STP Remote Update Site"
this time, at http://download.eclipse.org/stp/updates/) were still
missing in my Eclipse environment.
5) I also added a line
xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
to the "process" element that was missing in the BPEL example file
provided with the BPEL2BPMNGenerator example.
6) To finish, I proceeded as Antoine describes to convert the BPEL
example into a BPMN diagram. The plug-in revealed itself operational by
proposing a "Generate BPMN Shapes From The BPEL File" entry in the menu
after dropping the BPEL file in the diagram.
Regards,
Hans
Hans Koerber wrote:
> Hello,
>
> I'm interested in programmatically generating BPMN (out of nothing).
>
> I found the BPEL2BPMNGenerator class at
> http://wiki.eclipse.org/index.php/STP_BPMN_Presentation_%28P art_2%29#Generating_BPMN
> as an example of how to produce BPMN from a BPEL specification. I
> managed to compile this and related classes that I downloaded from the
> STP project repository. But I have absolutely no idea what kind of
> application these classes represent. In other words: How do I actually
> get these classes to run?
>
> Thanks in advance,
> Hans
|
|
|
Re: How do I execute BPEL2BPMNGenerator ? [message #605714 is a reply to message #374344] |
Wed, 12 December 2007 14:07 |
No real name Messages: 20 Registered: July 2009 |
Junior Member |
|
|
Antoine,
I wrote a small plug-in (or rather: I had Eclipse write it for me) that
adds a pool and a task to an existing diagram (see below). It differs
slightly from what you described in your previous post. Is this an
indication of the rapidity in which the API changes? :-)
Is programmatic diagram generation with the Intalio Designer possible in
the same way as with STP? Is it possible to plug into the Designer in
order to a) traverse a diagram edited with the Designer b) insert
diagram elements specific to the Designer into a diagram there? Could
you give me a hint on how to achieve this?
Thank you again in advance.
Regards,
Hans
---------------
Antoine Toulme wrote:
> Hi,
>
> we have no documentation regarding that generator.
> we aren't 1.0 yet, so the API isn't frozen.
>
> The API is quite simple though.
>
> You build an existing model or create a new model, depending how you
> initialize the generator, then you add elements to it by doing
>
> Pool p = gen.addPool("name");
> Activity a = gen.addActivity(p, a, "Activity");
>
> when you are done generating, you generate the views.
> gen.generateViews();
>
>
>
> Please open a bug to that regard, and eventually contribute a wiki page ?
>
> Thanks,
>
> Antoine
>
> Hans Koerber wrote:
>> Antoine,
>>
>> Thank you for your response.
>>
>> Antoine Toulme wrote:
>>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>>
>> Is this extension point explained with the API that you mention below?
>>
>>> If you want to know more about BPMN shapes generation, best is to
>>> look at the API that the sample uses.
>>
>> Is this the "API to programmatically generate BPMN"? I can't find a
>> pointer to the API documentation in the internet. Could you please
>> provide me one?
>>
>>>
>>> Thanks,
>> Hans
>
>
|
|
|
Re: How do I execute BPEL2BPMNGenerator ? [message #605717 is a reply to message #374377] |
Wed, 12 December 2007 14:33 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hans Koerber wrote:
> Antoine,
>
> I wrote a small plug-in (or rather: I had Eclipse write it for me) that
> adds a pool and a task to an existing diagram (see below). It differs
> slightly from what you described in your previous post. Is this an
> indication of the rapidity in which the API changes? :-)
We had to redo the drag and drop six months ago to have a better CPU
use. :) Sorry for the inconvenience, we did not have the time to rewrite
the tutorial accordingly.
>
> Is programmatic diagram generation with the Intalio Designer possible in
> the same way as with STP?
Yes, because Intalio is based on the STP BPMN modeler.
Is it possible to plug into the Designer in
> order to a) traverse a diagram edited with the Designer b) insert
> diagram elements specific to the Designer into a diagram there? Could
> you give me a hint on how to achieve this?
You can today open the Intalio designer and drop your BPEL file into it,
it should work.
Antoine
>
> Thank you again in advance.
>
> Regards,
> Hans
>
> ---------------
>
>
>
> Antoine Toulme wrote:
>> Hi,
>>
>> we have no documentation regarding that generator.
>> we aren't 1.0 yet, so the API isn't frozen.
>>
>> The API is quite simple though.
>>
>> You build an existing model or create a new model, depending how you
>> initialize the generator, then you add elements to it by doing
>>
>> Pool p = gen.addPool("name");
>> Activity a = gen.addActivity(p, a, "Activity");
>>
>> when you are done generating, you generate the views.
>> gen.generateViews();
>>
>>
>>
>> Please open a bug to that regard, and eventually contribute a wiki page ?
>>
>> Thanks,
>>
>> Antoine
>>
>> Hans Koerber wrote:
>>> Antoine,
>>>
>>> Thank you for your response.
>>>
>>> Antoine Toulme wrote:
>>>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>>>
>>> Is this extension point explained with the API that you mention below?
>>>
>>>> If you want to know more about BPMN shapes generation, best is to
>>>> look at the API that the sample uses.
>>>
>>> Is this the "API to programmatically generate BPMN"? I can't find a
>>> pointer to the API documentation in the internet. Could you please
>>> provide me one?
>>>
>>>>
>>>> Thanks,
>>> 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: How do I execute BPEL2BPMNGenerator ? [message #605723 is a reply to message #374379] |
Thu, 13 December 2007 16:45 |
No real name Messages: 20 Registered: July 2009 |
Junior Member |
|
|
Hello Antoine,
my plug-in adds an entry to the main menu using the following extensions:
org.eclipse.ui.commands
org.eclipse.ui.handlers
org.eclipse.ui.bindings
org.eclipse.ui.menus
It works fine with Eclipse 3.3.1 "Europa" but not with the Intalio
Designer 5.0 Beta. I don't understand why this is so?
Also, I would like to create BPMN diagrams in the Designer just using
the API and without transforming any BPEL files. Are there additional
API functions that I can use to create diagram elements specific to the
Designer just like I used methods of class BPMNVisual2ProcessGenerator
to create pools, tasks, etc?
Does sample code exist for Intalio Designer that demonstrates how this
can be achieved?
Thank you in advance.
Regards,
Hans
Antoine Toulme wrote:
> Hans Koerber wrote:
>> Antoine,
>>
>> I wrote a small plug-in (or rather: I had Eclipse write it for me)
>> that adds a pool and a task to an existing diagram (see below). It
>> differs slightly from what you described in your previous post. Is
>> this an indication of the rapidity in which the API changes? :-)
> We had to redo the drag and drop six months ago to have a better CPU
> use. :) Sorry for the inconvenience, we did not have the time to rewrite
> the tutorial accordingly.
>
>>
>> Is programmatic diagram generation with the Intalio Designer possible
>> in the same way as with STP?
> Yes, because Intalio is based on the STP BPMN modeler.
> Is it possible to plug into the Designer in
>> order to a) traverse a diagram edited with the Designer b) insert
>> diagram elements specific to the Designer into a diagram there? Could
>> you give me a hint on how to achieve this?
> You can today open the Intalio designer and drop your BPEL file into it,
> it should work.
>
> Antoine
>>
>> Thank you again in advance.
>>
>> Regards,
>> Hans
>>
>> ---------------
>>
>>
>>
>> Antoine Toulme wrote:
>>> Hi,
>>>
>>> we have no documentation regarding that generator.
>>> we aren't 1.0 yet, so the API isn't frozen.
>>>
>>> The API is quite simple though.
>>>
>>> You build an existing model or create a new model, depending how you
>>> initialize the generator, then you add elements to it by doing
>>>
>>> Pool p = gen.addPool("name");
>>> Activity a = gen.addActivity(p, a, "Activity");
>>>
>>> when you are done generating, you generate the views.
>>> gen.generateViews();
>>>
>>>
>>>
>>> Please open a bug to that regard, and eventually contribute a wiki
>>> page ?
>>>
>>> Thanks,
>>>
>>> Antoine
>>>
>>> Hans Koerber wrote:
>>>> Antoine,
>>>>
>>>> Thank you for your response.
>>>>
>>>> Antoine Toulme wrote:
>>>>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>>>>
>>>> Is this extension point explained with the API that you mention below?
>>>>
>>>>> If you want to know more about BPMN shapes generation, best is to
>>>>> look at the API that the sample uses.
>>>>
>>>> Is this the "API to programmatically generate BPMN"? I can't find a
>>>> pointer to the API documentation in the internet. Could you please
>>>> provide me one?
>>>>
>>>>>
>>>>> Thanks,
>>>> Hans
>>>
>>>
>
>
|
|
|
Re: How do I execute BPEL2BPMNGenerator ? [message #605727 is a reply to message #374388] |
Thu, 13 December 2007 17:08 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hans,
all those questions are about a closed source product. If you need help
on Designer, please contact Intalio professional services.
We have an awesome service, and we reply faster than here.
Thanks,
Antoine
Hans Koerber wrote:
> Hello Antoine,
>
> my plug-in adds an entry to the main menu using the following extensions:
> org.eclipse.ui.commands
> org.eclipse.ui.handlers
> org.eclipse.ui.bindings
> org.eclipse.ui.menus
> It works fine with Eclipse 3.3.1 "Europa" but not with the Intalio
> Designer 5.0 Beta. I don't understand why this is so?
>
> Also, I would like to create BPMN diagrams in the Designer just using
> the API and without transforming any BPEL files. Are there additional
> API functions that I can use to create diagram elements specific to the
> Designer just like I used methods of class BPMNVisual2ProcessGenerator
> to create pools, tasks, etc?
>
> Does sample code exist for Intalio Designer that demonstrates how this
> can be achieved?
>
> Thank you in advance.
>
> Regards,
> Hans
>
> Antoine Toulme wrote:
>> Hans Koerber wrote:
>>> Antoine,
>>>
>>> I wrote a small plug-in (or rather: I had Eclipse write it for me)
>>> that adds a pool and a task to an existing diagram (see below). It
>>> differs slightly from what you described in your previous post. Is
>>> this an indication of the rapidity in which the API changes? :-)
>> We had to redo the drag and drop six months ago to have a better CPU
>> use. :) Sorry for the inconvenience, we did not have the time to
>> rewrite the tutorial accordingly.
>>
>>>
>>> Is programmatic diagram generation with the Intalio Designer possible
>>> in the same way as with STP?
>> Yes, because Intalio is based on the STP BPMN modeler.
>> Is it possible to plug into the Designer in
>>> order to a) traverse a diagram edited with the Designer b) insert
>>> diagram elements specific to the Designer into a diagram there? Could
>>> you give me a hint on how to achieve this?
>> You can today open the Intalio designer and drop your BPEL file into
>> it, it should work.
>>
>> Antoine
>>>
>>> Thank you again in advance.
>>>
>>> Regards,
>>> Hans
>>>
>>> ---------------
>>>
>>>
>>>
>>> Antoine Toulme wrote:
>>>> Hi,
>>>>
>>>> we have no documentation regarding that generator.
>>>> we aren't 1.0 yet, so the API isn't frozen.
>>>>
>>>> The API is quite simple though.
>>>>
>>>> You build an existing model or create a new model, depending how you
>>>> initialize the generator, then you add elements to it by doing
>>>>
>>>> Pool p = gen.addPool("name");
>>>> Activity a = gen.addActivity(p, a, "Activity");
>>>>
>>>> when you are done generating, you generate the views.
>>>> gen.generateViews();
>>>>
>>>>
>>>>
>>>> Please open a bug to that regard, and eventually contribute a wiki
>>>> page ?
>>>>
>>>> Thanks,
>>>>
>>>> Antoine
>>>>
>>>> Hans Koerber wrote:
>>>>> Antoine,
>>>>>
>>>>> Thank you for your response.
>>>>>
>>>>> Antoine Toulme wrote:
>>>>>> the BPEL2BPMNGenerator uses the IDnDHandler extension point.
>>>>>
>>>>> Is this extension point explained with the API that you mention below?
>>>>>
>>>>>> If you want to know more about BPMN shapes generation, best is to
>>>>>> look at the API that the sample uses.
>>>>>
>>>>> Is this the "API to programmatically generate BPMN"? I can't find a
>>>>> pointer to the API documentation in the internet. Could you please
>>>>> provide me one?
>>>>>
>>>>>>
>>>>>> Thanks,
>>>>> 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>
|
|
| | |
Goto Forum:
Current Time: Thu Dec 12 15:05:58 GMT 2024
Powered by FUDForum. Page generated in 0.13276 seconds
|