Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Discouraged Access Warning:IDEInternalWorkbenchImages
Discouraged Access Warning:IDEInternalWorkbenchImages [message #184382] Wed, 13 December 2006 11:56
Eclipse UserFriend
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
Previous Topic:Howto implement "Press F2 for Focus" on text hover
Next Topic:Orion plugin for Eclipse
Goto Forum:
  


Current Time: Fri Mar 29 13:59:24 GMT 2024

Powered by FUDForum. Page generated in 0.03298 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top