Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF + Tabbed Properties View] Framework to help such collaboration(Does a framework exists to ensure strong combined use of EMF(GMF) editors with Tabbed Properties Views)
[EMF + Tabbed Properties View] Framework to help such collaboration [message #635902] Thu, 28 October 2010 14:53 Go to next message
Maxence VANBÉSIEN is currently offline Maxence VANBÉSIENFriend
Messages: 40
Registered: July 2009
Location: Lille, France
Member
Hello all,

In a quite old project, I used to use EMF 2.2 & GMF 1.0 to provide end-users, a modelling system. Moreover, this modelling system was enriched with a Properties View, developped using the Eclipse Tabbed Properties Framework. This properties view was made available whether the EMF editor or the associated GMF Diagram editor was opened. (In fact it was the same properties view based on EMF framework, that was reused for GMF Editors)

At that time, is was necessary for me to implement a specific framework to deal with such feature. More precisely, this framework was in charge of providing a strong code organization (because raw SWT implementation can become really messy when code is not well organized, or when code is made by people that don't use SWT a lot) , and a synchronization solution in order to ensure natively that the EMF Editor/GMF Diagram is always in sync with the properties view (and conversely), whether the user modified data using the editor or properties view.

Now GMF 2.0 is out, I would like to know if it is still relevant to keep such a home-made component, since the EMF/GMF frameworks may provide the same features natively.

So my question is : Do EMF/GMF provide tools to implement Tabbed Properties Views in a clean & organized way, and are there some tools that can be used to guarantee that the properties / editors are always in sync with each other ?

Of course, if this is not clear, I am available for giving further information.

Thanks a lot in advance for your answer,

Best Regards,

Maxence VANBÉSIEN
Re: [EMF + Tabbed Properties View] Framework to help such collaboration [message #636000 is a reply to message #635902] Thu, 28 October 2010 21:42 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Maxence,

GMF provides a tabbed properties view. These days EEF provides nicer
forms based views.


Maxence Vanbesien wrote:
> Hello all,
> In a quite old project, I used to use EMF 2.2 & GMF 1.0 to provide
> end-users, a modelling system. Moreover, this modelling system was
> enriched with a Properties View, developped using the Eclipse Tabbed
> Properties Framework. This properties view was made available whether
> the EMF editor or the associated GMF Diagram editor was opened. (In
> fact it was the same properties view based on EMF framework, that was
> reused for GMF Editors)
>
> At that time, is was necessary for me to implement a specific
> framework to deal with such feature. More precisely, this framework
> was in charge of providing a strong code organization (because raw SWT
> implementation can become really messy when code is not well
> organized, or when code is made by people that don't use SWT a lot) ,
> and a synchronization solution in order to ensure natively that the
> EMF Editor/GMF Diagram is always in sync with the properties view (and
> conversely), whether the user modified data using the editor or
> properties view.
>
> Now GMF 2.0 is out, I would like to know if it is still relevant to
> keep such a home-made component, since the EMF/GMF frameworks may
> provide the same features natively.
>
> So my question is : Do EMF/GMF provide tools to implement Tabbed
> Properties Views in a clean & organized way, and are there some tools
> that can be used to guarantee that the properties / editors are always
> in sync with each other ?
>
> Of course, if this is not clear, I am available for giving further
> information.
>
> Thanks a lot in advance for your answer,
> Best Regards,
> Maxence VANBÉSIEN
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [EMF + Tabbed Properties View] Framework to help such collaboration [message #636078 is a reply to message #636000] Fri, 29 October 2010 08:55 Go to previous messageGo to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
Maxence,

EEF can handle EMF properties views and GMF properties views.
take a look here :
http://www.eclipse.org/modeling/emft/?project=eef

Cheers,


Le 28/10/2010 23:42, Ed Merks a écrit :
> Maxence,
>
> GMF provides a tabbed properties view. These days EEF provides nicer
> forms based views.
>
>
> Maxence Vanbesien wrote:
>> Hello all,
>> In a quite old project, I used to use EMF 2.2 & GMF 1.0 to provide
>> end-users, a modelling system. Moreover, this modelling system was
>> enriched with a Properties View, developped using the Eclipse Tabbed
>> Properties Framework. This properties view was made available whether
>> the EMF editor or the associated GMF Diagram editor was opened. (In
>> fact it was the same properties view based on EMF framework, that was
>> reused for GMF Editors)
>>
>> At that time, is was necessary for me to implement a specific
>> framework to deal with such feature. More precisely, this framework
>> was in charge of providing a strong code organization (because raw SWT
>> implementation can become really messy when code is not well
>> organized, or when code is made by people that don't use SWT a lot) ,
>> and a synchronization solution in order to ensure natively that the
>> EMF Editor/GMF Diagram is always in sync with the properties view (and
>> conversely), whether the user modified data using the editor or
>> properties view.
>>
>> Now GMF 2.0 is out, I would like to know if it is still relevant to
>> keep such a home-made component, since the EMF/GMF frameworks may
>> provide the same features natively.
>>
>> So my question is : Do EMF/GMF provide tools to implement Tabbed
>> Properties Views in a clean & organized way, and are there some tools
>> that can be used to guarantee that the properties / editors are always
>> in sync with each other ?
>>
>> Of course, if this is not clear, I am available for giving further
>> information.
>>
>> Thanks a lot in advance for your answer,
>> Best Regards,
>> Maxence VANBÉSIEN
>>


--
Cheers,

Stéphane Bouchet, OBEO
Re: [EMF + Tabbed Properties View] Framework to help such collaboration [message #636643 is a reply to message #636078] Tue, 02 November 2010 10:22 Go to previous messageGo to next message
Maxence Vanbesien is currently offline Maxence VanbesienFriend
Messages: 10
Registered: October 2009
Junior Member
Ed, Stéphane,

First of all, thanks a lot for this quick answer.

So you mean that EEF provides tools that can ensure such synchronization ? If this is the case, this will help me a lot Wink

Have a nice day,

Best Regards,

Maxence

Re: [EMF + Tabbed Properties View] Framework to help such collaboration [message #636705 is a reply to message #636643] Tue, 02 November 2010 14:04 Go to previous message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
Le 02/11/2010 11:22, Maxence Vanbesien a écrit :
> Ed, Stéphane,
> First of all, thanks a lot for this quick answer.
>
> So you mean that EEF provides tools that can ensure such synchronization
> ? If this is the case, this will help me a lot ;)

Yes.

you can try EEF by following the tutorial here :
http://wiki.eclipse.org/EEF#Tutorials
then include the extensions point EEF generates in the plugin.xml
generated by GMF.




>
> Have a nice day,
> Best Regards,
> Maxence
>
>


--
Cheers,

Stéphane Bouchet, OBEO
Previous Topic:[MWE2] Create projects in current workspace
Next Topic:JS4EMF has been created
Goto Forum:
  


Current Time: Thu Apr 25 00:17:24 GMT 2024

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

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

Back to the top