Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » EMF Examples
EMF Examples [message #1307683] Mon, 21 April 2014 18:29 Go to next message
Eclipse UserFriend
I am new to NatTable. Are there any examples of using NatTable with EMF?
Re: EMF Examples [message #1307862 is a reply to message #1307683] Mon, 21 April 2014 20:46 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2495
Registered: July 2012
Senior Member
None I am aware of. But check the forum. I think I remember some users combined NatTable and EMF and showed some details in the posts.
Re: EMF Examples [message #1308929 is a reply to message #1307862] Tue, 22 April 2014 11:07 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 834
Registered: February 2011
Senior Member
Hi,

Papyrus provides a fairly complex integration of the NatTable widget with EMF (And more specifically UML).

The table is configured with an EMF Model (Which defines the configuration for rows and columns), and the data is also stored in an EMF model.

The most generic configuration uses EObjects for row elements, and EStructuralFeature for columns.

There are different configurations: the rows/columns objects can be stored in a specific Table model (In which case you need to explicitely drop the objects in the table to populate it), or they can be synchronized on the contents of their owner (e.g. display all the children of an EObject under a specific containment feature), in which case the data is stored in a standard EMF Model.

Check the latest milestones of Papyrus in Eclipse Luna (Papyrus/Kepler also provides this component, but only as an extra: it's not installed by default)

The EMF Facet component also provides an integration of the NatTable widget in an Eclipse View, for EMF Models, but it is based on the old version (From Orbit/Sourceforge)

Camille


Camille Letavernier
Re: EMF Examples [message #1309681 is a reply to message #1308929] Tue, 22 April 2014 21:05 Go to previous message
Eclipse UserFriend
Hi Camille,


I have an EMF Model that is not UML can I still utilize Papyrus and its
implementation of NatTable to display and edit the model documents which
is persisted as an xmi files?

Or are you just presenting the Papyrus implementation as an example?

thanks,

John

On 04/22/2014 06:07 AM, Camille Letavernier wrote:
> Hi,
>
> Papyrus provides a fairly complex integration of the NatTable widget
> with EMF (And more specifically UML).
>
> The table is configured with an EMF Model (Which defines the
> configuration for rows and columns), and the data is also stored in an
> EMF model.
>
> The most generic configuration uses EObjects for row elements, and
> EStructuralFeature for columns.
>
> There are different configurations: the rows/columns objects can be
> stored in a specific Table model (In which case you need to explicitely
> drop the objects in the table to populate it), or they can be
> synchronized on the contents of their owner (e.g. display all the
> children of an EObject under a specific containment feature), in which
> case the data is stored in a standard EMF Model.
>
> Check the latest milestones of Papyrus in Eclipse Luna (Papyrus/Kepler
> also provides this component, but only as an extra: it's not installed
> by default)
>
> The EMF Facet component also provides an integration of the NatTable
> widget in an Eclipse View, for EMF Models, but it is based on the old
> version (From Orbit/Sourceforge)
>
> Camille
Previous Topic:using NatTable trees without GlazedLists
Next Topic:VerticalTextPainter alignment issue
Goto Forum:
  


Current Time: Fri Sep 22 08:19:26 GMT 2017

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

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