Skip to main content



      Home
Home » Newcomers » Newcomers » Question about pages in IWorkbenchWindow
Question about pages in IWorkbenchWindow [message #267351] Sun, 28 December 2008 13:13 Go to next message
Eclipse UserFriend
Hi,

does an IWorkbenchWindow have one and only one page,
that returned by IWorkbenchWindow.getActivePage() ?

Thanks
Mário
Re: Question about pages in IWorkbenchWindow [message #267353 is a reply to message #267351] Sun, 28 December 2008 13:24 Go to previous messageGo to next message
Eclipse UserFriend
Mário,

Given that there is a getPages methods, I'd say no...


Mário Guimarães wrote:
> Hi,
>
> does an IWorkbenchWindow have one and only one page,
> that returned by IWorkbenchWindow.getActivePage() ?
>
> Thanks
> Mário
Re: Question about pages in IWorkbenchWindow [message #267355 is a reply to message #267353] Sun, 28 December 2008 13:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

yes it seems so, but as per

http://wiki.eclipse.org/FAQ_What_is_the_difference_between_a _perspective_and_a_workbench_page%3F

" ... In Eclipse 1.0, each workbench window could have multiple pages,
but this has not been the case since Eclipse 2.0. ..."

how many pages can a window have? Are the API names misleading,
or should the FAQ be corrected?

If there can be multiple pages, what does it mean for a window to have
several pages? What are the differences between them?

Thanks
Mário

Ed Merks escreveu:
> Mário,
>
> Given that there is a getPages methods, I'd say no...
>
>
> Mário Guimarães wrote:
>> Hi,
>>
>> does an IWorkbenchWindow have one and only one page,
>> that returned by IWorkbenchWindow.getActivePage() ?
>>
>> Thanks
>> Mário
Re: Question about pages in IWorkbenchWindow [message #267359 is a reply to message #267355] Sun, 28 December 2008 16:04 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.
--------------060108070601000001010706
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

M
Previous Topic:Newbie: help finding SWT?
Next Topic:Launch Failed. Binary not found
Goto Forum:
  


Current Time: Sun May 11 02:05:05 EDT 2025

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

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

Back to the top