Interface IShellProvider

All Known Subinterfaces:
IEditorSite, IIntroSite, IPageSite, IViewSite, IWorkbenchPartSite, IWorkbenchSite, IWorkbenchWindow
All Known Implementing Classes:
AbstractElementListSelectionDialog, AbstractNotificationPopup, AbstractSelectionDialog, ApplicationWindow, BasicNewFileResourceWizard, BasicNewFolderResourceWizard, BasicNewProjectResourceWizard, BasicNewResourceWizard, CheckedTreeSelectionDialog, ContainerSelectionDialog, DebugPopup, DeleteResourcesWizard, Dialog, org.eclipse.ui.views.markers.internal.DialogMarkerProperties, org.eclipse.ui.views.markers.internal.DialogTaskProperties, EditionSelectionDialog, EditorSelectionDialog, ElementListSelectionDialog, ElementTreeSelectionDialog, ErrorDialog, ExternalProjectImportWizard, FileSelectionDialog, FileSystemExportWizard, FileSystemImportWizard, FilteredItemsSelectionDialog, FilteredResourcesSelectionDialog, FormDialog, IconAndMessageDialog, ImportTypeDialog, InputDialog, InspectPopupDialog, ListDialog, ListSelectionDialog, MarkerResolutionSelectionDialog, MessageDialog, MessageDialogWithToggle, ModelParticipantWizard, MoveResourcesWizard, MultiPageEditorSite, NewFolderDialog, NotificationPopup, PageSite, ParticipantPageDialog, ParticipantSynchronizeWizard, PathVariableSelectionDialog, PlainMessageDialog, PopupDialog, PreferenceDialog, ProgressMonitorDialog, ProjectLocationMoveDialog, ProjectLocationSelectionDialog, RefactoringHistoryWizard, RefactoringWizard, RenameResourceWizard, org.eclipse.compare.internal.ResizableDialog, ResourceListSelectionDialog, ResourceSelectionDialog, SameShellProvider, SaveablePartDialog, SaveAsDialog, SelectionDialog, SelectionStatusDialog, SourceLookupDialog, StatusDialog, StringVariableSelectionDialog, SubscriberParticipantWizard, TaskPropertiesDialog, TemplatePreferencePage.EditTemplateDialog, TitleAreaDialog, TrayDialog, TwoPaneElementSelector, TypeFilteringDialog, ViewSettingsDialog, Window, Wizard, WizardDialog, YesNoCancelListSelectionDialog, ZipFileExportWizard, ZipFileImportWizard

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

    Modifier and Type
    Method
    Description
    Returns the current shell (or null if none).
  • Method Details

    • getShell

      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