Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Globally detecting double click in editor
Globally detecting double click in editor [message #532036] Thu, 06 May 2010 16:31
Eclipse UserFriend
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
Previous Topic:How to create runnable JAR in Eclipse
Next Topic:Using JDTCompilerAdapter from inside ant executed programmatically
Goto Forum:
  


Current Time: Sat Mar 15 17:46:38 EDT 2025

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

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

Back to the top