Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » hide a view
hide a view [message #463679] Wed, 14 February 2007 10:28 Go to next message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

Hello everybody!
Is there a possibility to hide a view after the start of application.
For example, I was working with my application, then something happened
and the view is hidden. And cannot be shown from Show View selection. Is
that possible?
Thanks in advance!
Re: hide a view [message #463693 is a reply to message #463679] Wed, 14 February 2007 11:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Regarding the problem with "Hide the view name from Window-->Show View":
A discussion has been going on about this topic - search for
"Hide the view name from Window-->Show View" - may this will give you
some clue.

Regarding the hiding of the view itself it may be possible to use the
startup extension point of eclipse and hide the view there (just a guess
- I don't know ;-)).

HTH,
Stefan

Peter Osipov schrieb:
> Hello everybody!
> Is there a possibility to hide a view after the start of application.
> For example, I was working with my application, then something happened
> and the view is hidden. And cannot be shown from Show View selection. Is
> that possible?
> Thanks in advance!
Re: hide a view [message #463695 is a reply to message #463693] Wed, 14 February 2007 11:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

Hi Stefan
Thank for your answer. Yep, I have been there and know how to hide the
views dynamically on startup. I even know how to hide the view using the
reflection(getting private field) and removing it from the registry
after the start-up on demand. But I do not like that, if you know what I
mean. So, I want an honest way.
Stefan Zugal wrote:
> Hi,
>
> Regarding the problem with "Hide the view name from Window-->Show View":
> A discussion has been going on about this topic - search for
> "Hide the view name from Window-->Show View" - may this will give you
> some clue.
>
> Regarding the hiding of the view itself it may be possible to use the
> startup extension point of eclipse and hide the view there (just a
> guess - I don't know ;-)).
>
> HTH,
> Stefan
>
> Peter Osipov schrieb:
>> Hello everybody!
>> Is there a possibility to hide a view after the start of application.
>> For example, I was working with my application, then something
>> happened and the view is hidden. And cannot be shown from Show View
>> selection. Is that possible?
>> Thanks in advance!
Re: hide a view [message #463767 is a reply to message #463679] Thu, 15 February 2007 08:34 Go to previous messageGo to next message
Eclipse UserFriend
What about tying that view id to an activity? You should be able to
make it disappear by setting the activity to false.


Later,
PW
Re: hide a view [message #463782 is a reply to message #463767] Thu, 15 February 2007 10:07 Go to previous message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

Oh, Right!
That is a good idea! Do you think that will make it disappear from the
Show View menu?
Paul Webster wrote:
> What about tying that view id to an activity? You should be able to
> make it disappear by setting the activity to false.
>
>
> Later,
> PW
Previous Topic:Is there a Eclips RCP FAQ site?
Next Topic:exporting preferences
Goto Forum:
  


Current Time: Thu Mar 20 08:39:08 EDT 2025

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

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

Back to the top