[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?
|
Hi Kai,
please ensure that the plugin org.eclipse.xtend.typesystem.emf.ui is
registered. It will call CheckRegistry.getInstance() which in turn will
register any validator.
If this does not work, please file a ticket.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
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