Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Adding Help view to a perspective
Adding Help view to a perspective [message #474798] Mon, 17 November 2008 15:05 Go to next message
Jason Woods is currently offline Jason Woods
Messages: 29
Registered: July 2009
Junior Member
It seems I am unable to add the help view to a perspective
programmatically using the IFolderLayout.addView() method. This works
with other views, but not the Help view. Is this because the view is
defined as being sticky?

Are there any known workarounds on how to get this view to default to a
particular location in a custom perspective?

I also tried the IPageLayout.addPlaceholder() method, but when I later
request the view to be opened it still opens it on the right side as
defined in its plugin.xml definition.

I'm tempted to open a bug against the view/perspective mechanism because
programmatically requesting a view to be placed somewhere should work
(assuming the view is defined as being moveable as this one is).

???
Re: Adding Help view to a perspective [message #474824 is a reply to message #474798] Wed, 19 November 2008 15:47 Go to previous message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
Yes, it is because it is a sticky view. Having said that I don't know
what the workaround is.


Jason Woods wrote:
> It seems I am unable to add the help view to a perspective
> programmatically using the IFolderLayout.addView() method. This works
> with other views, but not the Help view. Is this because the view is
> defined as being sticky?
>
> Are there any known workarounds on how to get this view to default to a
> particular location in a custom perspective?
> I also tried the IPageLayout.addPlaceholder() method, but when I later
> request the view to be opened it still opens it on the right side as
> defined in its plugin.xml definition.
>
> I'm tempted to open a bug against the view/perspective mechanism because
> programmatically requesting a view to be placed somewhere should work
> (assuming the view is defined as being moveable as this one is).
>
> ???
>
Re: Adding Help view to a perspective [message #622207 is a reply to message #474798] Wed, 19 November 2008 15:47 Go to previous message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
Yes, it is because it is a sticky view. Having said that I don't know
what the workaround is.


Jason Woods wrote:
> It seems I am unable to add the help view to a perspective
> programmatically using the IFolderLayout.addView() method. This works
> with other views, but not the Help view. Is this because the view is
> defined as being sticky?
>
> Are there any known workarounds on how to get this view to default to a
> particular location in a custom perspective?
> I also tried the IPageLayout.addPlaceholder() method, but when I later
> request the view to be opened it still opens it on the right side as
> defined in its plugin.xml definition.
>
> I'm tempted to open a bug against the view/perspective mechanism because
> programmatically requesting a view to be placed somewhere should work
> (assuming the view is defined as being moveable as this one is).
>
> ???
>
Previous Topic:How to remove the default icon of a <link> when contributing an Intro
Next Topic:Spuriour error message in nl tocs
Goto Forum:
  


Current Time: Thu Jul 31 15:59:56 EDT 2014

Powered by FUDForum. Page generated in 0.01812 seconds