Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Removing action sets from a perspective
Removing action sets from a perspective [message #83359] Thu, 26 June 2003 15:48 Go to next message
Eclipse UserFriend
Hi,

I'm writing a new perspective, and there are some action sets that I don't
really want visible the first time that the perspective is loaded, without
having to use the "Customize Perspective" dialog. These include the
"External Tools", "Navigator", and a couple of others. I can't seem to find
a way to get rid of them in the perspective factory, and I've tried the
IWorkbenchPage.hideActionSet(), but it doesn't work. So, is there any way
that it can be done? Thanks.

Del.
Re: Removing action sets from a perspective [message #84191 is a reply to message #83359] Fri, 27 June 2003 14:30 Go to previous message
Eclipse UserFriend
Originally posted by: lynne_kues.oti.com

I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=39435 for the fact
that hideActionSet is not working. I think it should in your scenario.

Could you also check out https://bugs.eclipse.org/bugs/show_bug.cgi?id=36968
which talks about improving action set contributions functionality for 3.0.
The bug report specifically mentions associating particular action sets with
each perspective. I assume what is discussed will solve your problem - if
not, please update the bug report with information about what you are doing.

As to how to get around this for now, there is no way that I can tell using
public API. You could try using internal API (e.g.,
setActionSets(IActionSetDescriptor[]), but that's not the "right" thing to
do.

"Del" <delmyers@cs.uvic.ca> wrote in message
news:bdfi55$2v7$1@rogue.oti.com...
> Hi,
>
> I'm writing a new perspective, and there are some action sets that I don't
> really want visible the first time that the perspective is loaded, without
> having to use the "Customize Perspective" dialog. These include the
> "External Tools", "Navigator", and a couple of others. I can't seem to
find
> a way to get rid of them in the perspective factory, and I've tried the
> IWorkbenchPage.hideActionSet(), but it doesn't work. So, is there any way
> that it can be done? Thanks.
>
> Del.
>
>
Previous Topic:CVS crashes Eclipse 2.1 under Linux
Next Topic:Customised Editor
Goto Forum:
  


Current Time: Thu Jul 17 06:22:28 EDT 2025

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

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

Back to the top