Using IPipelinedTreeContentProvider [message #327462] |
Mon, 21 April 2008 17:16 |
Eclipse User |
|
|
|
Originally posted by: tema75.hotmail.com
Hi,
I'm having trouble using IPipelinedTreeContentProvider when contributing
to the Project Explorer view. I've added breakpoints in all functions
including getPipelinedChildren() and none of those breakpoints get hit
except for the init() call and the regular getChildren() call.
Here's what my extensions look like...
<extension point="org.eclipse.ui.navigator.viewer">
<viewerContentBinding
viewerId="org.eclipse.ui.navigator.ProjectExplorer">
<includes>
<contentExtension
isRoot="false"
pattern="com.iwaysoftware.integration.pflowContent"/>
</includes>
</viewerContentBinding>
</extension>
<extension point="org.eclipse.ui.navigator.navigatorContent">
<navigatorContent activeByDefault="true"
contentProvider=" com.iwaysoftware.integration.tools.views.IntegrationViewPipe linedContentProvider "
icon="icons/prop_ps.gif"
id="com.iwaysoftware.integration.pflowContent"
labelProvider=" com.iwaysoftware.integration.tools.views.IntegrationViewLabe lProvider "
name="Process Flow File"
priority="normal">
<triggerPoints>
<or>
<adapt type="org.eclipse.core.resources.IProject">
<test property="org.eclipse.core.resources.projectNature"
value="com.iwaysoftware.integration.tools.nature"/>
</adapt>
<instanceof value="org.eclipse.core.resources.IWorkspaceRoot" />
<instanceof value="org.eclipse.core.resources.IFolder" />
<instanceof value="org.eclipse.core.resources.IFile" />
<instanceof
value="com.iwaysoftware.integration.tools.views.IViewFolderNode "/>
</or>
</triggerPoints>
<possibleChildren>
<or>
<adapt type="org.eclipse.core.resources.IProject" >
</adapt>
<instanceof
value="org.eclipse.core.resources.IWorkspaceRoot" />
<instanceof value="org.eclipse.core.resources.IFolder" />
<instanceof value="org.eclipse.core.resources.IFile" />
<instanceof
value="com.iwaysoftware.integration.tools.views.IViewFolderNode "/>
</or>
</possibleChildren>
</navigatorContent>
</extension>
Thank you,
Artem
|
|
|
Powered by
FUDForum. Page generated in 0.03270 seconds