Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Close Perspective
Close Perspective [message #77539] Mon, 10 March 2008 04: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 12: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 15: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: Sun Aug 31 09:29:57 EDT 2025

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

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

Back to the top