Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to disable a view
How to disable a view [message #329073] Thu, 12 June 2008 05:18 Go to next message
Eclipse UserFriend
Originally posted by: arshia.yahoo.com

Hi,

I have three views in a perspective.. Based on some condition I want to
disable the view instead of hiding..

I found how to hide a view.. but I want to show the view in disabled
state..

Thanks,
Arshia
Re: How to disable a view [message #329080 is a reply to message #329073] Thu, 12 June 2008 08:22 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Arshia wrote:
> Hi,
>
> I have three views in a perspective.. Based on some condition I want
> to disable the view instead of hiding..
>
> I found how to hide a view.. but I want to show the view in disabled
> state..
There's no disabled state. If you want to introduce this, then you have
to code it yourself.

Dani
>
> Thanks,
> Arshia
>
>
Re: How to disable a view [message #329091 is a reply to message #329073] Thu, 12 June 2008 13:59 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Arshia wrote:
> Hi,
>
> I have three views in a perspective.. Based on some condition I want to
> disable the view instead of hiding..
>
> I found how to hide a view.. but I want to show the view in disabled
> state..

You could use a utility method to disable all the widgets in the view,
like the one described here:
http://dev.eclipse.org/newslists/news.eclipse.platform/msg67 063.html

Hope this helps,
Eric
Previous Topic:customize strings/messages from WorkbenchMessages
Next Topic:Custom Perspective
Goto Forum:
  


Current Time: Sat Nov 09 03:40:57 GMT 2024

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

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

Back to the top