Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Java WorkFlow Tooling (JWT) » Pluggable grammars and graphical representations
Pluggable grammars and graphical representations [message #17723] Thu, 19 January 2006 01:32 Go to next message
Eclipse UserFriend
Originally posted by: rzulauf.objeng.ch

Dear Fabrice and all

just to give you an update on the progress I have made so far:

Following the MVC paradigm and the inherent support of it in GEF we will
obviously need to create the following packages:

- process model
- process edit parts
- process figures

The tricky thing about pluggable grammars and graphical representations
will be the fact that both model and figures are not static, ie. change
depending on current grammar and representation. This means that the
edit parts and all other GEF elements as well sort of inherit this
dynamic characteristic.

The solution I have come up with so far is to work heavily interface
based and provide factories which create concrete model objects, edit
parts and figures of the correct type, depending on grammar and
representation. It is sort of hard to put into words how this works exactly.

I am working on a proof of concept (GEF based editor) and as soon as it
is more or less workable I will provide a class diagram and detailed
description of the concepts that I employed.

Best regards,
Roman
Re: Pluggable grammars and graphical representations [message #19526 is a reply to message #17723] Tue, 24 January 2006 10:41 Go to previous message
Eclipse UserFriend
Originally posted by: fabrice.dewasmes.openwide.fr

Roman Zulauf wrote:
> Dear Fabrice and all
>
> just to give you an update on the progress I have made so far:

Roman,

sorry for not replying sooner.
>
> Following the MVC paradigm and the inherent support of it in GEF we will
> obviously need to create the following packages:
>
> - process model
> - process edit parts
> - process figures
>
> The tricky thing about pluggable grammars and graphical representations
> will be the fact that both model and figures are not static, ie. change
> depending on current grammar and representation. This means that the
> edit parts and all other GEF elements as well sort of inherit this
> dynamic characteristic.
>
> The solution I have come up with so far is to work heavily interface
> based and provide factories which create concrete model objects, edit
> parts and figures of the correct type, depending on grammar and
> representation. It is sort of hard to put into words how this works
> exactly.

Yes, this is a good approach. I was thinking of an adapter pattern and I
think it is what you ended with, am I wrong ?
>
> I am working on a proof of concept (GEF based editor) and as soon as it
> is more or less workable I will provide a class diagram and detailed
> description of the concepts that I employed.
OK this is fine. As soon you have something could send it to me please ?
I think it would be interesting to add this to the creation review slides.


Thanks for your help !

Best regards,

Fabrice
>
> Best regards,
> Roman
Previous Topic:how to dig contributions?
Next Topic:I am think about EMF
Goto Forum:
  


Current Time: Fri Oct 11 01:47:27 GMT 2024

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

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

Back to the top