Community
Participate
Working Groups
Hi, As part of the EMF Facet API clean, we should not expose the class ModelCellEditor in plug-in org.eclipse.emf.facet.widgets.celleditors Regards, Nicolas Guyomar
Created attachment 191097 [details] patch
Committed in revision 385.
What the patch does: In ICellEditorsRegistry the method getCellEditorFor(EClassifier type, final boolean many) returned an instance of ModelCellEditor, which was not meant to be API. So, I refactored it into two new methods: getCellEditorFor which returns an IModelCellEditor (which is API) and getNaryCellEditorFor that returns a INaryFeatureCellEditor (which is API too). As well, I replaced the 2nd override of getCellEditorFor that takes a list of preferred cell editors by two new methods in the same way. Now, CellEditorsRegistry implements the new version of the interface, but still exposes the old API for internal use in EMF Facet through 2 new getCellEditorWrapperFor methods. The rest of the changes are to adapt parts of EMF Facet to this new API.
This bug can be closed.