Hello , I am working on Nebula Grid something related to the above problem. I have a grid , I select a cell-1 , Drag it down and on mouse release i have to copy down the text selected from cell-1 to all the cells dragged down. I did a mouselistner
grid.addMouseListener(new MouseAdapter()
                {
                    public void mouseDown(MouseEvent e) {
                        ViewerCell viewerCell = grid.getCell(new 
Point(e.x,e.y));
                        String cellText = viewerCell.getText();
                        System.out.println("Cell clicked: " + cellText);
}

Here I am able to get the text of selected cell , How do i add drag action to the mouse listner I have tried to use - mouseReleased(MouseEvent e)
-mouseDragged(MouseEvent e)
but it seems it doesnt work with Nebula grid
Please suggest a way.

To participate in the discussion, go here: 
https://www.eclipse.org/forums/index.php?t=rview&frm_id=64
_______________________________________________
nebula-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to