Summary: | Impossible to define a label edit for a column mapped on an EEnum | ||
---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | Stéphane Thibaudeau <stephane.thibaudeau> |
Component: | Table | Assignee: | Project Inbox <sirius.table-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | laurent.fasani, maxime.porhel |
Version: | 2.0.5 | Keywords: | triaged |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: |
Description
Stéphane Thibaudeau
2015-09-03 12:20:11 EDT
The TextCellEditor expects a String, not an Integer. . if a label expression is used in the VSM, the oest.ui.tools.internal.editor.provider.DFeatureColumnEditingSupport.getValue(Object) returns -1 . if the edit plugin properties have been modified, the displayed name does not correspond to a literal name any more and getValue will also return -1 I think we need to: . handle the EEnum case cell editor initialization for EEnum typed features to avoid exceptions . it should be great to add the inputLabelExpression as in diagram to let the specififer init the text to edit. . provide a new EEnumDirectEdit able to display the combo but let the specifier add operations: the EEnum has been used to restrict/define the choice of valid values for the feature. |