Adding Help view to a perspective [message #474798] |
Mon, 17 November 2008 15:05  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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).
>
> ???
>
|
|
|
Powered by
FUDForum. Page generated in 0.05051 seconds