Uses of Class
org.eclipse.swt.widgets.Shell
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Provides support for applying and working with patches.
Provides support for finding and displaying the differences
between hierarchically structured data.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a set of actions related to running and debugging applications.
Provides a user interface for debug platform source lookup facilities.
Provides an interface to select an argument for a string substitution variable.
Provides provisioning user interface classes that can be used for assembling
a provisioning UI.
Provides support for shared UI resources such as menus,
tool bars, and status lines.
Provides support for dialogs.
Provides a framework for preferences.
Provides a framework for creating and manipulating text documents.
Provides a general framework for creating and managing
windows.
Provides a framework for wizards.
Application programming interface to implement a wizard based user interface for refactorings.
SWT AWT embedding support.
SWT Custom widgets.
SWT Printing support classes.
SWT widget public API classes.
Provides basic support for managing Team providers.
Application programming interfaces for working with history.
Contains the team synchronization presentation framework and support
for the Synchronize View.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
Application-level APIs for configuring and controling the Eclipse Platform User
Interface.
Provides support for working with cheat sheets.
Application programming interfaces for interaction
with the Eclipse console.
Provides support for integrating contexts into the Eclipse workbench.
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.Forms-based controls for use in views, editors, and wizards.
Provides support for integrating handlers into the Eclipse workbench.
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
APIs for dialogs in the IDE-specific portion of the Eclipse Platform User Interface.
APIs for the IDE-specific support for the
org.eclipse.core.filesystem.fileSystem extension.
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
Provides the Common Navigator framework.
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
Classes for using the preferences support in org.eclipse.core.runtime.preferences
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
Application programming interfaces for interaction
with the Eclipse text editor template support.
Provides the standard Task List view for displaying
tasks and problem annotations on resources.
Provides the standard Import and Export wizards for
moving resources into and out of the workspace.
-
Uses of Shell in org.eclipse.compare
Modifier and TypeMethodDescriptionIEditableContentExtension.validateEdit
(Shell shell) If the element is read-only, this method should be called to attempt to make it writable.ResourceNode.validateEdit
(Shell shell) ModifierConstructorDescriptionEditionSelectionDialog
(Shell parent, ResourceBundle bundle) Deprecated.Creates a new modal, resizable dialog. -
Uses of Shell in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionstatic Shell
CompareUIPlugin.getShell()
If the workbench is running returns the SWT Shell of the active workbench window ornull
if no workbench window is active.Modifier and TypeMethodDescriptionprotected void
CompareDialog.configureShell
(Shell newShell) protected void
ResizableDialog.configureShell
(Shell newShell) static CompareHandlerService
CompareHandlerService.createFor
(ICompareContainer container, Shell shell) static void
ExceptionHandler.handle
(InvocationTargetException e, Shell parent, String title, String message) Handles the givenInvocationTargetException
.static void
ExceptionHandler.handle
(CoreException e, Shell parent, String title, String message) Handles the givenCoreException
.protected void
ExceptionHandler.perform
(InvocationTargetException e, Shell shell, String title, String message) protected void
ExceptionHandler.perform
(CoreException e, Shell shell, String title, String message) static boolean
Utilities.validateResource
(IResource resource, Shell shell, String title) static boolean
Utilities.validateResources
(List<IResource> resources, Shell shell, String title) static boolean
Utilities.validateResources
(IResource[] resources, Shell shell, String title) ModifierConstructorDescriptionAddFromHistoryDialog
(Shell parent, ResourceBundle bundle) CompareDialog
(Shell shell, CompareEditorInput input) Create a dialog to host the given input.protected
CompareWithOtherResourceDialog
(Shell shell, ISelection selection) Creates the dialog.NavigationEndDialog
(Shell parentShell, String dialogTitle, Image dialogTitleImage, String dialogMessage, String[][] labelsAndValues) ResizableDialog
(Shell parent, ResourceBundle bundle) -
Uses of Shell in org.eclipse.compare.patch
-
Uses of Shell in org.eclipse.compare.structuremergeviewer
Modifier and TypeMethodDescriptionDocumentRangeNode.validateEdit
(Shell shell) StructureRootNode.validateEdit
(Shell shell) -
Uses of Shell in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionprotected Shell
AbstractLaunchConfigurationTab.getShell()
Returns the shell this tab is contained in, ornull
.Modifier and TypeMethodDescriptionstatic void
DebugUITools.deleteBreakpoints
(IBreakpoint[] breakpoints, Shell shell, IProgressMonitor progressMonitor) Deletes the given breakpoints using the operation history, which allows to undo the deletion.static int
DebugUITools.openLaunchConfigurationDialog
(Shell shell, ILaunchConfiguration configuration, String groupIdentifier, IStatus status) Open the launch configuration dialog on the specified launch configuration.static int
DebugUITools.openLaunchConfigurationDialog
(Shell shell, IStructuredSelection selection, String mode) Deprecated.use openLaunchConfigurationDialogOnGroup(Shell, IStructuredSelection, String) to specify the launch group that the dialog should be opened on.static int
DebugUITools.openLaunchConfigurationDialogOnGroup
(Shell shell, IStructuredSelection selection, String groupIdentifier) Open the launch configuration dialog with the specified initial selection.static int
DebugUITools.openLaunchConfigurationDialogOnGroup
(Shell shell, IStructuredSelection selection, String groupIdentifier, IStatus status) Open the launch configuration dialog with the specified initial selection.static int
DebugUITools.openLaunchConfigurationPropertiesDialog
(Shell shell, ILaunchConfiguration configuration, String groupIdentifier) Open the launch configuration properties dialog on the specified launch configuration.static int
DebugUITools.openLaunchConfigurationPropertiesDialog
(Shell shell, ILaunchConfiguration configuration, String groupIdentifier, IStatus status) Open the launch configuration properties dialog on the specified launch configuration.protected void
InspectPopupDialog.saveDialogBounds
(Shell shell) ModifierConstructorDescriptionDebugPopup
(Shell parent, Point anchor, String commandId) Constructs a new popup dialog of typePopupDialog.INFOPOPUPRESIZE_SHELLSTYLE
InspectPopupDialog
(Shell shell, Point anchor, String commandId, IExpression expression) Creates a new inspect popup.StringVariableSelectionDialog
(Shell parent) Constructs a new string substitution variable selection dialog. -
Uses of Shell in org.eclipse.debug.ui.actions
Modifier and TypeMethodDescriptionprotected Shell
RelaunchLastAction.getShell()
Returns the parent shell for this menu itemModifier and TypeMethodDescriptionboolean
IVariableValueEditor.editVariable
(IVariable variable, Shell shell) Edits the given variable, if appropriate.boolean
IVariableValueEditor.saveVariable
(IVariable variable, String expression, Shell shell) Saves the given expression to the given variable, if appropriate. -
Uses of Shell in org.eclipse.debug.ui.sourcelookup
Modifier and TypeMethodDescriptionAbstractSourceContainerBrowser.addSourceContainers
(Shell shell, ISourceLookupDirector director) ISourceContainerBrowser.addSourceContainers
(Shell shell, ISourceLookupDirector director) Creates and returns new source containers to add to the given source lookup director.protected void
SourceLookupDialog.configureShell
(Shell shell) AbstractSourceContainerBrowser.editSourceContainers
(Shell shell, ISourceLookupDirector director, ISourceContainer[] containers) ISourceContainerBrowser.editSourceContainers
(Shell shell, ISourceLookupDirector director, ISourceContainer[] containers) Edits and returns source containers to replace the given source containers.ModifierConstructorDescriptionSourceLookupDialog
(Shell shell, ISourceLookupDirector director) Constructs a dialog to edit the source lookup path managed by the given source lookup director. -
Uses of Shell in org.eclipse.debug.ui.stringsubstitution
Modifier and TypeMethodDescriptionIArgumentSelector.selectArgument
(IStringVariable variable, Shell shell) Selects and returns an argument for the given variable, ornull
if none. -
Uses of Shell in org.eclipse.e4.ui.bindings.internal
Modifier and TypeMethodDescriptionvoid
KeyAssistDialog.setParentShell
(Shell newParentShell) Exposing this within the keys package. -
Uses of Shell in org.eclipse.e4.ui.css.swt.dom
-
Uses of Shell in org.eclipse.e4.ui.css.swt.helpers
Modifier and TypeMethodDescriptionstatic void
CSSSWTImageHelper.restoreDefaultImage
(Shell shell) static void
CSSSWTImageHelper.storeDefaultImage
(Shell shell) -
Uses of Shell in org.eclipse.e4.ui.workbench.addons.perspectiveswitcher
-
Uses of Shell in org.eclipse.equinox.p2.ui
Modifier and TypeMethodDescriptionboolean
Policy.continueWorkingWithOperation
(ProfileChangeOperation operation, Shell shell) Answer a boolean indicating whether the caller should continue to work with the specified operation.void
ProvisioningUI.manipulateRepositories
(Shell shell) Open a UI that allows the user to manipulate the repositories. -
Uses of Shell in org.eclipse.help.ui.internal
Modifier and TypeFieldDescriptionprotected Shell
ContextHelpDialog.parentShell
protected Shell
ContextHelpDialog.shell
-
Uses of Shell in org.eclipse.jface.action
Modifier and TypeMethodDescriptionMenuManager.createMenuBar
(Shell parent) Deprecated.usecreateMenuBar(Decorations)
instead. -
Uses of Shell in org.eclipse.jface.dialogs
Modifier and TypeMethodDescriptionprotected void
AbstractSelectionDialog.configureShell
(Shell shell) protected void
ErrorDialog.configureShell
(Shell shell) protected void
InputDialog.configureShell
(Shell shell) protected void
MessageDialog.configureShell
(Shell shell) protected void
PlainMessageDialog.configureShell
(Shell shell) protected void
PopupDialog.configureShell
(Shell shell) protected void
ProgressMonitorDialog.configureShell
(Shell shell) protected void
StatusDialog.configureShell
(Shell shell) static PlainMessageDialog.Builder
PlainMessageDialog.getBuilder
(Shell shell, String dialogTitle) Creates a new Builder instance.static boolean
Convenience method to open a simple dialog as specified by thekind
flag.static int
MessageDialog.open
(int kind, Shell parent, String title, String message, int style, String... dialogButtonLabels) Method to open a simple dialog as specified by thekind
flag.static MessageDialogWithToggle
MessageDialogWithToggle.open
(int kind, Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key, int style) Convenience method to open a simple dialog as specified by thekind
flag, with a "don't show again' toggle.static MessageDialogWithToggle
MessageDialogWithToggle.open
(int kind, Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key, int style, LinkedHashMap<String, Integer> buttonLabelToIdMap) Convenience method to open a simple dialog as specified by thekind
flag, with a "don't show again' toggle.static boolean
MessageDialog.openConfirm
(Shell parent, String title, String message) Convenience method to open a simple confirm (OK/Cancel) dialog.static int
Opens an error dialog to display the given error.static int
ErrorDialog.openError
(Shell parentShell, String title, String message, IStatus status, int displayMask) Opens an error dialog to display the given error.static void
Convenience method to open a standard error dialog.static MessageDialogWithToggle
MessageDialogWithToggle.openError
(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key) Convenience method to open a standard error dialog.static void
MessageDialog.openInformation
(Shell parent, String title, String message) Convenience method to open a standard information dialog.static MessageDialogWithToggle
MessageDialogWithToggle.openInformation
(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key) Convenience method to open a standard information dialog.static MessageDialogWithToggle
MessageDialogWithToggle.openOkCancelConfirm
(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key) Convenience method to open a simple confirm (OK/Cancel) dialog.static boolean
MessageDialog.openQuestion
(Shell parent, String title, String message) Convenience method to open a simple Yes/No question dialog.static void
MessageDialog.openWarning
(Shell parent, String title, String message) Convenience method to open a standard warning dialog.static MessageDialogWithToggle
MessageDialogWithToggle.openWarning
(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key) Convenience method to open a standard warning dialog.static MessageDialogWithToggle
MessageDialogWithToggle.openYesNoCancelQuestion
(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key) Convenience method to open a simple question Yes/No/Cancel dialog.static MessageDialogWithToggle
MessageDialogWithToggle.openYesNoQuestion
(Shell parent, String title, String message, String toggleMessage, boolean toggleState, IPreferenceStore store, String key) Convenience method to open a simple Yes/No question dialog.protected void
PopupDialog.saveDialogBounds
(Shell shell) Saves the bounds of the shell in the appropriate dialog settings.void
IDialogBlockedHandler.showBlocked
(Shell parentShell, IProgressMonitor blocking, IStatus blockingStatus, String blockedName) A blockage has occured.ModifierConstructorDescriptionprotected
AbstractSelectionDialog
(Shell parentShell) Creates a dialog instance.protected
Creates a dialog instance.ErrorDialog
(Shell parentShell, String dialogTitle, String message, IStatus status, int displayMask) Creates an error dialog.IconAndMessageDialog
(Shell parentShell) Constructor for IconAndMessageDialog.InputDialog
(Shell parentShell, String dialogTitle, String dialogMessage, String initialValue, IInputValidator validator) Creates an input dialog with OK and Cancel buttons.MessageDialog
(Shell parentShell, String dialogTitle, Image dialogTitleImage, String dialogMessage, int dialogImageType, int defaultIndex, String... dialogButtonLabels) Create a message dialog.MessageDialog
(Shell parentShell, String dialogTitle, Image dialogTitleImage, String dialogMessage, int dialogImageType, String[] dialogButtonLabels, int defaultIndex) Create a message dialog.MessageDialogWithToggle
(Shell parentShell, String dialogTitle, Image image, String message, int dialogImageType, String[] dialogButtonLabels, int defaultIndex, String toggleMessage, boolean toggleState) Creates a message dialog with a toggle.MessageDialogWithToggle
(Shell parentShell, String dialogTitle, Image image, String message, int dialogImageType, LinkedHashMap<String, Integer> buttonLabelToIdMap, int defaultIndex, String toggleMessage, boolean toggleState) Creates a message dialog with a toggle.PopupDialog
(Shell parent, int shellStyle, boolean takeFocusOnOpen, boolean persistSize, boolean persistLocation, boolean showDialogMenu, boolean showPersistActions, String titleText, String infoText) Constructs a new instance ofPopupDialog
.ProgressMonitorDialog
(Shell parent) Creates a progress monitor dialog under the given shell.StatusDialog
(Shell parent) Creates an instance of a status dialog.TitleAreaDialog
(Shell parentShell) Instantiate a new title area dialog.protected
TrayDialog
(Shell shell) Creates a tray dialog instance. -
Uses of Shell in org.eclipse.jface.notifications
Modifier and TypeMethodDescriptionprotected void
AbstractNotificationPopup.configureShell
(Shell newShell) protected MouseListener
AbstractNotificationPopup.createWindowActivationHelper
(Shell parentShell) Creates listener that shows and activates the main Eclipse window by clicking on the popup control if it was not in foreground.static NotificationPopup.Builder
Creates a new builder instance using a shell.protected void
AbstractNotificationPopup.setParentShell
(Shell newParentShell) Overrides default implementation to add window activation helper. -
Uses of Shell in org.eclipse.jface.notifications.internal
Modifier and TypeMethodDescriptionvoid
static AnimationUtil.FadeJob
AnimationUtil.fadeIn
(Shell shell, AnimationUtil.IFadeListener listener) static AnimationUtil.FadeJob
AnimationUtil.fadeOut
(Shell shell, AnimationUtil.IFadeListener listener) static AnimationUtil.FadeJob
AnimationUtil.fastFadeIn
(Shell shell, AnimationUtil.IFadeListener listener) ModifierConstructorDescriptionFadeJob
(Shell shell, int increment, long delay, AnimationUtil.IFadeListener fadeListener) -
Uses of Shell in org.eclipse.jface.preference
Modifier and TypeMethodDescriptionprotected Shell
ListEditor.getShell()
Returns this field editor's shell.protected Shell
StringButtonFieldEditor.getShell()
Returns this field editor's shell.ModifierConstructorDescriptionPreferenceDialog
(Shell parentShell, PreferenceManager manager) Creates a new preference dialog under the control of the given preference manager. -
Uses of Shell in org.eclipse.jface.text
Modifier and TypeMethodDescriptionfinal Shell
AbstractInformationControl.getShell()
The shell of the popup window.Modifier and TypeMethodDescriptionAbstractReusableInformationControlCreator.createInformationControl
(Shell parent) IInformationControlCreator.createInformationControl
(Shell parent) Creates a new information control with the given shell as the control's parent.protected abstract IInformationControl
AbstractReusableInformationControlCreator.doCreateInformationControl
(Shell parent) Creates the control.ModifierConstructorDescriptionAbstractInformationControl
(Shell parentShell, boolean isResizable) Creates an abstract information control with the given shell as parent.AbstractInformationControl
(Shell parentShell, String statusFieldText) Creates an abstract information control with the given shell as parent.AbstractInformationControl
(Shell parentShell, String statusFieldText, boolean resizable) Creates an abstract information control with the given shell as parent.AbstractInformationControl
(Shell parentShell, ToolBarManager toolBarManager) Creates an abstract information control with the given shell as parent.DefaultInformationControl
(Shell parent) Creates a default information control with the given shell as parent.DefaultInformationControl
(Shell parent, boolean isResizeable) Creates a default information control with the given shell as parent.DefaultInformationControl
(Shell parent, int shellStyle, int style, DefaultInformationControl.IInformationPresenter presenter) Deprecated.As of 3.4, replaced by simpler constructorsDefaultInformationControl
(Shell parentShell, int shellStyle, int style, DefaultInformationControl.IInformationPresenter presenter, String statusFieldText) Deprecated.As of 3.4, replaced by simpler constructorsDefaultInformationControl
(Shell parent, int textStyles, DefaultInformationControl.IInformationPresenter presenter) Deprecated.As of 3.4, replaced byDefaultInformationControl(Shell, DefaultInformationControl.IInformationPresenter)
DefaultInformationControl
(Shell parent, int textStyles, DefaultInformationControl.IInformationPresenter presenter, String statusFieldText) Deprecated.As of 3.4, replaced byDefaultInformationControl(Shell, String, DefaultInformationControl.IInformationPresenter)
DefaultInformationControl
(Shell parent, String statusFieldText) Creates a default information control with the given shell as parent.DefaultInformationControl
(Shell parent, String statusFieldText, DefaultInformationControl.IInformationPresenter presenter) Creates a default information control with the given shell as parent.DefaultInformationControl
(Shell parent, ToolBarManager toolBarManager) Creates a resizable default information control with the given shell as parent.DefaultInformationControl
(Shell parent, ToolBarManager toolBarManager, DefaultInformationControl.IInformationPresenter presenter) Creates a resizable default information control with the given shell as parent.DefaultInformationControl
(Shell parent, DefaultInformationControl.IInformationPresenter presenter) Creates a default information control with the given shell as parent. -
Uses of Shell in org.eclipse.jface.widgets
-
Uses of Shell in org.eclipse.jface.window
Modifier and TypeMethodDescriptionprotected final Shell
Window.createShell()
Creates and returns this window's shell.protected Shell
Window.getParentShell()
Returns parent shell, under which this window's shell is created.IShellProvider.getShell()
Returns the current shell (or null if none).SameShellProvider.getShell()
Window.getShell()
Returns this window's shell.Modifier and TypeMethodDescriptionprotected void
ApplicationWindow.configureShell
(Shell shell) Extends the super implementation by creating the trim widgets usingcreateTrimWidgets
.protected void
Window.configureShell
(Shell newShell) Configures the given shell in preparation for opening this window in it.protected void
ApplicationWindow.createStatusLine
(Shell shell) Create the status line if required.protected void
ApplicationWindow.createTrimWidgets
(Shell shell) Creates the trim widgets around the content area.protected void
Window.setParentShell
(Shell newParentShell) Changes the parent shell.ModifierConstructorDescriptionApplicationWindow
(Shell parentShell) Create an application window instance, whose shell will be created under the given parent shell.protected
Creates a window instance, whose shell will be created under the given parent shell. -
Uses of Shell in org.eclipse.jface.wizard
Modifier and TypeMethodDescriptionIWizardContainer.getShell()
Returns the shell for this wizard container.Wizard.getShell()
Returns the wizard's shell if the wizard is visible.WizardPage.getShell()
TheWizardPage
implementation of this method declared onDialogPage
returns the shell of the container.ModifierConstructorDescriptionWizardDialog
(Shell parentShell, IWizard newWizard) Creates a new wizard dialog for the given wizard. -
Uses of Shell in org.eclipse.ltk.ui.refactoring
Modifier and TypeMethodDescriptionstatic Dialog
RefactoringUI.createLightWeightStatusDialog
(RefactoringStatus status, Shell parent, String windowTitle) Creates a light-weight dialog to present aRefactoringStatus
to the user.protected IRunnableWithProgress
RedoRefactoringAction.createOperation
(Shell parent) Deprecated.protected IRunnableWithProgress
UndoRefactoringAction.createOperation
(Shell parent) Deprecated.static Dialog
RefactoringUI.createRefactoringStatusDialog
(RefactoringStatus status, Shell parent, String windowTitle, boolean backButton) Creates a dialog to present aRefactoringStatus
to the user.int
Opens the refactoring dialog for the refactoring wizard passed to the constructor.int
RefactoringWizardOpenOperation.run
(Shell parent, String dialogTitle, IRunnableContext context) Opens the refactoring dialog for the refactoring wizard passed to the constructor. -
Uses of Shell in org.eclipse.swt.awt
-
Uses of Shell in org.eclipse.swt.custom
-
Uses of Shell in org.eclipse.swt.printing
ModifierConstructorDescriptionPrintDialog
(Shell parent) Constructs a new instance of this class given only its parent.PrintDialog
(Shell parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance. -
Uses of Shell in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionDisplay.getActiveShell()
Returns the currently activeShell
, or null if no shell belonging to the currently running application is active.Dialog.getParent()
Returns the receiver's parent, which must be aShell
or null.ToolTip.getParent()
Returns the receiver's parent, which must be aShell
.Control.getShell()
Returns the receiver's shell.Menu.getShell()
Returns the receiver's shell.Shell.getShell()
Shell[]
Display.getShells()
Returns a (possibly empty) array containing all shells which have not been disposed and have the receiver as their display.Shell[]
Shell.getShells()
Returns an array containing all shells which are descendants of the receiver.static Shell
Shell.internal_new
(Display display, long handle) Invokes platform specific functionality to allocate a new shell that is not embedded.static Shell
Invokes platform specific functionality to allocate a new shell that is embedded.Modifier and TypeMethodDescriptionReturns theTaskItem
for the givenShell
or theTaskItem
for the application if theShell
parameter isnull
.ModifierConstructorDescriptionColorDialog
(Shell parent) Constructs a new instance of this class given only its parent.ColorDialog
(Shell parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.Constructs a new instance of this class given only its parent.Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.DirectoryDialog
(Shell parent) Constructs a new instance of this class given only its parent.DirectoryDialog
(Shell parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.FileDialog
(Shell parent) Constructs a new instance of this class given only its parent.FileDialog
(Shell parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.FontDialog
(Shell parent) Constructs a new instance of this class given only its parent.FontDialog
(Shell parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.MessageBox
(Shell parent) Constructs a new instance of this class given only its parent.MessageBox
(Shell parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.Constructs a new instance of this class given only its parent.Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.Constructs a new instance of this class given its parent and a style value describing its behavior and appearance. -
Uses of Shell in org.eclipse.team.ui
Modifier and TypeMethodDescriptionprotected Shell
PageSaveablePart.getShell()
Deprecated.Return the parent shell of this part.protected Shell
TeamOperation.getShell()
Return a shell that can be used by the operation to display dialogs, etc.Modifier and TypeMethodDescriptionprotected void
SaveablePartDialog.configureShell
(Shell newShell) Deprecated.ModifierConstructorDescriptionprotected
PageSaveablePart
(Shell shell, CompareConfiguration compareConfiguration) Deprecated.Create a saveable part.SaveablePartDialog
(Shell shell, ISaveableWorkbenchPart input) Deprecated.Creates a dialog with the given title and input. -
Uses of Shell in org.eclipse.team.ui.history
Modifier and TypeMethodDescriptionstatic boolean
HistoryPageSaveablePart.showHistoryInDialog
(Shell shell, Object object) Deprecated.Show the history for the object in a dialog.ModifierConstructorDescriptionHistoryPageSaveablePart
(Shell shell, CompareConfiguration configuration, IHistoryPageSource pageSource, Object object) Deprecated.Create a history page part for the given page and object. -
Uses of Shell in org.eclipse.team.ui.synchronize
Modifier and TypeMethodDescriptionISynchronizePageSite.getShell()
Returns the shell for this site.Modifier and TypeMethodDescriptionboolean
ModelSynchronizeParticipant.checkForBufferChange
(Shell shell, ISynchronizationCompareInput input, boolean cancelAllowed, IProgressMonitor monitor) Convenience method for switching the active saveable of this participant to the saveable of the given input.static void
ModelParticipantAction.handleTargetSaveableChange
(Shell shell, SaveableComparison targetSaveable, SaveableComparison activeSaveable, boolean allowCancel, IProgressMonitor monitor) Convenience method that prompts if the currently active saveable is dirty and either saves or reverts the saveable depending on the users input.static boolean
ModelParticipantAction.promptToSaveChanges
(Shell shell, SaveableComparison saveable, boolean allowCancel) Convenience method that prompts to save changes in the given dirty model.final void
SubscriberParticipant.refreshInDialog
(Shell shell, IResource[] resources, String jobName, String taskName, ISynchronizePageConfiguration configuration, IWorkbenchSite site) Refresh this participants synchronization state and displays the result in a model dialog.ModifierConstructorDescriptionParticipantPageDialog
(Shell shell, SaveablePartAdapter input, ISynchronizeParticipant participant) Deprecated.Creates a dialog with the given participant and input.ParticipantPagePane
(Shell shell, boolean isModal, ISynchronizePageConfiguration pageConfiguration, ISynchronizeParticipant participant) Creates a part for the provided participant.ParticipantPageSaveablePart
(Shell shell, CompareConfiguration cc, ISynchronizePageConfiguration pageConfiguration, ISynchronizeParticipant participant) Deprecated.Creates a part for the provided participant. -
Uses of Shell in org.eclipse.ui
Modifier and TypeMethodDescriptionIWorkbenchSite.getShell()
Returns the shell for this workbench site.IWorkbenchWindow.getShell()
Returns this workbench window's shell.Modifier and TypeMethodDescriptionIWorkingSetManager.createWorkingSetSelectionDialog
(Shell parent) Deprecated.use createWorkingSetSelectionDialog(parent, true) insteadIWorkingSetManager.createWorkingSetSelectionDialog
(Shell parentShell, boolean multi) Creates a working set selection dialog that lists all working sets and allows the user to add, remove and edit working sets.IWorkingSetManager.createWorkingSetSelectionDialog
(Shell parentShell, boolean multi, String[] workingsSetIds) Creates a working set selection dialog that lists all working sets with the specified ids and allows the user to add, remove and edit working sets with the specified ids.ModifierConstructorDescriptionActiveShellExpression
(Shell activeShell) Constructs a new instance ofActiveShellExpression
LegacyHandlerSubmissionExpression
(String activePartId, Shell activeShell, IWorkbenchPartSite activeSite) Constructs a new instance ofLegacyHandlerSubmissionExpression
-
Uses of Shell in org.eclipse.ui.actions
Modifier and TypeFieldDescriptionprotected Shell
CopyProjectAction.shell
Deprecated.the shell provider should be used instead.Modifier and TypeMethodDescriptionprotected static boolean
CopyProjectOperation.validateCopy
(Shell shell, IProject project, String newName, String[] modelProviderIds) Deprecated.As of 3.3, validation is performed in the undoable operation executed by this operation.ModifierConstructorDescriptionAddBookmarkAction
(Shell shell) Deprecated.AddBookmarkAction
(Shell shell, boolean promptForName) Deprecated.AddTaskAction
(Shell shell) Deprecated.BuildAction
(Shell shell, int type) Deprecated.CloseResourceAction
(Shell shell) Deprecated.protected
CloseResourceAction
(Shell shell, String text) Deprecated.Deprecated.Creates a new operation initialized with a shell.CopyProjectAction
(Shell shell) Deprecated.CopyProjectOperation
(Shell shell) Create a new operation initialized with a shell.CopyResourceAction
(Shell shell) Deprecated.CreateFileAction
(Shell shell) Deprecated.CreateFolderAction
(Shell shell) Deprecated.DeleteResourceAction
(Shell shell) Deprecated.Should take an IShellProvider, seeDeleteResourceAction(IShellProvider)
GlobalBuildAction
(IWorkbench workbench, Shell shell, int type) Deprecated.use GlobalBuildAction(IWorkbenchWindow, type) insteadCreates a new operation initialized with a shell.MoveProjectAction
(Shell shell) Deprecated.MoveResourceAction
(Shell shell) Deprecated.OpenResourceAction
(Shell shell) Deprecated.ReadOnlyStateChecker
(Shell parent, String title, String message) Create a new checker that parents the dialog off of parent using the supplied title and message.RefreshAction
(Shell shell) Deprecated.RenameResourceAction
(Shell shell) Deprecated.RenameResourceAction
(Shell shell, Tree tree) Deprecated.ScrubLocalAction
(Shell shell) Deprecated.Creates a new action.WorkingSetFilterActionGroup
(Shell shell, IPropertyChangeListener workingSetUpdater) Creates a new instance of the receiver.protected
WorkspaceAction
(Shell shell, String text) Deprecated. -
Uses of Shell in org.eclipse.ui.application
Modifier and TypeMethodDescriptionvoid
WorkbenchAdvisor.createWindowContents
(IWorkbenchWindowConfigurer configurer, Shell shell) Deprecated.since 3.1, overrideWorkbenchWindowAdvisor.createWindowContents(Shell)
insteadvoid
WorkbenchWindowAdvisor.createWindowContents
(Shell shell) Deprecated.This method is no longer used. -
Uses of Shell in org.eclipse.ui.cheatsheets
Modifier and TypeMethodDescriptionvoid
OpenCheatSheetAction.setTargetShell
(Shell shell) Sets the shell in which the cheat sheet is opened. -
Uses of Shell in org.eclipse.ui.console
Modifier and TypeMethodDescriptionstatic void
ConsolePlugin.errorDialog
(Shell shell, String title, String message, Throwable t) Utility method with conventions -
Uses of Shell in org.eclipse.ui.contexts
Modifier and TypeMethodDescriptionEnabledSubmission.getActiveShell()
Deprecated.Returns the shell that must be active for this request to be considered.Modifier and TypeMethodDescriptionint
IContextService.getShellType
(Shell shell) Returns the shell type for the given shell.int
IWorkbenchContextSupport.getShellType
(Shell shell) Deprecated.Returns the shell type for the given shell.boolean
IContextService.registerShell
(Shell shell, int type) Registers a shell to automatically promote or demote some basic types of contexts.boolean
IWorkbenchContextSupport.registerShell
(Shell shell, int type) Deprecated.Registers a shell to automatically promote or demote some basic types of contexts.boolean
IContextService.unregisterShell
(Shell shell) Unregisters a shell that was previously registered.boolean
IWorkbenchContextSupport.unregisterShell
(Shell shell) Deprecated.Unregisters a shell that was previously registered.ModifierConstructorDescriptionEnabledSubmission
(String activePartId, Shell activeShell, IWorkbenchPartSite activeWorkbenchPartSite, String contextId) Deprecated.Creates a new instance of this class. -
Uses of Shell in org.eclipse.ui.dialogs
Modifier and TypeMethodDescriptionprotected void
ContainerSelectionDialog.configureShell
(Shell shell) protected void
EditorSelectionDialog.configureShell
(Shell shell) protected void
FilteredResourcesSelectionDialog.configureShell
(Shell shell) protected void
ListSelectionDialog.configureShell
(Shell shell) protected void
MarkerResolutionSelectionDialog.configureShell
(Shell newShell) protected void
NewFolderDialog.configureShell
(Shell shell) protected void
ProjectLocationMoveDialog.configureShell
(Shell shell) protected void
ProjectLocationSelectionDialog.configureShell
(Shell shell) protected void
ResourceSelectionDialog.configureShell
(Shell shell) protected void
SaveAsDialog.configureShell
(Shell shell) protected void
SelectionDialog.configureShell
(Shell shell) protected void
SelectionStatusDialog.configureShell
(Shell shell) protected void
TypeFilteringDialog.configureShell
(Shell shell) protected void
YesNoCancelListSelectionDialog.configureShell
(Shell shell) Deprecated.Creates and assembles the dialog.static PreferenceDialog
PreferencesUtil.createPreferenceDialogOn
(Shell shell, String preferencePageId, String[] displayedIds, Object data) Creates a workbench preference dialog and selects particular preference page.static PreferenceDialog
PreferencesUtil.createPreferenceDialogOn
(Shell shell, String preferencePageId, String[] displayedIds, Object data, int options) Creates a workbench preference dialog and selects particular preference page.static PreferenceDialog
PreferencesUtil.createPropertyDialogOn
(Shell shell, Object element, String propertyPageId, String[] displayedIds, Object data, int options) Creates a workbench preference dialog to a particular preference page.static PreferenceDialog
PreferencesUtil.createPropertyDialogOn
(Shell shell, IAdaptable element, String propertyPageId, String[] displayedIds, Object data) Creates a workbench preference dialog to a particular preference page.static PreferenceDialog
PreferencesUtil.createPropertyDialogOn
(Shell shell, IAdaptable element, String propertyPageId, String[] displayedIds, Object data, int options) Creates a workbench preference dialog to a particular preference page.ModifierConstructorDescriptionprotected
AbstractElementListSelectionDialog
(Shell parent, ILabelProvider renderer) Constructs a list selection dialog.CheckedTreeSelectionDialog
(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider) Constructs an instance ofElementTreeSelectionDialog
.CheckedTreeSelectionDialog
(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider, boolean allowEmptyTree) Constructs an instance ofElementTreeSelectionDialog
.CheckedTreeSelectionDialog
(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider, int style) Constructs an instance ofElementTreeSelectionDialog
.CheckedTreeSelectionDialog
(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider, int style, boolean allowEmptyTree) Constructs an instance ofElementTreeSelectionDialog
.ContainerSelectionDialog
(Shell parentShell, IContainer initialRoot, boolean allowNewContainerName, String message) Creates a resource container selection dialog rooted at the given resource.EditorSelectionDialog
(Shell parentShell) Create an instance of this class.ElementListSelectionDialog
(Shell parent, ILabelProvider renderer) Creates a list selection dialog.ElementTreeSelectionDialog
(Shell parent, IBaseLabelProvider labelProvider, ITreeContentProvider contentProvider) Constructs an instance ofElementTreeSelectionDialog
.ElementTreeSelectionDialog
(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider) Constructs an instance ofElementTreeSelectionDialog
.Creates a new instance of the class.FilteredItemsSelectionDialog
(Shell shell, boolean multi) Creates a new instance of the class.FilteredResourcesSelectionDialog
(Shell shell, boolean multi, IContainer container, int typesMask) Creates a new instance of the classListDialog
(Shell parent) Create a new instance of the receiver with parent shell of parent.ListSelectionDialog
(Shell parentShell, Object input, IStructuredContentProvider contentProvider, ILabelProvider labelProvider, String message) Deprecated.since 3.123; useListSelectionDialog.of(Object)
instead:ListSelectionDialog.of(input).contentProvider(contentProvider).labelProvider(labelProvider).message(message).create(parentShell)
MarkerResolutionSelectionDialog
(Shell shell, IMarkerResolution[] markerResolutions) Creates an instance of this dialog to display the given resolutions.NewFolderDialog
(Shell parentShell, IContainer container) Creates a NewFolderDialogProjectLocationMoveDialog
(Shell parentShell, IProject existingProject) Create a ProjectLocationMoveDialog on the supplied project parented by the parentShell.ProjectLocationSelectionDialog
(Shell parentShell, IProject existingProject) Create a ProjectLocationSelectionDialog on the supplied project parented by the parentShell.PropertyDialogAction
(Shell shell, ISelectionProvider provider) Deprecated.use PropertyDialogAction(IShellProvider, ISelectionProvider)ResourceListSelectionDialog
(Shell parentShell, IContainer container, int typeMask) Creates a new instance of the class.ResourceListSelectionDialog
(Shell parentShell, IResource[] resources) Creates a new instance of the class.ResourceSelectionDialog
(Shell parentShell, IAdaptable rootElement, String message) Creates a resource selection dialog rooted at the given element.SaveAsDialog
(Shell parentShell) Creates a new Save As dialog for no specific file.protected
SelectionDialog
(Shell parentShell) Creates a dialog instance.SelectionStatusDialog
(Shell parent) Creates an instance of aSelectionStatusDialog
.TwoPaneElementSelector
(Shell parent, ILabelProvider elementRenderer, ILabelProvider qualifierRenderer) Creates the two pane element selector.TypeFilteringDialog
(Shell parentShell, Collection preselections) Creates a type filtering dialog using the supplied entries.TypeFilteringDialog
(Shell parentShell, Collection preselections, String filterText) Creates a type filtering dialog using the supplied entries.YesNoCancelListSelectionDialog
(Shell parentShell, Object input, IStructuredContentProvider contentProvider, ILabelProvider labelProvider, String message) Deprecated.see class comment -
Uses of Shell in org.eclipse.ui.editors.text
-
Uses of Shell in org.eclipse.ui.forms
ModifierConstructorDescriptionFormDialog
(Shell shell) Creates a new form dialog for a provided parent shell. -
Uses of Shell in org.eclipse.ui.handlers
Modifier and TypeMethodDescriptionstatic Shell
HandlerUtil.getActiveShell
(ExecutionEvent event) Return the active shell.static Shell
HandlerUtil.getActiveShellChecked
(ExecutionEvent event) Return the active shell. -
Uses of Shell in org.eclipse.ui.ide
Modifier and TypeMethodDescriptionstatic boolean
IDE.promptToConfirm
(Shell shell, String title, String message, IResourceDelta delta, String[] ignoreModelProviderIds, boolean syncExec) Prompt the user to inform them of the possible side effects of an operation on resources. -
Uses of Shell in org.eclipse.ui.ide.dialogs
Modifier and TypeMethodDescriptionprotected void
ImportTypeDialog.configureShell
(Shell shell) protected void
PathVariableSelectionDialog.configureShell
(Shell shell) ModifierConstructorDescriptionImportTypeDialog
(Shell shell, int dropOperation, String[] names, IContainer target) Creates the Import Type Dialog when files are dragged and dropped from the operating system's shell (Windows Explorer on Windows Platform, for example).ImportTypeDialog
(Shell shell, int dropOperation, IResource[] sources, IContainer target) Creates the Import Type Dialog when resources are dragged and dropped from an Eclipse view.PathVariableSelectionDialog
(Shell parentShell, int variableType) Creates a path variable selection dialog. -
Uses of Shell in org.eclipse.ui.ide.fileSystem
Modifier and TypeMethodDescriptionabstract URI
FileSystemContributor.browseFileSystem
(String initialPath, Shell shell) Browse the file system for a URI to display to the user. -
Uses of Shell in org.eclipse.ui.ide.undo
Modifier and TypeMethodDescriptionprotected Shell
AbstractWorkspaceOperation.getShell
(IAdaptable uiInfo) Return the shell described by the specified adaptable, or the active shell if no shell has been specified in the adaptable.static Shell
WorkspaceUndoUtil.getShell
(IAdaptable uiInfo) Return the shell described by the specified adaptable, or the active shell if no shell has been specified in the adaptable.Modifier and TypeMethodDescriptionstatic IAdaptable
WorkspaceUndoUtil.getUIInfoAdapter
(Shell shell) Make anIAdaptable
that adapts to the specified shell, suitable for passing for passing to anyIUndoableOperation
orIOperationHistory
method that requires anIAdaptable
uiInfo
parameter. -
Uses of Shell in org.eclipse.ui.internal
Modifier and TypeMethodDescriptionstatic Shell
InternalHandlerUtil.getActiveShell
(Object appContext) Return the active shell.PartSite.getShell()
Returns the shell containing this part.WorkbenchWindow.getShell()
static Shell
WorkbenchPlugin.getSplashShell
(Display display) Get the splash shell for this workbench instance, if any.Modifier and TypeMethodDescriptionprotected void
FilteredTableBaseHandler.addKeyListener
(Table table, Shell dialog) Add Keylistener to the table, user actions can influence the dialog.protected void
FilteredTableBaseHandler.addMouseListener
(Table table, Shell dialog) Add mouse listener to the table closing it when the mouse is pressed.protected void
Close the dialog and set selection to null.void
WorkbenchWindowConfigurer.createDefaultContents
(Shell shell) Creates the default window contents.AbstractWorkingSetManager.createWorkingSetSelectionDialog
(Shell parent) Deprecated.use createWorkingSetSelectionDialog(parent, true) insteadAbstractWorkingSetManager.createWorkingSetSelectionDialog
(Shell parent, boolean multi) AbstractWorkingSetManager.createWorkingSetSelectionDialog
(Shell parent, boolean multi, String[] workingsSetIds) protected void
Intended to be overwritten by test classes so the handler won't block the UI threadprotected void
Close the dialog saving the selectionprotected void
FilteredTableBaseHandler.setDialogLocation
(Shell dialog, IWorkbenchPart activePart) Sets the dialog's location on the screen.ModifierConstructorDescriptionLargeFileEditorSelectionDialog
(Shell shell, String extension, long size) -
Uses of Shell in org.eclipse.ui.part
-
Uses of Shell in org.eclipse.ui.preferences
ModifierConstructorDescriptionViewSettingsDialog
(Shell parentShell) Create a new instance of the receiver. -
Uses of Shell in org.eclipse.ui.progress
Modifier and TypeMethodDescriptionvoid
IProgressService.showInDialog
(Shell shell, Job job) Open a dialog on job when it starts to run and close it when the job is finished. -
Uses of Shell in org.eclipse.ui.splash
-
Uses of Shell in org.eclipse.ui.statushandlers
ModifierConstructorDescriptionWorkbenchStatusDialogManager
(Shell parentShell, int displayMask, String dialogTitle) Deprecated.As of 3.4 theparentShell
is ignoredWorkbenchStatusDialogManager
(Shell parentShell, String dialogTitle) Deprecated.As of 3.4 theparentShell
is ignored -
Uses of Shell in org.eclipse.ui.texteditor
ModifierConstructorDescriptionFindReplaceAction
(ResourceBundle bundle, String prefix, Shell shell, IFindReplaceTarget target) Creates a new find/replace action for the given target and shell. -
Uses of Shell in org.eclipse.ui.texteditor.templates
ModifierConstructorDescriptionEditTemplateDialog
(Shell parent, Template template, boolean edit, boolean isNameModifiable, ContextTypeRegistry registry) Creates a new dialog. -
Uses of Shell in org.eclipse.ui.views.markers.internal
Modifier and TypeMethodDescriptionprotected void
DialogMarkerProperties.configureShell
(Shell newShell) Method declared on Window.ModifierConstructorDescriptionDialogMarkerProperties
(Shell parentShell) Creates the dialog.DialogMarkerProperties
(Shell parentShell, String title) Creates the dialog.DialogMarkerProperties
(Shell parentShell, String title, String markerName) Creates the dialog.DialogTaskProperties
(Shell parentShell) DialogTaskProperties
(Shell parentShell, String title) -
Uses of Shell in org.eclipse.ui.views.tasklist
-
Uses of Shell in org.eclipse.ui.wizards.datatransfer
Modifier and TypeMethodDescriptionvoid
ImportOperation.setContext
(Shell shell) Sets the context for use by the VCM provider to prompt the user for check-out of files. -
Uses of Shell in org.eclipse.unittest.ui
Modifier and TypeMethodDescriptionITestViewSupport.createOpenEditorAction
(Shell shell, ITestElement failure, String traceLine) Returns an action to open a failure trace elementITestViewSupport.getOpenTestAction
(Shell shell, ITestCaseElement testCase) Returns an action to open a specified test elementsITestViewSupport.getOpenTestAction
(Shell shell, ITestSuiteElement testSuite) Returns an action to open a specified test suite element