Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » EModelElement and EObject
EModelElement and EObject [message #78252] Thu, 16 November 2006 16:16 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
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 16:27 Go to previous message
Mohammed Mostafa is currently offline Mohammed MostafaFriend
Messages: 143
Registered: July 2009
Senior Member
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: Thu Dec 26 13:47:34 GMT 2024

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

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

Back to the top