| IWorkbenchAdapter not registered correctly [message #668211]
||Wed, 04 May 2011 10:03
Registered: September 2009
I am using the BasicNewFileResourceWizard in an rcp application. The tree showing the workspace resources does not show icons or labels of resources.|
I found out that the factory needed to create the IWorkbenchAdapter does not return anything. That seems to be because the AdapterManager has the type org.eclipse.core.resources.mapping.ResourceMapping registered with the class org.eclipse.core.internal.resources.Project instead of the IWorkbenchAdapter.
a) How can I find out when that ResourceMapping is registered with Project instead of the IWorkbenchAdapter?
b) I tried adding a factory entry in the extension org.eclipse.core.runtime.adapters and alternatively invoke Platform.getAdapterManager().registerAdapters to register the correct class. These attempts were not successful.
A hint into the correct direction would be very helpful.
Powered by FUDForum
. Page generated in 0.02680 seconds