Close Perspective [message #77539] |
Mon, 10 March 2008 08:06 |
Eclipse User |
|
|
|
Originally posted by: dnise.hotmail.com
HI all:
Is there any method to close ViewPart?
we can use hideview in RAP.
dnise
2008-03-10
|
|
|
Re: Close Perspective [message #77709 is a reply to message #77539] |
Mon, 10 March 2008 16:17 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
AFAIK there is no (official) way to programmatically close a view in
the Workbench. As RAP only "copies" the original Workbench code
there is no API either.
For futher information you could google for "close viewpart
programmatically".
Rüdiger
dnise wrote:
> HI all:
> Is there any method to close ViewPart?
> we can use hideview in RAP.
>
> dnise
>
> 2008-03-10
>
|
|
|
RE: Close Perspective [message #77724 is a reply to message #77709] |
Mon, 10 March 2008 19:45 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
I think hideView, does what you are looking for. If I remember it right,
it disposes of the viewpart if the reference count in all perspectives
is 0. It can't do so if the viewpart is still open in another
perspective. Therefore it makes sense, that there's no direct 'close'
functionality.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Rüdiger Herrmann [mailto:rherrmann@innoopract.com]
Bereitgestellt: Montag, 10. März 2008 17:17
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Close Perspective
Betreff: Re: Close Perspective
AFAIK there is no (official) way to programmatically close a view in the
Workbench. As RAP only "copies" the original Workbench code there is no
API either.
For futher information you could google for "close viewpart
programmatically".
Rüdiger
dnise wrote:
> HI all:
> Is there any method to close ViewPart?
> we can use hideview in RAP.
>
> dnise
>
> 2008-03-10
>
|
|
|
Powered by
FUDForum. Page generated in 0.03752 seconds