Common Navigator "navigatorContent" fails [message #495167] |
Wed, 04 November 2009 00:38 |
Paul E. Keyser Messages: 878 Registered: July 2009 |
Senior Member |
|
|
R3.4.2 (no, we can't migrate to 3.5 yet), WinXP
I have a working CNF in my RCP -- nice navigator appears, shows the
workspace, actions like "New -> Folder" work, all fine. I've added a
bunch of objectContribution's, all of which work.
Then, to try to add more content to the tree, I followed the directions in:
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/cnf.htm
and the more extensive ones in:
http://scribbledideas.blogspot.com/2006/07/pdf-versions-now- available.html
I have a content-provider and a label-provider and a bunch of XML that
(to me) looks essentially identical to what is in the help docs ...
But all I get when I try to expand the resource-type to which I've tried
to attach the extra content is an error message: "Error: no label
provider for ..." (and then the path of the resource).
The fact that the CNF offers a child of the resource-type to which I've
tried to attach the extra content indicates that some part of the
plugging in worked.
Obviously almost anything could be wrong, but does that error provide
any sort of clue as to where to look? And what hints are there for
debugging this? (For example, since my content-provider and
label-provider are not being called, no point in setting breakpoints in
them ...)
-Paul
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03263 seconds