[CommonNavigator] hideLinkWithEditorAction [message #336258] |
Wed, 03 June 2009 22:50  |
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  |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02645 seconds