Discouraged Access Warning:IDEInternalWorkbenchImages [message #184382] |
Wed, 13 December 2006 11:56 |
Eclipse User |
|
|
|
Originally posted by: rajan.ranjeev.de.bosch.com
Hello,
I'm having problems in my Application due to Registered images with
IDEWorkbenchImages which use to work fine before. I get the following
warnings.
Severity and Description Path Resource Location Creation Time Id
Discouraged access: The type IDEInternalWorkbenchImages is not accessible
due to restriction on required library
D:\Tools\Eclipse3.2\eclipse\plugins\org.eclipse.ui.ide_3.2.0 .I20060605-1400.jar myApplication.appl.ui/src/myApplication/appl/ui ApplicationWorkbenchAdvisor.java line
62 1166010225407 423
In my code:
I have a prestart method where I declare:
public void preStartup() {
WorkbenchAdapterBuilder.registerAdapters(); // warning shown here
declareWorkbenchImages();
}
In my dependencies: I have included
<import plugin="org.eclipse.ui.ide"/>
Due to this problem, my application does not work properly now, as it
throws null pointer exception where the registered images from
IDEInternalWorkbenchImages has to be loaded.
Any help or pointer to this problem is very much appreciated.
Thanks
Ranjeev
|
|
|
Powered by
FUDForum. Page generated in 0.03298 seconds