Skip to main content



      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 05:32 Go to next message
Eclipse UserFriend
my idea was extending XXXConfiguration

public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {

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

    uiBindingRegistry.registerFirstSingleClickBinding(
        new BodyCellEditorMouseEventMatcher(TextCellEditor.class),
        new MouseEditAction());
}


but it is haven't works because working only single click.
Re: How to bind single and double clicks on one cell [message #996570 is a reply to message #994445] Wed, 02 January 2013 06:58 Go to previous message
Eclipse UserFriend
Hi,

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.

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


Current Time: Sun Nov 09 06:51:59 EST 2025

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

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

Back to the top