Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » [xwt] combo cell editor for enums
[xwt] combo cell editor for enums [message #499214] Fri, 20 November 2009 13:02 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
I have bound a table viewer column to a emf model object's attribute which is an enum.
How can I set the <ComboBoxCellEditor /> to show the enum's literals?
And how to make the combo cell editor 'READ_ONLY'?
Re: [xwt] combo cell editor for enums [message #499235 is a reply to message #499214] Fri, 20 November 2009 14:19 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
"Erdal Karaca" <erdal.karaca.de@googlemail.com> wrote in message
news:he641g$6hp$1@build.eclipse.org...
>I have bound a table viewer column to a emf model object's attribute which
>is an enum.
> How can I set the <ComboBoxCellEditor /> to show the enum's literals?
> And how to make the combo cell editor 'READ_ONLY'?

You just need to follow the SWT concept:
<ComboBoxCellEditor x:Style="'READ_ONLY" />

We have the QA test for Combo. In general, it should work for ComboViewer.
Please let me know the result. If it doesn't work, feel free to open a bug .

Best regards
Yves YANG
Previous Topic:Developin e4 in Eclipse 3.6M3
Next Topic:[XWT] change input when viewer's selection changes
Goto Forum:
  


Current Time: Fri Apr 26 14:52:30 GMT 2024

Powered by FUDForum. Page generated in 0.03850 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top