|
Re: Common Navigator ClassCastException [message #334926 is a reply to message #334920] |
Tue, 10 March 2009 15:11 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Francis Upton IV![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=francisu%40ieee.org) Messages: 472 Registered: July 2009 Location: Oakland, CA |
Senior Member |
|
|
This is fixed in any current IBuild and will be in 3.5M6.
Gary Leask wrote:
> I used the org.eclipse.ui.viewer extension point and the Common
> Navigator View template to create a Navigator.
>
> When I created template in Eclipse 3.3 the code in ran correctly.
>
> When I crate the code in Eclipse 3.5 I got the following error.
>
>
> SafeDelegateTreeContentProvider:
> Content[org.eclipse.ui.navigator.resourceContent, "Resources"]
> java.lang.ClassCastException: org.eclipse.ui.navigator.MyCommonNavigator
> at
> org.eclipse.ui.internal.navigator.workingsets.WorkingSetsCon tentProvider.init(WorkingSetsContentProvider.java:78)
>
> at
> org.eclipse.ui.internal.navigator.extensions.SafeDelegateTre eContentProvider.init(SafeDelegateTreeContentProvider.java:1 70)
>
> at
> org.eclipse.ui.internal.navigator.extensions.NavigatorConten tExtension.internalGetContentProvider(NavigatorContentExtens ion.java:140)
>
> at
> org.eclipse.ui.internal.navigator.NavigatorContentServiceCon tentProvider.getParent(NavigatorContentServiceContentProvide r.java:435)
>
> at
> org.eclipse.ui.internal.navigator.framelist.TreeViewerFrameS ource.getParentFrame(TreeViewerFrameSource.java:118)
>
> at
> org.eclipse.ui.internal.navigator.framelist.TreeViewerFrameS ource.getFrame(TreeViewerFrameSource.java:100)
>
> at
> org.eclipse.ui.internal.navigator.framelist.UpAction.getPare ntFrame(UpAction.java:44)
>
> at
> org.eclipse.ui.internal.navigator.framelist.UpAction.update( UpAction.java:79)
>
> at
> org.eclipse.ui.internal.navigator.framelist.UpAction.<init>(UpAction.java:40)
>
> at
> org.eclipse.ui.internal.navigator.CommonNavigatorActionGroup .makeActions(CommonNavigatorActionGroup.java:103)SafeDelegat eTreeContentProvider:
> Content[org.eclipse.ui.navigator.resources.workingSets, "Working Sets"]
>
> at
> org.eclipse.ui.internal.navigator.CommonNavigatorActionGroup . <init>(CommonNavigatorActionGroup.java:86)
>
>
>
> Is there an update that fixes this problem or are there code changes
> that I need to make with the new Release?
>
> Gary
--
Common Navigator Framework section in Platform Plugin Developer Guide
(Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go
Platform UI Committer for Common Navigator
http://wiki.eclipse.org/index.php/Common_Navigator_Framework
http://help.eclipse.org/galileo/topic/org.eclipse.platform.d oc.isv/guide/cnf.htm
|
|
|
Powered by
FUDForum. Page generated in 0.03334 seconds