Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to replace/remove workbench menu items ?
How to replace/remove workbench menu items ? [message #22723] Tue, 29 April 2003 17:40 Go to next message
Eclipse UserFriend
Originally posted by: vouffo.fokus.fraunhofer.de

Hi,

is it at all possible to modify or remove existing items from the
workbench menus ?
I'd like to create a new perspective, which will only display some of
the usual menu items of the workbench and overwrite the actions linked
to some others.
If anybody has already dealt with such issues, input would be greatly
appreciated.

Thanx and regards
Alain
Re: How to replace/remove workbench menu items ? [message #22811 is a reply to message #22723] Tue, 29 April 2003 17:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: simon.ibm.oti.lab

There is no API to remove workbench provided menu items. This is something
we plan to look at for release 3.0 (see rich client platform).

What do you mean by "overwrite the actions linked to some others"? Can you
give an example...it sounds like you are talking about retargetable actions
which the workbench does support.

Simon :-)

"Alain Vouffo" <vouffo@fokus.fraunhofer.de> wrote in message
news:3EAEB8F5.3050305@fokus.fraunhofer.de...
> Hi,
>
> is it at all possible to modify or remove existing items from the
> workbench menus ?
> I'd like to create a new perspective, which will only display some of
> the usual menu items of the workbench and overwrite the actions linked
> to some others.
> If anybody has already dealt with such issues, input would be greatly
> appreciated.
>
> Thanx and regards
> Alain
>
Re: How to replace/remove workbench menu items ? [message #27382 is a reply to message #22723] Fri, 02 May 2003 13:09 Go to previous message
Matthew Hatem is currently offline Matthew HatemFriend
Messages: 47
Registered: July 2009
Member
This is a multipart message in MIME format.
--=_alternative 00483DD085256D1A_=
Content-Type: text/plain; charset="US-ASCII"

You need to HACK the WorkbenchActionBuilder to make this happen. Keep in
mind that this is where the hardwired menus are added, other menus are
added through plugin.xmls

-m@

--=_alternative 00483DD085256D1A_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">You need to HACK the WorkbenchActionBuilder
to make this happen. &nbsp;Keep in mind that this is where the hardwired
menus are added, other menus are added through plugin.xmls</font>
<br>
<br><font size=2 face="sans-serif">-m@</font>
<br>
--=_alternative 00483DD085256D1A_=--
Previous Topic:Possible to create ViewPane without title bar?
Next Topic:Debug performance
Goto Forum:
  


Current Time: Thu Dec 26 16:30:01 GMT 2024

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

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

Back to the top