|[EMF Forms] : EEnum ComboCellEditor in TableControl? [message #1756077]
||Fri, 10 March 2017 16:23
| Erwin De Ley
Registered: August 2013
For a model entity containing an EEnum property, EMF Forms shows a nice combo to pick one of the available enum values.|
But when showing such entities in a TableControl, enums are rendered using plain StringCellEditors it appears.
I've been trying to figure out the situation and found a.o. org.eclipse.emf.ecp.edit.internal.swt.controls.EEnumControl to get some inspiration. But this one is not used for the combo in a form neither it seems?
(at least it was not reached during my debugging...)
When looking for the available implementations of ECPCellEditor, I can indeed not find one that would create a combo cell editor (I see text, number, date impls e.g.)
Is this already available somewhere in an extension bundle for ECP or EMF Forms?
If not, is there a fundamental reason to prevent adding this, or is it just because it was not requested/needed yet?
And for my background info : where can I find the renderer/control that makes sure that a combo is used in a standard EMF Forms form, for an EEnum?
P.s. in attach a screenshot showing a "port" entity in a table control with a direction enum property (potential values like DEFAULT, NORTH, SOUTH, ....). When opening a dialog to configure a port instance from that table, the direction becomes a combo.
Powered by FUDForum
. Page generated in 0.01873 seconds