|Disposing off the GridEditor [message #41902]
||Thu, 25 October 2007 10:55
Originally posted by: rams1983.yahoo.com|
I am adding a GridEditor to each cell of the Grid whenever that particular
cell is clicked as in the code...
public void mouseDown(MouseEvent r)
if (expectedPeaksGrid.getCellSelectionCount() != 0)
Point p1 = expectedPeaksGrid.getCellSelection();
gridEditor = new GridEditor(expectedPeaksGrid);
textControl = new Text(expectedPeaksGrid, SWT.NONE);
gridEditor.grabHorizontal = true;
gridEditor.horizontalAlignment = SWT.FILL;
Now I want this grideditor to be disposed as soon as the focus shifts from
the cell that is being edited..
Can anybody suggest how to accomplish this ..
Powered by FUDForum
. Page generated in 0.03294 seconds