Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [Common Navigator] Link with Editor not expanding Viewer(Link with Editor only works once the tree was manually expanded)
[Common Navigator] Link with Editor not expanding Viewer [message #1448659] Mon, 20 October 2014 08:52
Matti Leydecker is currently offline Matti LeydeckerFriend
Messages: 1
Registered: October 2014
Junior Member
Hey Guys,

I just implemented Link with Editor for a Custom Resource Based Treeviewer based on the Common Navigator Framework.
So I added a org.eclipse.ui.navigator.linkHelper Extension and linked to the corresponding class.
Now it works partially. I get the correct Editor highlighted for any file, that part is fine.

But if I switch to an Editor, I only get the corresponding File selected in the Tree if I opened the Treepath going there manually.
So basically it doesn't expand my tree when it wasn't expanded at least once before.
I got some Custom virtual Folders and my possibleChildren core expression looks like this:

<possibleChildren>
       <or>
               <instanceof
                     value="org.eclipse.core.resources.IFile">
               </instanceof>
               <instanceof
                     value="org.eclipse.core.resources.IProject">
               </instanceof>
               <instanceof
                     value="org.company.container.ModuleContainer">
               </instanceof>
               <instanceof
                     value="org.company.container.ConfigContainer">
               </instanceof>
        </or>
</possibleChildren>


Do you have any ideas why the navigator doesn't open my tree? Should I post more code?

Thank you in advance,

Matti

[Updated on: Fri, 07 November 2014 14:16]

Report message to a moderator

Previous Topic:AIX7.1/Eclipse4.4.2 X Window System Error
Next Topic:Odd Behavior with Eclipse Luna and Mac OSX 10.10 (Yosemite)
Goto Forum:
  


Current Time: Tue Apr 23 13:57:51 GMT 2024

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

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

Back to the top