"The operation is not currently available" [message #325539] |
Thu, 21 February 2008 15:02 |
Eclipse User |
|
|
|
Originally posted by: stefan.bley.saxsys.de
I created a plugin project and executed the extension wizard "Hello,
World action set" to get a simple menu action.
When I launch the application instance and press the sample action
button, I get a dialog that says "The operation is not currently
available". I can't debug this.
What is wrong here?
Regards, Stevy
|
|
|
|
|
Re: "The operation is not currently available" [message #325569 is a reply to message #325539] |
Fri, 22 February 2008 11:27 |
Eclipse User |
|
|
|
Originally posted by: thomas.hanel.xxxxxxxx.xxx
I encountered this when I was trying to execute an action from within the
right-mouse-button menu (popup menu) of the package explorer. Hitting the
button in the toolbar worked fine. After a while I found out, that the
Action needs to implement the IWorkbenchWindowActionDelegate interface to
be able to get triggered from the RMB menu. Maybe you find this helpful.
Kind Regards
Thomas
|
|
|
Re: "The operation is not currently available" [message #325575 is a reply to message #325546] |
Fri, 22 February 2008 13:48 |
Eclipse User |
|
|
|
Originally posted by: thunderaxiom.gmail.com
Prakash G.R. skrev den 21-02-2008 17:50:
> This usually happens when the class name specified in the plugin.xml is
> not found. You might have refactored the class/package name or modified
> the plugin.xml
I have just seen this with a plugin compiled for a newer Java than the
one that was running eclipse.
--
Thorbjørn
|
|
|
Re: "The operation is not currently available" [message #325576 is a reply to message #325575] |
Fri, 22 February 2008 14:00 |
Eclipse User |
|
|
|
Originally posted by: stefan.bley.saxsys.de
Thorbjørn Andersen schrieb:
> Prakash G.R. skrev den 21-02-2008 17:50:
>> This usually happens when the class name specified in the plugin.xml
>> is not found. You might have refactored the class/package name or
>> modified the plugin.xml
>
> I have just seen this with a plugin compiled for a newer Java than the
> one that was running eclipse.
That has been the problem. I set the JRE of the plugin as well the JRE
for the Eclipse application instance to 5.0, but the compliance level
was set to 6.0. So javac 6.0 compiled my plugin code, while the Eclipse
instance has been running with 5.0.
Thank you all for your hints.
It would be fancy if the error message told me the version conflicts
instead of "is not currently available".
Regards, Stevy
|
|
|
Powered by
FUDForum. Page generated in 0.03506 seconds