Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Is it possible to disable close button on views?
Is it possible to disable close button on views? [message #242783] Thu, 20 May 2004 09:32 Go to next message
Eclipse UserFriend
Hi all,

Is it possibloe to disable the close button on views? Or somehow prevent a
view from being closed?

The reason I ask is that my application defines a perspective that creates
several fastviews when the perspective is created. These fastviews should
never go away but sometimes a user will accidently close them. Closing the
fastview is an annoyance since the user will just have to reopen the view
anyway. Therefore it makes sense to just make it that the user can't close
the view in the first place.

TIA,
ted stockwell
Re: Is it possible to disable close button on views? [message #242902 is a reply to message #242783] Thu, 20 May 2004 14:31 Go to previous message
Eclipse UserFriend
hi ted,
you can make your views fixed, incase u want to disable the close button.
While adding a view to the perspective use addFixedview(viewid)...

balaji

"ted stockwell" <emorning@yahoo.com> wrote in message
news:c8ibki$8os$1@eclipse.org...
> Hi all,
>
> Is it possibloe to disable the close button on views? Or somehow prevent
> a
> view from being closed?
>
> The reason I ask is that my application defines a perspective that creates
> several fastviews when the perspective is created. These fastviews should
> never go away but sometimes a user will accidently close them. Closing
> the
> fastview is an annoyance since the user will just have to reopen the view
> anyway. Therefore it makes sense to just make it that the user can't
> close
> the view in the first place.
>
> TIA,
> ted stockwell
>
Previous Topic:[CVS] Flaws drill holes in open-source repository
Next Topic:Bootloader.inDevelopmentMode replacement. How do I get to it?
Goto Forum:
  


Current Time: Wed May 07 05:16:02 EDT 2025

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

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

Back to the top