Community
Participate
Working Groups
Add a context parameter to createCompositeEditor in org.eclipse.emf.facet.widgets.celleditors.core.composite.CompositeEditorFactory<T>.
Created attachment 190125 [details] patch
Hi Nicolas, after internal debate about this evolution, it seems better to provide some 'T initialValue' parameter rather than 'Object context'. The client is in charge of building the initialValue contextually to its needs. Neither the "CompositeEditorFactory" sublass nor the T class have to know how to process a context.
There is no need to change anything on the EMF Facet side. When used in a JFace context, the framework initializes the cell editor's value with the value it gets from the EditingSupport.
This bug can be closed.