Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Release notes for IWorkbench.openPage

An openPage method has been added to IWorkbench.  If this method is called,
a page will be opened in a new window, or in the current page, depending on
the user preference as stated in the Workbench Preferences page.  If the
active window is empty, the new page will be opened in the active window,
regardless of the user preference.

The existing methods to open a page or window have been deprecated.  These
include ..

     IWorkbench.openWorkbenchWindow(IAdaptable)
     IWorkbench.openWorkbenchWindow(String, IAdaptable)
     IWorkbenchWindow.openPage(IAdaptable)
     IWorkbenchWindow.openPage(IAdaptable)

For backwards compatability, the behavior of these methods will remain the
same.

From this point on, developers are expected to call the new method.
Existing code will continue to work without change.

Dave



Back to the top