EMF Examples [message #1307683] |
Mon, 21 April 2014 18:29 |
Eclipse User |
|
|
|
I am new to NatTable. Are there any examples of using NatTable with EMF?
|
|
|
|
|
Re: EMF Examples [message #1309681 is a reply to message #1308929] |
Tue, 22 April 2014 21:05 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02835 seconds