[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.ve] Table

Hi;

I have been developing a standalone GUI builder for SWT. I have just riched the point to create properties table for my beans editing. But using the JFace table viewer, it only allows the define columns related CellEditor. But my requirement is that created CellEditor in each row according to the property of the bean in the row. For example let say bean X have two properties 1. Text (StringCellEditor with text)
2. Visible(ComboCellEditor with TRUE or FALSE)


There must be two columns in the property table
 1. Name (name of the property)
2. Value (value of the property).

Then the first row value column will be StringCellEditor and second row of the value column will be the ComboCellEditor. I can't achieved this by using the JFace. Is there any way to accomplish this task?

I looked at the project XSWT, it creates table from the scratch using the Graphics and huge amount of code. Could I use this code in my commerical project?

Thanks for advance