Eclipse Platform
Release 3.1

org.eclipse.jface.window
Interface IShellProvider

All Known Subinterfaces:
IEditorSite, IIntroSite, IPageSite, IViewSite, IWorkbenchPartSite, IWorkbenchSite
All Known Implementing Classes:
MultiPageEditorSite, PageSite, SameShellProvider, Window

public interface IShellProvider

Interface for objects that can return a shell. This is normally used for opening child windows. An object that wants to open child shells can take an IShellProvider in its constructor, and the object that implements IShellProvider can dynamically choose where child shells should be opened.

Since:
3.1

Method Summary
 Shell getShell()
          Returns the current shell (or null if none).
 

Method Detail

getShell

public Shell getShell()
Returns the current shell (or null if none). This return value may change over time, and should not be cached.

Returns:
the current shell or null if none

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.