Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Override Open Action in Resource Navigator
Override Open Action in Resource Navigator [message #332687] Wed, 05 November 2008 10:15 Go to next message
Eclipse UserFriend
Hi everyone!
I'm developing a plug-in with eclipse, and I have my own views and my own
Project nature. I'm trying to add some functionalities such execute my own
actions overriding the default open action when a double click is done on
a file in resource navigator.
Could anybody help me?

Thank you!
Álvaro
Re: Override Open Action in Resource Navigator [message #332692 is a reply to message #332687] Wed, 05 November 2008 11:06 Go to previous message
Eclipse UserFriend
You need to register your own retargetable action for this:
ICommonActionConstants.OPEN.

You can see how its done in the org.eclipse.ui.examples.navigator plugin

- Prakash

--
http://blog.eclipse-tips.com


"Alvaro " <alvaro.moraleda@gmail.com> wrote in message
news:7876c62d1c6797a8bc98a4f01f5231b0$1@www.eclipse.org...
> Hi everyone!
> I'm developing a plug-in with eclipse, and I have my own views and my own
> Project nature. I'm trying to add some functionalities such execute my own
> actions overriding the default open action when a double click is done on
> a file in resource navigator.
> Could anybody help me?
>
> Thank you!
> Álvaro
>
>
Previous Topic:Help on Toolbar positioning
Next Topic:[p2] Works... the second time
Goto Forum:
  


Current Time: Sun Feb 09 09:19:44 GMT 2025

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

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

Back to the top