Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » JFace CellEditor- Table cell click actions(Can not register two different actions for mouse single click and double click of a JFace table cell.)
JFace CellEditor- Table cell click actions [message #941032] Fri, 12 October 2012 06:54
Siddaramaswamy Thippeswamy is currently offline Siddaramaswamy Thippeswamy
Messages: 2
Registered: October 2012
Junior Member
Hi All,

I have an assignment where I need to add different widgets onto a JFace table cell based on click. I am supposed to add a TextCellEditor on single click and DateChooser on double click.

I implemented the CellEditor with a class named DateChooserWithTextCellEditor where I create DateChooser or Text box depending on the click on the cell. But, I am unable to track the mouse events inside the cell.

Also, I tried solving it in a different way. I made cell editor return a composite. Depending on the clicks on this composite I add DateChooser or Text box. but this solution requires one click for activating the cell and a second click for displaying the text box or DateChooser.

Kindly suggest me on how I can solve the issue.

Thanks,
Siddutrs
Previous Topic:refreshing the content of an advanced property sheet
Next Topic:[Databinding] Problems with multiple actions in a checkbox
Goto Forum:
  


Current Time: Wed Oct 22 23:59:32 GMT 2014

Powered by FUDForum. Page generated in 0.01702 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software