Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Associating Editors with Perspectives
Associating Editors with Perspectives [message #165633] Wed, 03 December 2003 20:15 Go to next message
Eclipse UserFriend
I know the Eclipse rule is that all editors are visible in all perspectives.
I would like to break that rule. I need to associate an editor with a
specific perspective so that when I switch perspectives the editor is no
longer visible. Can anyone tell me how to do this?

thanks
Re: Associating Editors with Perspectives [message #165808 is a reply to message #165633] Thu, 04 December 2003 08:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: angeles_sorano.yahoo.com.ar

Zheng Yi:
In your especific perspective you can add your own editors and views in
method createInitialLayout(IPageLayout layout) from your perspective class.

Regards,
Angeles

Zheng Yi wrote:

> I know the Eclipse rule is that all editors are visible in all perspectives.
> I would like to break that rule. I need to associate an editor with a
> specific perspective so that when I switch perspectives the editor is no
> longer visible. Can anyone tell me how to do this?

> thanks
Re: Associating Editors with Perspectives [message #165933 is a reply to message #165808] Thu, 04 December 2003 12:54 Go to previous message
Eclipse UserFriend
The problem is that when you switch perspectives, all open editors will
remain visible. I want to hide editors depending on what perspective the
user is in.


"Angeles Sorano" <angeles_sorano@yahoo.com.ar> wrote in message
news:bqndkb$9bs$1@eclipse.org...
> Zheng Yi:
> In your especific perspective you can add your own editors and views in
> method createInitialLayout(IPageLayout layout) from your perspective
class.
>
> Regards,
> Angeles
>
> Zheng Yi wrote:
>
> > I know the Eclipse rule is that all editors are visible in all
perspectives.
> > I would like to break that rule. I need to associate an editor with a
> > specific perspective so that when I switch perspectives the editor is no
> > longer visible. Can anyone tell me how to do this?
>
> > thanks
>
>
Previous Topic:Team dev plugin for RCS
Next Topic:"Out of memory" errors
Goto Forum:
  


Current Time: Tue Jul 15 15:20:46 EDT 2025

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

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

Back to the top