Is there a possibility to invoke an IMethod [message #97171] |
Fri, 19 September 2003 09:44 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: werner.keplinger.fh-hagenberg.at
I am writing my first plugin and I would like to invoke an IMethod as it
can be done with an Method of the java.lang.reflect API. Is there any
possibilty to do that?
|
|
|
Re: Is there a possibility to invoke an IMethod [message #97230 is a reply to message #97171] |
Fri, 19 September 2003 12:54 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: markus_keller.ch.ibm.spam.protect.com
Werner Keplinger wrote:
> I am writing my first plugin and I would like to invoke an IMethod as it
> can be done with an Method of the java.lang.reflect API. Is there any
> possibilty to do that?
What would you expect from calling an IMethod?
An IMethod is a handle to a (source or binary) java element in a project
of your workspace. You cannot simply "call" it from your plugin, since
there's no VM in which such a call would make sense.
Calling it in the VM in which eclipse itself runs would not work, since
the IMethod is just a reference to an element in one of your projects
and not a reference to a running eclipse plugin.
Markus
|
|
|
Powered by
FUDForum. Page generated in 0.03412 seconds