Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Common Navigator Framework mouse events(Opening an editor by clicking on an element in the CNF)
Common Navigator Framework mouse events [message #509606] Sat, 23 January 2010 15:13 Go to next message
Alan Chaney is currently offline Alan ChaneyFriend
Messages: 20
Registered: January 2010
Junior Member
Hi

I've been learning how to use the CNF and read everything I can find on the web, but I'm a bit stuck on what seems to be a really trivial thing - opening an editor by clicking on an element in CNF which is provided by a content extension. I want to be able to double-click the element and open that element in my editor.

Any suggestions would be appreciated.

TIA


Re: Common Navigator Framework mouse events [message #511851 is a reply to message #509606] Wed, 03 February 2010 08:39 Go to previous messageGo to next message
Simon Zambrovski is currently offline Simon ZambrovskiFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,

if you use your own ContentNavogatorViewer you can override the
double-click method and call the Command for opening the editor.

Kind regards,

Simon

Alan Chaney schrieb:
> Hi
>
> I've been learning how to use the CNF and read everything I can find on
> the web, but I'm a bit stuck on what seems to be a really trivial thing
> - opening an editor by clicking on an element in CNF which is provided
> by a content extension. I want to be able to double-click the element
> and open that element in my editor.
> Any suggestions would be appreciated.
>
> TIA
>
>
>
Re: Common Navigator Framework mouse events [message #512363 is a reply to message #511851] Thu, 04 February 2010 18:57 Go to previous messageGo to next message
Alan Chaney is currently offline Alan ChaneyFriend
Messages: 20
Registered: January 2010
Junior Member
Thanks Simon,

I'll look at that.

Regards

Alan
Re: Common Navigator Framework mouse events [message #604506 is a reply to message #511851] Thu, 04 February 2010 18:57 Go to previous message
Alan Chaney is currently offline Alan ChaneyFriend
Messages: 20
Registered: January 2010
Junior Member
Thanks Simon,

I'll look at that.

Regards

Alan
Previous Topic:Problem with run configuration of a product
Next Topic:updating menu contributions from editor state
Goto Forum:
  


Current Time: Tue Apr 16 04:03:26 GMT 2024

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

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

Back to the top