|Re: Check: How to activate the EMF Validation Adapter? [message #484553 is a reply to message #373318]
||Tue, 08 September 2009 08:20
| Sebastian Zarnekow
Registered: July 2009
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.
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Kai Kreuzer schrieb:
> 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
Powered by FUDForum
. Page generated in 0.02023 seconds