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 02:25 Go to next message
Ed Willink is currently offline Ed Willink
Messages: 4008
Registered: July 2009
Senior Member
Hi

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.

Regards

Ed Willink
Re: Meta-Model Spy Suggestion [message #630394 is a reply to message #605015] Fri, 01 October 2010 16:19 Go to previous message
Frederic Madiot is currently offline Frederic Madiot
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).

http://fmadiot.blogspot.com/2010/06/using-emf-to-control-ecl ipse-plugins.html

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

Fred

[Updated on: Fri, 01 October 2010 16: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: Tue Jul 29 06:47:33 EDT 2014

Powered by FUDForum. Page generated in 0.09169 seconds