|Check: How to activate the EMF Validation Adapter? [message #373318]
||Wed, 29 July 2009 09:44
| Kai Kreuzer
Registered: July 2009
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