Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [CommonNavigator] hideLinkWithEditorAction
[CommonNavigator] hideLinkWithEditorAction [message #336258] Wed, 03 June 2009 22:50 Go to next message
Eclipse User
Originally posted by: aczerwonka.3esi.com

Does anyone know of a point of reference to get the Common Navigator to deal
with linking with an Editor? Do I get that for free? Is there an interface
I need to implement somewhere? I can get the icon to appear but it does a
whole lot of nothing.

--
andy
Re: [CommonNavigator] hideLinkWithEditorAction [message #336291 is a reply to message #336258] Fri, 05 June 2009 14:25 Go to previous message
vincent pucheux is currently offline vincent pucheux
Messages: 15
Registered: July 2009
Junior Member
Hi andy, you're right you have it for free, at least for common files
and editors.

you just have to include the content extension :
org.eclipse.ui.navigator.resourceContent


for example

<extension
point="org.eclipse.ui.navigator.viewer">
<viewerContentBinding viewerId="viewerID">
<includes>
<contentExtension
pattern="org.eclipse.ui.navigator.resourceContent"/>

</includes>
</viewerContentBinding>
</extension>


If you have custom editors and files you have to use the LinkHelper
extension so that the "Link with editor" know what link to what.

you can have tutos on :
http://scribbledideas.blogspot.com/2006/05/building-common-n avigator-based-viewer.html

hope this help
v.


Andy Czerwonka a écrit :
> Does anyone know of a point of reference to get the Common Navigator to deal
> with linking with an Editor? Do I get that for free? Is there an interface
> I need to implement somewhere? I can get the icon to appear but it does a
> whole lot of nothing.
>
Previous Topic:Making an executable jar that includes a properties xml
Next Topic:java template, insert superclass name
Goto Forum:
  


Current Time: Thu Oct 23 20:05:31 GMT 2014

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

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