|
Re: Custom Perspective [message #329055 is a reply to message #329040] |
Wed, 11 June 2008 13:41 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 #329092 is a reply to message #329079] |
Thu, 12 June 2008 14:00 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03331 seconds