Skip to main content



      Home
Home » Newcomers » Newcomers » View which listens for double-clicks in other views
View which listens for double-clicks in other views [message #132192] Thu, 26 January 2006 16:20
Eclipse UserFriend
Originally posted by: marko.skarica.gmail.com

I can't seem to find a way to get a view to listen for double-clicks on
another view, rather than only listening for double-clicks in itself. I'm
trying to use the IDoubleClickListener() class, but I can't seem to get
anywhere.

I can get a view to listen for selection changes in other views (one that
has a treeViewer), so I would figure that double-click wouldn't work too
differently, but looks like I'm wrong.

Does anyone have any idea where I can find an example which will help me
accomplish what I'm trying to do?

Basically, I have a view which is a treeViewer which displays a directory
tree starting from a folder I specified. When a user double-clicks on a
file, I want it to open in an editor view that we also have created. The
editor view just needs to know what the path is to the file which was
double-clicked so it can read that file, parse it, and display the objects
in the editor(its actually an image canvas). But I just can't find a way
for the view to listen for double-clicks in the treeviewer.

Please help.
Previous Topic:trying to create a plugin that wraps a jar file
Next Topic:How do I specify my java-dir?
Goto Forum:
  


Current Time: Sun May 11 01:05:44 EDT 2025

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

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

Back to the top