Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » feasiblility study about automated generating GEF-based Editor?
feasiblility study about automated generating GEF-based Editor? [message #164534] Wed, 19 January 2005 06:38 Go to next message
Eclipse UserFriend
Originally posted by: eureka_zwy.hotmail.com

hi

I'm trying to develop a code generator for GEF-based editor, which is
analony to EMF.editor automated code generation.

I have already searched the web looing for some related topic or
example,but i found nothing.

Is it possible to have GEF-base model Editor automated generation from EMF
moldel? In the process of studying GEF, I feel that different EMF model
have different framework,and the figure of model elements is also
completely different. Besides a EMF model can have different opinions for
different people. For instance, How to map the EMF model to GEF EditPart?
One criterion for making a determination about this mapping to consider
how dynamic the visual behavior of a component needs to be. Then how to
implement the criterion in code genertor?

where can i find some reference article or example?

any help would be very appreciated

Bluetooth Zhang
Re: feasiblility study about automated generating GEF-based Editor? [message #164597 is a reply to message #164534] Wed, 19 January 2005 16:28 Go to previous messageGo to next message
David Sciamma is currently offline David SciammaFriend
Messages: 78
Registered: July 2009
Member
Hi,

We're working on the same topic for the Topcased project (Toolkit in OPen-source for Critical Application & SystEms Development).
The first goal of this project is to provide a modeling tool for different models (very quick description).
This project is a request of Airbus and it will be released under an open-source license.
I'm the designer of the modeling part of the project. Our solution is based on a GEF Editor generator for any EMF model.
We have already develop a prototype and the first available milestone is scheduled for May.
We can already share our feedback on this topic with you : by mail or at the EclipseCon conference (February 28th, 2005 - March 3, 2005).

Kind regards,

--
David Sciamma

Addr : Prologue 2, Rue Ampere
Addr : BP 87216, 31672 LABEGE Cedex
Tel : + 33 (0)5.61.00.73.45 / +33 (0)6.27.39.43.29
Fax : + 33 (0)5.61.00.51.46
Anyware Technologies - http://www.anyware-tech.com


Bluetooth zhang wrote:
> hi
>
> I'm trying to develop a code generator for GEF-based editor, which is
> analony to EMF.editor automated code generation.
>
> I have already searched the web looing for some related topic or
> example,but i found nothing.
>
> Is it possible to have GEF-base model Editor automated generation from
> EMF moldel? In the process of studying GEF, I feel that different EMF
> model have different framework,and the figure of model elements is also
> completely different. Besides a EMF model can have different opinions
> for different people. For instance, How to map the EMF model to GEF
> EditPart? One criterion for making a determination about this mapping to
> consider how dynamic the visual behavior of a component needs to be.
> Then how to implement the criterion in code genertor?
> where can i find some reference article or example?
>
> any help would be very appreciated
>
> Bluetooth Zhang
Re: feasiblility study about automated generating GEF-based Editor? [message #164637 is a reply to message #164597] Wed, 19 January 2005 17:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: borisnews.bokowski.de

You should have a look at openArchitectureWare
(www.openarchitectureware.org). There is a generator for GEF editors buried
in their CVS repository on sourceforge. If you would like to have a look at
a generated editor, you can use the attached team project set to check out
an example.

/Boris


Re: feasiblility study about automated generating GEF-based Editor? [message #164669 is a reply to message #164597] Wed, 19 January 2005 19:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: boby.vt.edu

Hi David,
I am part of a team that is developing automated code generation
tool and would be interested in hearing about your experience and
sharing the ones we have.

Regards
Boby

David Sciamma wrote:
> Hi,
>
> We're working on the same topic for the Topcased project (Toolkit in
> OPen-source for Critical Application & SystEms Development).
> The first goal of this project is to provide a modeling tool for
> different models (very quick description).
> This project is a request of Airbus and it will be released under an
> open-source license.
> I'm the designer of the modeling part of the project. Our solution is
> based on a GEF Editor generator for any EMF model.
> We have already develop a prototype and the first available milestone is
> scheduled for May.
> We can already share our feedback on this topic with you : by mail or at
> the EclipseCon conference (February 28th, 2005 - March 3, 2005).
>
> Kind regards,
>
Re: feasiblility study about automated generating GEF-based Editor? [message #164684 is a reply to message #164669] Wed, 19 January 2005 20:53 Go to previous message
David Sciamma is currently offline David SciammaFriend
Messages: 78
Registered: July 2009
Member
One of my tasks before the EclipseCon will be to summarize the Topcased
architecture into some slides and to made them available to everybody.
There is examples of GEF/EMF editors but nothing about how to generate it.
The main requirement of Airbus is to be able to generate the editor when
the model is modified and to minimize the "hand written" code. Then we
HAVE TO generate editors.
We decided to follow the EMF way to generate : the JET templates.

The main problem in the generation is to do the mapping between the
informations given by the EMF model and the informations required to
generate a full GEF Editor. But many informations are missing.
To fill this gap, we chose to use the same solution as in the EMF plugin
: We use an other model (called EditorConfiguration) (like the GenModel
in GEF) that represents what is a GEF editor.
This model is used as input for the JET templates.

With this approach, we could generate a functional GEF editor that suits
with the constraints defined in the EMF model. But we can't generate the
specific graphic convention required by the model, this part is the only
manual code and represents the customization of the generated editor.

Here is the Topcased development process :
- Defines the EMF model
- Generates the default EMF plugins from the GenModel
- Defines the EditorConfiguration model
- Generates the GEF editor
- Customizes the generated code with the specific graphic requirements
needed by the model

I hope those informations are clear and could help you.
Other informations will be available soon.

David


Boby George wrote:
> Hi David,
> I am part of a team that is developing automated code generation tool
> and would be interested in hearing about your experience and sharing the
> ones we have.
>
> Regards
> Boby
>
> David Sciamma wrote:
>
>> Hi,
>>
>> We're working on the same topic for the Topcased project (Toolkit in
>> OPen-source for Critical Application & SystEms Development).
>> The first goal of this project is to provide a modeling tool for
>> different models (very quick description).
>> This project is a request of Airbus and it will be released under an
>> open-source license.
>> I'm the designer of the modeling part of the project. Our solution is
>> based on a GEF Editor generator for any EMF model.
>> We have already develop a prototype and the first available milestone
>> is scheduled for May.
>> We can already share our feedback on this topic with you : by mail or
>> at the EclipseCon conference (February 28th, 2005 - March 3, 2005).
>>
>> Kind regards,
>>
Previous Topic:how to save palette
Next Topic:Problems with CreationTool and disabled cursor
Goto Forum:
  


Current Time: Sat Apr 27 01:11:20 GMT 2024

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

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

Back to the top