Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » EModelElement and EObject
EModelElement and EObject [message #78252] Thu, 16 November 2006 11:16 Go to next message
Eclipse UserFriend
Hi,
I am studying the notation.ecore model for persisting it in a rdb. I have two questions about the
model related to inheritance from the ecore model itself:
- Why do ShapeStyle and ConnectorStyle inherit from EObject?
- Also for View why does it inherit from EModelElement?

This inheritance structure can mean that I also need to be able to persist ecore models itself
(which is possible but requires some more attention).

I tried to search the newsgroup related to this topic but couldn't find anything (maybe did not
search good enough).

Thanks!

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: EModelElement and EObject [message #78267 is a reply to message #78252] Thu, 16 November 2006 11:27 Go to previous message
Eclipse UserFriend
Hi ;
Views extend EModelElement, because they can be annotated (you can
annotated them with EAnnotations). Styles do not need annotations (since
you can consider styles as annotations) that is why they extend EObject




Martin Taal wrote:
> Hi,
> I am studying the notation.ecore model for persisting it in a rdb. I
> have two questions about the model related to inheritance from the ecore
> model itself:
> - Why do ShapeStyle and ConnectorStyle inherit from EObject?
> - Also for View why does it inherit from EModelElement?
>
> This inheritance structure can mean that I also need to be able to
> persist ecore models itself (which is possible but requires some more
> attention).
>
> I tried to search the newsgroup related to this topic but couldn't find
> anything (maybe did not search good enough).
>
> Thanks!
>
Previous Topic:Position of external labels inside a compartment
Next Topic:Polygon figure
Goto Forum:
  


Current Time: Mon May 12 08:21:08 EDT 2025

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

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

Back to the top