import org.eclipse.e4.ui.di.Focus; failing [message #931054] |
Tue, 02 October 2012 18:18  |
Eclipse User |
|
|
|
Hi,
I just started trying to create an RCP application using Eclipse E4,
using the EclipseRCP tutorial of Lars Vogel.
I was starting from scratch, so I have still a clean installation:
Eclipse for RCP and RAP Developers
Eclipse e4 tooling
as explained in the tutorial.
The basics of the tutorial work without any issue, but in section 18.3
the tutorial describes the need for adding a @Focus method.
Now the strange thing is that the required import for Focus:
import org.eclipse.e4.ui.di.Focus;
is failing. Eclipse cannot resolve the org.eclipse.e4.ui.di
I've searched the forum and eclipse faq's but all examples
using injection use exactly the same import.
I also copied some example (by Lars Vogel) from
http://www.eclipse.org/forums/index.php/m/813698/?srch=%40Focus+injection#msg_813698
but this gives the same problem.
What am I missing ?
thx, David
I am running eclipse-rcp-juno-win32-x86_64
with feature/plugins as shown in the attached txt file
|
|
|
|
Re: import org.eclipse.e4.ui.di.Focus; failing [message #932007 is a reply to message #931467] |
Wed, 03 October 2012 14:44  |
Eclipse User |
|
|
|
Hi,
it took me a while to find where to add the dependency. In the end
it was missing from the MANIFEST.MF/plugin.xml .
(I'm not very familiar yet looking through the several views of the
project.)
And, after adding it there, the example is now working again, thx.
gr, David
|
|
|
Powered by
FUDForum. Page generated in 0.09256 seconds