Community
Participate
Working Groups
We have to provide an implementation of the method isInstance(EObject eObject, Facet facet) in a utility class. cf. org.eclipse.emf.facet.widgets.nattable.internal.TableInstanceCommandFactory.isInstance(EObject, Facet)
The job is done by org.eclipse.emf.facet.efacet.core.IFacetManager.isConforming(EObject, Facet). An utility/static class cannot be used because the result returned by this method depends of the facet loaded in the facet manger.