| Summary: | some cell editors need an initial value | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Nicolas Bros <nicolas.bros> | ||||
| Component: | EMF-Facet | Assignee: | Nicolas Bros <nicolas.bros> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | emft.facet-inbox, fabien.giquel, gdupe | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Nicolas Bros
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. |