Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Discouraged Access(The type IWorkbench is not accessible due to restriction on required library)
Discouraged Access [message #793636] Wed, 08 February 2012 11:25 Go to next message
Phill Perryman is currently offline Phill PerrymanFriend
Messages: 214
Registered: July 2009
Senior Member
I am carrying on with the rcp tutorial and have added a handler class. However I get
this sort of error, I also get it on CanExecute, Execute in core.di

I have both these in the dependency list (dependencies are as per the tutorial).

How do I get rid of these warnings. btw the code works and closes the workbench.

Discouraged access: The type IWorkbench is not accessible due to restriction on required library C:\e4\eclipse\plugins\org.eclipse.e4.ui.workbench_0.10.1.v20120126-1604.jar ExitHandler.java
Re: Discouraged Access [message #793725 is a reply to message #793636] Wed, 08 February 2012 13:36 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
Have a look at this: "3.3. Provisional API"
http://www.vogella.de/articles/Eclipse4RCP/article.html#e4overview_api
Re: Discouraged Access [message #793753 is a reply to message #793725] Wed, 08 February 2012 14:23 Go to previous message
Phill Perryman is currently offline Phill PerrymanFriend
Messages: 214
Registered: July 2009
Senior Member
Thanks. Ironically thats the tutorial I have been following. Too much to remember.
Previous Topic:Dynamic View Menu
Next Topic:How to access the osgi console for the application
Goto Forum:
  


Current Time: Fri Apr 19 19:02:34 GMT 2024

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

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

Back to the top