Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » remove fields on "ContextMenuProvider"
remove fields on "ContextMenuProvider" [message #178943] Sun, 24 April 2005 20:33 Go to next message
Eclipse UserFriend
Originally posted by: J_ML.netcabo.pt

Hi guys.

Let's see if i can explain myselfe... I have a menu on my GEF editor, i've
already added some actions and all works fine. The problem is that the
eclipse platform insists on displaying some menu actions that i would like
to be hidden. Like submenus "Team" "Input methods" "replace with" "compare
with" bla bla bla...

how can i get those off my menu? it also adds "Runs as" "debug as"
"profile as" ..... I've already tried to remove the groups added by
default and leave the groups i use, like:

manager.remove("org.eclipse.gef.group.find");
manager.remove("org.eclipse.gef.group.print");
manager.remove("org.eclipse.gef.group.save");
manager.remove("org.eclipse.gef.group.copy");
manager.remove("org.eclipse.gef.group.edit");

since i'am using the Undo, Rest and View groups.

i would get a printscreen but it does not capture the menu on my linux
desktop.

Thanks.
Re: remove fields on "ContextMenuProvider" [message #178960 is a reply to message #178943] Mon, 25 April 2005 03:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You should open bugs against the platform. If these menuitems are disabled
or not working, they shouldn't be polluting your editor.

It sounds like you are telling the workbench about your menumanager so that
you can support extensions. I'm not sure how those items get added after
that point.

""jos
Re: remove fields on "ContextMenuProvider" [message #179006 is a reply to message #178960] Mon, 25 April 2005 13:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: J_ML.netcabo.pt

hi, thanks for trying to help, but i'am not sure i understand this two
lines:

<< You should open bugs against the platform. >>

<< It sounds like you are telling the workbench about your menumanager so
that
you can support extensions. >>

José
Re: remove fields on "ContextMenuProvider" [message #179014 is a reply to message #179006] Mon, 25 April 2005 13:32 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Well, things don't just magically appear on context menus. How does the
team submenu get there?

""jos
Previous Topic:Connections do not appear
Next Topic:Wrap Text
Goto Forum:
  


Current Time: Wed Feb 08 07:57:30 GMT 2023

Powered by FUDForum. Page generated in 0.02060 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top