|Common Navigator Standard Menu Options and Custom Models [message #494412]
||Fri, 30 October 2009 14:47
| Terran Gilman
Registered: July 2009
I am working on converting the Voice Tools Project navigator view over to the common navigator framework. The content will be displayed in the standard Project Explorer rather than a new view instance.
We use a custom object model to represent much of our project structure, however most of the objects are backed by file system resources. Each object that can map to a physical resource is adaptable to IResource (IFile/IFolder).
The issue I'm having is that the standard context menu items are not present when selecting one of these objects, or more specifically only a small portion of them. The context menu does have:
- Remove From Context
- Team >
- Compare With >
- Replace With >
- Restore from Local History...
I was hoping to inherit the standard items like Open, Open With, New, Refactor, Cut/Copy/Paste, and the like. I've looked at both the JDT and CDT contributions to this view and can't seem to pin down what I'm missing.
My content extension does use the override element with the base navigator resource as it's parent. My content provider also implements the IPipelinedTreeContentProvider and intercepts the structure at the IProject level when retrieving its children by replacing them with the equivalent objects from our custom model.
Thanks for your time,
Voice Tools Project Lead
Powered by FUDForum
. Page generated in 0.01501 seconds