Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » A question about ComboBoxCellEditor
A question about ComboBoxCellEditor [message #1097648] Fri, 30 August 2013 01:46 Go to next message
Kevin Green is currently offline Kevin GreenFriend
Messages: 2
Registered: August 2013
Location: Beijing
Junior Member
How can I bind different ComboBoxes to different cells which belong to the same column?
For example, there's a table with two line( L1,L2) and one column (C1),and I would like to bind a ComboBox with (A,B,C)to L1.C1 and bind a ComboBox with (A,D,E) to L2.C1.
Does anybody know how to do it ?
Thanks!
Re: A question about ComboBoxCellEditor [message #1097828 is a reply to message #1097648] Fri, 30 August 2013 08:03 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Kevin,
If you are using plain table you could create two TableEditors for
different items. In JFace, changing the content of the
ComboBoxCellEditor dynamically is an option. As this is not a RAP
specific question, you could get a more appropriate answer in JFace forum.
Best,
Ivan

On 8/30/2013 4:46 AM, Kevin Green wrote:
> How can I bind different ComboBoxes to different cells which belong to
> the same column?
> For example, there's a table with two line( L1,L2) and one column
> (C1),and I would like to bind a ComboBox with (A,B,C)to L1.C1 and bind
> a ComboBox with (A,D,E) to L2.C1.
> Does anybody know how to do it ?
> Thanks!

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP War Deployment Issue
Next Topic:DSL Editor in RAP (Xtext like)
Goto Forum:
  


Current Time: Sat Apr 27 05:05:17 GMT 2024

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

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

Back to the top