Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [emf-dev] EMF metamodel reuse

Vincent, that's really the type of questions that get answered on the newsgroup. And were probably already answered, so I suggest you search the newsgroup about that.

Thanks,

Antoine

On Wed, Feb 4, 2009 at 2:44 PM, Vincent.Hilaire@xxxxxxx <Vincent.Hilaire@xxxxxxx> wrote:
extend was used in a broad meaning. What i had in mind was more a profile of existing classes (and design a graphical editor with that). Is there any tutorial or paper somewhere ?


Vincent

I really had to reply to that message. Happy I learnt something while on
that. I'll get some documentation and will eventually follow up. So far no
bitterness spotted.

On Wed, Feb 4, 2009 at 1:27 PM, Ed Merks <ed.merks@xxxxxxxxx> wrote:

 Antoine,

Of course I'll continue tell people not to extend Ecore.  See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=252501 for the bitter
complaints from those who don't follow that advice.  My advice would be to
annotate Ecore, rather than extending it (much like one can annotate Java or
XML Schema without extending it).  ExtendedMetaData and
BasicExtendedMetaData show the approach for how Ecore was augmented but not
extended to better address XML Schema mapping.  So, if you see appealing
things in Ecore, reuse them, but don't extend them.  E.g., define your own
Annotation class and feature to reference it; reuse EStringToStringMapEntry
if you like.

Of course I can't make people follow my advice, but I'm certainly quite
able to ignore complaints about lack of binary compatibility for Ecore's
impl classes. :-P

The advice of using the newsgroup is good. :-)

Cheers,
Ed


Antoine Toulme wrote:

An UTBM dude ! I'm from the UTT originally myself. Try the emf newsgroup
for questions like this. Look up the BPMN modeler metamodel, we use the
ecore metamodel to reuse EModelElement and some other cool things.

Thanks,

Antoine

On Wed, Feb 4, 2009 at 11:02 AM, hilaire <vincent.hilaire@xxxxxxx> wrote:

Hi all,


i'am searching a way to reuse and extend, if possible, the EMF metamodel
to design my own metamodels and produce graphical editors in the end.



Thank you



Vincent
_______________________________________________
emf-dev mailing list
emf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/emf-dev


------------------------------

_______________________________________________
emf-dev mailing listemf-dev@eclipse.orghttps://dev.eclipse.org/mailman/listinfo/emf-dev






_______________________________________________
emf-dev mailing list
emf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/emf-dev


Back to the top