Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Class Resolving when editting XMI attribute with EJavaClass type
Class Resolving when editting XMI attribute with EJavaClass type [message #380522] Mon, 30 April 2007 10:43 Go to next message
Eclipse User
Originally posted by: ron.piterman.gmx.net

Hi,

When editting an XMI relying on an ecore module, Input of java classes
in EJavaClass attributes cannot resolve classes from the
wokrspace/project -

How do I change that?

Cheers,
Ron
Re: Class Resolving when editting XMI attribute with EJavaClass type [message #380524 is a reply to message #380522] Mon, 30 April 2007 11:08 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25947
Registered: July 2009
Senior Member
Ron,

Please use the EMF newsgroup for EMF-specific questions. I've added it
to the "to"list. If I understand your question correctly you are
hoping that a reference to a class such as com.example.MyType will
resolve to something in your workspace, but it's only possible to
resolve to a java.lang.Class instance that's actually in the running JVM
itself, so you should expect classes to resolve only if you have those
classes loaded in the running process.


RonPiterman wrote:
> Hi,
>
> When editting an XMI relying on an ecore module, Input of java classes
> in EJavaClass attributes cannot resolve classes from the
> wokrspace/project -
>
> How do I change that?
>
> Cheers,
> Ron
Re: Class Resolving when editting XMI attribute with EJavaClass type [message #592428 is a reply to message #380522] Mon, 30 April 2007 11:08 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25947
Registered: July 2009
Senior Member
Ron,

Please use the EMF newsgroup for EMF-specific questions. I've added it
to the "to"list. If I understand your question correctly you are
hoping that a reference to a class such as com.example.MyType will
resolve to something in your workspace, but it's only possible to
resolve to a java.lang.Class instance that's actually in the running JVM
itself, so you should expect classes to resolve only if you have those
classes loaded in the running process.


RonPiterman wrote:
> Hi,
>
> When editting an XMI relying on an ecore module, Input of java classes
> in EJavaClass attributes cannot resolve classes from the
> wokrspace/project -
>
> How do I change that?
>
> Cheers,
> Ron
Previous Topic:Class Resolving when editting XMI attribute with EJavaClass type
Next Topic:[ATL Transfromation] How to create a new class
Goto Forum:
  


Current Time: Thu Jul 31 21:55:05 EDT 2014

Powered by FUDForum. Page generated in 0.02442 seconds