[Common Navigator] Link with Editor not expanding Viewer [message #1448659] |
Mon, 20 October 2014 08:52 |
Matti Leydecker 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
|
|
|
Powered by
FUDForum. Page generated in 0.02977 seconds