Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » How to bind single and double clicks on one cell(single click to use standart TextCellEditor editor, double click to another one)
How to bind single and double clicks on one cell [message #994445] Thu, 27 December 2012 10:32 Go to next message
Mikhail Niedre is currently offline Mikhail NiedreFriend
Messages: 4
Registered: December 2012
Location: Voronezh
Junior Member
my idea was extending XXXConfiguration

public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {

    // doubleClick - open the Dialog Editor
        new BodyCellEditorMouseEventMatcher(ReachTextCellEditor.class),
        new MouseEditAction());

        new BodyCellEditorMouseEventMatcher(TextCellEditor.class),
        new MouseEditAction());

but it is haven't works because working only single click.

without shit, without fun, just being a happy man.
Re: How to bind single and double clicks on one cell [message #996570 is a reply to message #994445] Wed, 02 January 2013 11:58 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2798
Registered: July 2012
Senior Member

I'm not sure about this and I'm currently on vacation, so I won't be able to investigate on this deeper right now. Maybe it is really a bug because the single click gets always processed, and as an editor is opened, the double click doesn't get the possibility to react. There is already a bug for such event handling. I will check on this when I'm back.

Previous Topic:Complex Table Structure using NatTable
Next Topic:customize DialogErrorHandling class
Goto Forum:

Current Time: Tue Jan 19 15:02:19 GMT 2021

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

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

Back to the top