0

Here is the UI of Windowbuilder: http://www.java-forums.org/blogs/eclipse/attachments/2900d1328496793-using-windowbuilder-design-gui-eclipse-properties-pane.png

The Properties view is at the bottom left of the UI, you can see there is a cell with "dialog15" text and a button at its right hand.

Now I want to create such cell in my table: User can input text to the cell directly, or click the button to select the existing text in a new opened window... But I don't know how to start it. Could anyone give me a hand? Any tutorial?

BTW, I am using SWT. I found some examples using SWING, but haven't found any good tutorial using SWT

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
gnahzkook
  • 71
  • 10

1 Answers1

0

I think you are looking for CellEditor / Table Editor concepts in Jface table viewer.

jface sample snippets

sambi reddy
  • 3,065
  • 1
  • 13
  • 10