DialogCellEditor
should do this. It normally just displays a label but switches to a label plus a button when the cell is selected.
You override the openDialogBox
method to open the dialog you want.
You can also override createContents
if you would rather have something other than a label (such as a Text
control).