Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Discouraged Access
Discouraged Access [message #1067408] Mon, 08 July 2013 14:31 Go to next message
Phill Perryman is currently offline Phill PerrymanFriend
Messages: 214
Registered: July 2009
Senior Member
Kepler 64 bit windows

I am following Lars' tutorial (book and article from 4 days ago have same code) and adding a popup menu. However when I add the import

import org.eclipse.e4.ui.workbench.swt.modeling.EMenuService;

I get

Description Resource Path Location Type
Discouraged access: The type EMenuService is not accessible due to restriction on required library C:\eclipse\Kepler64\eclipse\plugins\org.eclipse.e4.ui.workbench.swt_0.12.0.v20130517-0139.jar HomePage.java /swb3/src/swb3/parts line 20 Java Problem

Has the popup menu registration process changed
Re: Discouraged Access [message #1067527 is a reply to message #1067408] Tue, 09 July 2013 08:48 Go to previous messageGo to next message
Eclipse UserFriend
http://www.eclipse.org/forums/index.php/mv/msg/287549/793636/#msg_793636
Re: Discouraged Access [message #1067568 is a reply to message #1067527] Tue, 09 July 2013 11:30 Go to previous message
Phill Perryman is currently offline Phill PerrymanFriend
Messages: 214
Registered: July 2009
Senior Member
Thanks, I will tag them as @SuppressWarnings("restriction") and wait for them to be published.
Previous Topic:Deleting a part from a model
Next Topic:Add ControlContribution to Coolbar
Goto Forum:
  


Current Time: Fri Apr 19 22:35:12 GMT 2024

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

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

Back to the top