Use of org.eclipse.bpel.common.model [message #2688] |
Fri, 10 February 2006 03:44  |
Eclipse User |
|
|
|
This is a multipart message in MIME format.
--=_alternative 00300AECC1257111_=
Content-Type: text/plain; charset="US-ASCII"
Hi,
I have had a look at the initial code of the editor especially the model
as I was looking for the model extension hooks. I suppose the extension
points are not specified yet, is that right? I see serializer and
deserializer interfaces for extensions but not registration facility (EP)
for them. Anyways, my question is more focussed on the plugin
org.eclipse.bpel.common.model. It looks like it is an extension model.
However I can not really see how that would interact with the BPEL model
and how one would use it. Or what is the purpose ? :-)
Speaking of extensions and extensibility I have another question/request.
Given there will be a notification mechanism for third party extensions to
the model I would like to see a mechanism that not only allows for
tracking changes in the model but also hook in to a command that is
executed. The scenario is the following: I have an extension to the model
(e.g. a new activity). Now I would like to get notified about changes in
the bpel model to update my model respectively. In order to update my
model I would like to "participate" in a command for the reason that the
whole change (bpel model and my model) would appear as one change
(transaction) and even more important could be rolled back simply undoing
the whole command.
Is there any plan do implement sth like that ?
Thx so far,
Regards,
--Philipp
--=_alternative 00300AECC1257111_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I have had a look at the initial code
of the editor especially the model as I was looking for the model extension
hooks. I suppose the extension points are not specified yet, is that right?
I see serializer and deserializer interfaces for extensions but not registration
facility (EP) for them. Anyways, my question is more focussed on the plugin
org.eclipse.bpel.common.model. It looks like it is an extension model.
However I can not really see how that would interact with the BPEL model
and how one would use it. Or what is the purpose ? :-)</font>
<br>
<br><font size=2 face="sans-serif">Speaking of extensions and extensibility
I have another question/request. Given there will be a notification mechanism
for third party extensions to the model I would like to see a mechanism
that not only allows for tracking changes in the model but also hook in
to a command that is executed. The scenario is the following: I have an
extension to the model (e.g. a new activity). Now I would like to get notified
about changes in the bpel model to update my model respectively. In order
to update my model I would like to "participate" in a command
for the reason that the whole change (bpel model and my model) would appear
as one change (transaction) and even more important could be rolled back
simply undoing the whole command. </font>
<br>
<br><font size=2 face="sans-serif">Is there any plan do implement sth like
that ?</font>
<br>
<br><font size=2 face="sans-serif">Thx so far,</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">--Philipp</font>
--=_alternative 00300AECC1257111_=--
|
|
|
Re: Use of org.eclipse.bpel.common.model [message #2709 is a reply to message #2688] |
Mon, 13 February 2006 14:17   |
Eclipse User |
|
|
|
Hi Philipp!
philipp_tiedt@de.ibm.com wrote:
>
> Hi,
>
> I have had a look at the initial code of the editor especially the model
> as I was looking for the model extension hooks. I suppose the extension
> points are not specified yet, is that right? I see serializer and
> deserializer interfaces for extensions but not registration facility
> (EP) for them. Anyways, my question is more focussed on the plugin
> org.eclipse.bpel.common.model. It looks like it is an extension model.
> However I can not really see how that would interact with the BPEL model
> and how one would use it. Or what is the purpose ? :-)
In the BPEL editor, we sometimes need to persist visual information and
hints. For obvious reasons, we don't want to put these into the BPEL
file. Instead we chose an extensions file (in our case, our .bpelex
file). The common.model plug-in is a general extension model framework
for xmi-serialized extension models which live in a separate file from
the main file yet which is semantically linked to the model elements.
Our particular instantiation of this framework lives in the
org.eclipse.bpel.ui, in the *.uiextensionmodel packages - this small
model (a) sits on top of the common.model framework, (b) holds UI hints
for the bpel, and (c) [de]serializes to the .bpelex file. For examples
of how these extensions are used, have a look in BPELEditor, and look at
usages of the class ExtensionMap within the editor. If you have any
questions about this please let me know.
Regarding the general model extensions for bpel (that is, for actual
syntactic extensions that live in the bpel file), our support will be
evolving as we progress through the milestone plan, but right now it
should be possible to add new activities, new extensibility elements to
existing activities (and other elements), and to display these in the
UI. For more information about the current support, have a look at the
design documents on the BPEL web page (www.eclipse.org/bpel/), and feel
free to ask questions here. I'll also mention that our model now
implements OASIS issue 111 regarding a new syntax for extension
activities. We haven't tried adding UI for an activity specified in such
a way, but I don't know of any reason why it wouldn't work. If you see
any issues please let us know as we're most interested in making this work.
> Speaking of extensions and extensibility I have another
> question/request. Given there will be a notification mechanism for third
> party extensions to the model I would like to see a mechanism that not
> only allows for tracking changes in the model but also hook in to a
> command that is executed. The scenario is the following: I have an
> extension to the model (e.g. a new activity). Now I would like to get
> notified about changes in the bpel model to update my model
> respectively. In order to update my model I would like to "participate"
> in a command for the reason that the whole change (bpel model and my
> model) would appear as one change (transaction) and even more important
> could be rolled back simply undoing the whole command.
>
> Is there any plan do implement sth like that ?
I just chatted about this with Wylie, and I'll leave it to him to follow
up on some ideas he had.
james
|
|
|
|
|
|
|
|
Re: Use of org.eclipse.bpel.common.model [message #3446 is a reply to message #3412] |
Mon, 27 February 2006 17:16  |
Eclipse User |
|
|
|
Thanks Philipp. Using, commenting and opening bugs is already a great
help. Contributions of patches and code are also welcome. :) I'll let
you know if we need anything specific in this area.
Rodrigo
philipp_tiedt@de.ibm.com wrote:
>
> Thx Rodrigo,
>
> Pls. Let me know if you need any help. I would be more than happy to
> contribute to this project.
>
> Regards,
> -philipp
|
|
|
Powered by
FUDForum. Page generated in 0.02842 seconds