Community
Participate
Working Groups
We need a method in EMF Facet to compute the least common supertype of a set of metaclasses. That is, the most derived type that is a supertype of all the given classes. This is needed in order to apply the "visible" customization on the most precise type of all the model elements in a column of the table.
Committed in revision 443: org.eclipse.emf.facet.util.emf.core.internal.EMFUtils and tests in: org.eclipse.emf.facet.util.emf.core.tests.UtilEMFCoreTests
Hi, The warning in the class org.eclipse.emf.facet.util.emf.core.internal.EMFUtils has to be fixed. Regards, Gregoire Dupe
I fixed the warning.
Hello, A least, two tests are missing : - check that when no common super type exists, EObject is returned ; - check that the method work properly with more than one metamodel. Regards, Gregoire
I added tests in revision 492, and changed the implementation to return the EObject EClass instead of null.
This bug can be closed.