Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Close Perspective
Close Perspective [message #77539] Mon, 10 March 2008 08:06 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:FormText support
Next Topic:ScrolledForm's scrollbars shows up after refreshing
Goto Forum:
  


Current Time: Fri Apr 26 15:07:06 GMT 2024

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

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

Back to the top