[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-dev] problem by using JavaCore.create(..)
|
hello!
i've some problems by using the JavaCore.create(..). i've written a plug-in,
and i implemented the IActionDelegate interface from the package
org.eclipse.ui. in this implementation i extract a IResource
(org.eclipse.core.resource.IResource) from the IStructuredSelection-"Object". now i want to get the
IJavaProject - which i can use in another framework. first i ask IProjcet projcet
= IResource.getProject() - no problems. but as soon as i ask IJavaProject
myJavaProject = JavaCore.create(project) i'll get a runtime error. the
error-message is:
"Unhadled event loop exception
Reason:
org/eclipse/jdt/core/JavaCore"
and i have no more ideas how i can prevent this exception!
i look forward for some tips how i can solve this problem!
thanks to your all!
wolfgang
--
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++