Globally detecting double click in editor [message #532036] |
Thu, 06 May 2010 16:31 |
Eclipse User |
|
|
|
Hi all.
I am quite new to this, but I managed to select a record from a TreeViewer and open it inside of a multi page form editor, with its three pages having multiple sections with multiple components each.
Now, I am usually a Lotus Notes user and one thing that I really like about that product is some parts of the usability, in this case: Switching a document (record) into "edit mode" by double clicking anywhere in it.
I would like to adopt this behavior but I can't seem to find the right place to put the MouseListener object... It seems, that every component lies above the other (which is ... well.. quite logical) and assigning a listener to the parent component, does not affect the components contained. So, when I add a MouseListener to the body of the form, it will only work on the body of the form but not on the contained sections (i.e.).
Is there any way (besides adding the listener to each of my components) to accomplish this?
Thanks and kind regards
Johannes
|
|
|
Powered by
FUDForum. Page generated in 0.03773 seconds