[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Display a TextCellEditor with some addtional Text

Drew Frantz wrote:
I would like to show a TextCellEditor and also provide some readonly text and at the bottom of the text control. I cannot seem to figure out how to create a new composite for the cell editor that has addtional controls and or a differnt layout. Are there any example like this?

You just have to return a Composite in your version of CellEditor.createControl(). DialogCellEditor does that - it constructs a Composite and places the various other controls inside it.


Note: at least as far as 3.3.x, that kind of cell editor breaks tab-through navigation (via keyboard) because once the Composite takes focus it does not relinquish it back to the table again.

Hope this helps,
	Eric