Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Custom Perspective
Custom Perspective [message #329040] Wed, 11 June 2008 04:57 Go to next message
Alok is currently offline AlokFriend
Messages: 5
Registered: July 2009
Junior Member
Sorry,the question appeared at wrong place so reposting.

Hi,

Is is possible to add multiple editors in the custom perspective? e.g.
I've got a table and tree editor and i want to add both in the perspective
where one should appear in the normal editor area and the other should
appear in right so that i can see the properties of both at the same
time.I can achieve this by dragging one of the editor but i want to
include in the perspective so that it appears by default.

I could not find any method in IPageLayout for this and it is supporting
to add views in context of editor area. Also while trying to use the other
editor id it is throwing exception.Am i missing something here?

Any help is appreciated.

Thanks and regards,
Alok
Re: Custom Perspective [message #329055 is a reply to message #329040] Wed, 11 June 2008 13:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Alok wrote:
> Sorry,the question appeared at wrong place so reposting.
>
> Hi,
>
> Is is possible to add multiple editors in the custom perspective? e.g.
> I've got a table and tree editor and i want to add both in the
> perspective where one should appear in the normal editor area and the
> other should appear in right so that i can see the properties of both at
> the same time.I can achieve this by dragging one of the editor but i
> want to include in the perspective so that it appears by default.
>
> I could not find any method in IPageLayout for this and it is supporting
> to add views in context of editor area. Also while trying to use the
> other editor id it is throwing exception.Am i missing something here?

You'll have to make one of the editors into a View. There is no API for
splitting the editor area into multiple editors (although you can do it
through the UI by dragging), and there can only be a single editor area
in any perspective.

Hope this helps,
Eric
Re: Custom Perspective [message #329079 is a reply to message #329055] Thu, 12 June 2008 07:45 Go to previous messageGo to next message
Alok is currently offline AlokFriend
Messages: 5
Registered: July 2009
Junior Member
Eric Rizzo wrote:

> Alok wrote:
>> Sorry,the question appeared at wrong place so reposting.
>>
>> Hi,
>>
>> Is is possible to add multiple editors in the custom perspective? e.g.
>> I've got a table and tree editor and i want to add both in the
>> perspective where one should appear in the normal editor area and the
>> other should appear in right so that i can see the properties of both at
>> the same time.I can achieve this by dragging one of the editor but i
>> want to include in the perspective so that it appears by default.
>>
>> I could not find any method in IPageLayout for this and it is supporting
>> to add views in context of editor area. Also while trying to use the
>> other editor id it is throwing exception.Am i missing something here?

> You'll have to make one of the editors into a View. There is no API for
> splitting the editor area into multiple editors (although you can do it
> through the UI by dragging), and there can only be a single editor area
> in any perspective.

> Hope this helps,
> Eric


Thanks Eric.
Do you mean to change the editor into a view??

Another thing is whether it is possible to include a perspective inside
another perspective?

Thanks and Regards,
Alok
Re: Custom Perspective [message #329092 is a reply to message #329079] Thu, 12 June 2008 14:00 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Alok wrote:
> Eric Rizzo wrote:
>
>> Alok wrote:
>>> Sorry,the question appeared at wrong place so reposting.
>>>
>>> Hi,
>>>
>>> Is is possible to add multiple editors in the custom perspective?
>>> e.g. I've got a table and tree editor and i want to add both in the
>>> perspective where one should appear in the normal editor area and the
>>> other should appear in right so that i can see the properties of both
>>> at the same time.I can achieve this by dragging one of the editor but
>>> i want to include in the perspective so that it appears by default.
>>>
>>> I could not find any method in IPageLayout for this and it is
>>> supporting to add views in context of editor area. Also while trying
>>> to use the other editor id it is throwing exception.Am i missing
>>> something here?
>
>> You'll have to make one of the editors into a View. There is no API
>> for splitting the editor area into multiple editors (although you can
>> do it through the UI by dragging), and there can only be a single
>> editor area in any perspective.
>
>> Hope this helps,
>> Eric
>
>
> Thanks Eric.
> Do you mean to change the editor into a view??

Yes.

>
> Another thing is whether it is possible to include a perspective inside
> another perspective?

No, that doesn't make any sense in the Workbench/Perspective/View
paradigm that Eclipse uses.

Eric
Previous Topic:How to disable a view
Next Topic:Eclipse does not run with JRE 1.6.0
Goto Forum:
  


Current Time: Thu Jul 18 03:43:38 GMT 2024

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

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

Back to the top