[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2t] Re: Check: How to activate the EMF Validation Adapter?

I'm also curious about this. Had the same problem. Any hints anyone?
Hauke

Kai Kreuzer schrieb:
Hello,

I am currently trying to include my constraints that are in oAW check files into the standard EMF validation.

As far as I have seen, the extension point "org.eclipse.xtend.typesystem.emf.checks" is the new EMF Validation Adapter.
Unfortunately, I cannot get this working - it simply does nothing... No log entries, no exceptions, no registering of an EValidator.


In the extension point description it says:
"To enable this extension point, make sure the plug-in is loaded, e.g. by calling Activator.getDefault() explicitly. Otherwise the extensions will not be parsed and no EValidator will be registered."


But this extension point is contained in the plugin org.eclipse.xtend.typesystem.emf, which has no Activator :-( So how do I enable this extension point?

It would be great if anybody had a working example of this - thanks in advance!
Kai