Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » Meta-Model Spy Suggestion
Meta-Model Spy Suggestion [message #605015] Fri, 16 July 2010 06:25 Go to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7665
Registered: July 2009
Senior Member

A suggestion: perhaps for Sphinx, perhaps for Modisco. Sorry; no way
that I have time.

When developing tooling I can spend quite a bit of time working out why
my meta-models are mis-behaving. Typical problems are:

No meta-model
- incorrect URI
- no plugin
- no content type registration
Wrong meta-model
- incorrect URI
- platform:/plugin rather than platform:/resource
- there is an unobserved validation error
Two meta-models
- incorrect URI
- both platform:/resource and platform:/plugin
- conflicting content types
- genmodel not rerun: one tool uses Ecore another Java model view

I hope that ordinary users don't have as much trouble as I do.

After uncovering my most recent stupidity, it seemed that it would be
really helpful if there was a Meta-Model Spy that could expand out from
a ResourceSet

- provide a MetaModel Browser
- of what is in the ResourceSet
- of what is visible but not in the ResourceSet
- of what is not visible
- show error/warning markers from
running validation
Java differencing a rerun of genmodel
Ecore differencing platform:/resource and platform:/plugin

Given such a project-neutral debugging tool, EMF or individual projects
might voluntary comply with an API to publish the required starting
context for the MMSPY.


Ed Willink
Re: Meta-Model Spy Suggestion [message #630394 is a reply to message #605015] Fri, 01 October 2010 20:19 Go to previous message
Frederic Madiot is currently offline Frederic MadiotFriend
Messages: 26
Registered: July 2009
Junior Member
Hi Ed,

Within the list of all your requirements about a metamodel spy, MoDisco provides at least the metamodel browser. With this browser you can open any ECore file and inspect all the types, the relations, the attributes.

You can also define a customization to graphically detect some problems within your metamodel.

Regarding some of your other problems, I am working on a EMF-based solution to validate plugins (the one I have demonstrated at Minneapolis during the Eclipse & OMG symposium that you have organized). ipse-plugins.html

I could integrate some additional rules to avoid some of your problems.


[Updated on: Fri, 01 October 2010 20:20]

Report message to a moderator

Previous Topic:[Announce] Demonstrations at ESE's Modeling Symposium
Next Topic:[papyrus] GMF source page
Goto Forum:

Current Time: Sun Jul 21 10:44:42 GMT 2024

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

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

Back to the top