문제

is there a way to specify different cell editor for each cell in jface tableviewer, I know that the cell editor is specified on a column basis, but I want to specify the cell editor on a cell basis, is there a workaround or is it possible?

도움이 되었습니까?

해결책

EditingSupport that you set to ViewerColumn is dynamic. When cell edit is triggered, the framework calls CellEditor getCellEditor(Object element) method on your editing support implementation. In that method you can choose to return any editor depending on the passed row element.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top