Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:32 Go to next message
ted stockwell is currently offline ted stockwellFriend
Messages: 123
Registered: July 2009
Senior Member
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 18:31 Go to previous message
Balaji Kandan is currently offline Balaji KandanFriend
Messages: 20
Registered: July 2009
Junior Member
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 Jul 17 14:11:23 GMT 2024

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

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

Back to the top