Skip to main content



      Home
Home » Eclipse Projects » JFace » Different cell editors in different rows of the same table column(How to create different cell editors in different rows of the same table column?)
Different cell editors in different rows of the same table column [message #513233] Tue, 09 February 2010 08:04
Eclipse UserFriend
Dear gurus,

Is it possible to create a Table/TableViewer that displays different cell editors when clicked inside of cells belonging to different rows of the same table column?

I have some application configuration information that I want to display in a table. There are two columns: name and value. The name is a string, the value can be anything. Suppose that I have two configuration arguments: month (with possible values Jan, Feb, etc) and year.
When clicked in the cell corresponding to the month config value, I want to display a combo box. When the cell corespinding to the year is cliecked, I want to display a text editor, or spinner.

Is this possible? If yes, how, and could the answering guru paste some example code please?

Best regards,
Levente

Previous Topic:Can BeanProperties detect, if a Bean provides editing support?
Next Topic:TreeViewer refresh performance
Goto Forum:
  


Current Time: Wed Nov 05 20:19:30 EST 2025

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

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

Back to the top