How to handle the default menu of an RCP-GMF app [message #175447] |
Tue, 04 March 2008 06:37  |
Eclipse User |
|
|
|
Originally posted by: fbanica.soluta.net
Hello,
I have moved form the old GMF to the new GMF Base Platform 2.0.1 and I
discovered a little, but annoying problem. In my old RCP application
everything was just fine. Into the File menu I had the "Open..." voice
(handled with org.eclipse.ui.commands, org.eclipse.bindings and
org.eclipse.ui.actionSets extension points of the plugin.xml). I was happy
:-)
But, when I passed to the 2.0.1 I noticed that always comes up a new voice
menu: "Open file..." which I don't want. Plus, it's not working (if I try to
open one of my models it gives me a NullPointerException). The "original"
"Open..." handled by me (like in the previous version) is still there and is
working fine.
So, my questions are:
1. why is this "Open file..." voice menu appears (I mention that there is
not from the org.eclipse.ui.commands extension point of the plugin.xml)
2. how can I get it out of there?
Thanks,
Floppy
|
|
|
|
|
Re: How to handle the default menu of an RCP-GMF app [message #176948 is a reply to message #176384] |
Wed, 12 March 2008 14:17  |
Eclipse User |
|
|
|
Originally posted by: jan.koehnlein.web.de
I doubt that you can generate that from the models. Have a look at
http://www.vogella.de/articles/RichClientPlatform/article.ht ml
Usually, these menu actions are created in the ActionBarAdvisor.
Regards
Jan
Florin Banica wrote:
> It seems to me that it's the same "Open File..." voice menu from the Eclipse
> itself (File/Open File). The problem is that I don't want to see it in my
> RCP application. In the previous versions of Eclipse/GMF this didn't happen.
>
> Still nobody has any idea?
>
>
> "Florin Banica" <fbanica@soluta.net> wrote in message
> news:fqqtg0$fge$2@build.eclipse.org...
>> Anybody? Any idea?
>>
>>
>> "Florin Banica" <fbanica@soluta.net> wrote in message
>> news:fqjcaq$mn5$1@build.eclipse.org...
>>> Hello,
>>>
>>> I have moved form the old GMF to the new GMF Base Platform 2.0.1 and I
>>> discovered a little, but annoying problem. In my old RCP application
>>> everything was just fine. Into the File menu I had the "Open..." voice
>>> (handled with org.eclipse.ui.commands, org.eclipse.bindings and
>>> org.eclipse.ui.actionSets extension points of the plugin.xml). I was
>>> happy :-)
>>>
>>> But, when I passed to the 2.0.1 I noticed that always comes up a new
>>> voice menu: "Open file..." which I don't want. Plus, it's not working (if
>>> I try to open one of my models it gives me a NullPointerException). The
>>> "original" "Open..." handled by me (like in the previous version) is
>>> still there and is working fine.
>>>
>>> So, my questions are:
>>>
>>> 1. why is this "Open file..." voice menu appears (I mention that there is
>>> not from the org.eclipse.ui.commands extension point of the plugin.xml)
>>> 2. how can I get it out of there?
>>>
>>> Thanks,
>>>
>>>
>>> Floppy
>>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03210 seconds