Uses of Interface
org.eclipse.jface.viewers.IStructuredSelection
Package
Description
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides provisioning user interface classes that can be used for assembling
a provisioning UI.
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
Application programming interfaces for working with resource mappings.
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.
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
Provides support for integrating handlers into the Eclipse workbench.
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
Provides the Common Navigator framework.
Provides reusable components for clients that need to expand on the capabilities
provided by the reference Common Navigator Resources extension.
Application programming interfaces for interaction with and extension of the Eclipse
Platform User Interface wizard support.
Provides the standard Import and Export wizards for
moving resources into and out of the workspace.
Provides the standard wizards for creating files,
folders, and projects in the workspace.
-
Uses of IStructuredSelection in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionvoid
CompareLinkHelper.activateEditor
(IWorkbenchPage aPage, IStructuredSelection aSelection) -
Uses of IStructuredSelection in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionvoid
IDetailPane.display
(IStructuredSelection selection) Displays details for the given selection, possiblenull
.IDetailPaneFactory.getDefaultDetailPane
(IStructuredSelection selection) Returns the identifier of the default detail pane type to use for the given selection, ornull
if this factory has no preference.IDetailPaneFactory.getDetailPaneTypes
(IStructuredSelection selection) Returns all possible types detail panes that this factory can create for the given selection, possibly empty.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. -
Uses of IStructuredSelection in org.eclipse.equinox.p2.ui
Modifier and TypeMethodDescriptionprotected IStructuredSelection
RevertProfilePage.getSelection()
Modifier and TypeMethodDescriptionprotected void
RevertProfilePage.handleSelectionChanged
(IStructuredSelection selection) -
Uses of IStructuredSelection in org.eclipse.jface.viewers
Modifier and TypeClassDescriptionclass
A concrete implementation of theIStructuredSelection
interface, suitable for instantiating.class
A concrete implementation of theITreeSelection
interface, suitable for instantiating.Modifier and TypeMethodDescriptionSelectionChangedEvent.getStructuredSelection()
Returns the selection.StructuredViewer.getStructuredSelection()
Returns theIStructuredSelection
of this viewer. -
Uses of IStructuredSelection in org.eclipse.team.ui.mapping
Modifier and TypeMethodDescriptionprotected final IStructuredSelection
MergeActionHandler.getStructuredSelection()
Return the current selection.Modifier and TypeMethodDescriptionprotected void
MergeActionHandler.updateEnablement
(IStructuredSelection selection) Update the enablement of this handler for the new selection. -
Uses of IStructuredSelection in org.eclipse.team.ui.synchronize
Modifier and TypeMethodDescriptionprotected abstract boolean
ModelParticipantAction.isEnabledForSelection
(IStructuredSelection selection) Return whether the action is enabled for the given selectionprotected boolean
ModelParticipantAction.updateSelection
(IStructuredSelection selection) protected boolean
SynchronizeModelAction.updateSelection
(IStructuredSelection selection) -
Uses of IStructuredSelection in org.eclipse.ui
Modifier and TypeMethodDescriptionvoid
IWorkbenchWizard.init
(IWorkbench workbench, IStructuredSelection selection) Initializes this creation wizard using the passed workbench and object selection. -
Uses of IStructuredSelection in org.eclipse.ui.actions
Modifier and TypeMethodDescriptionBaseSelectionListenerAction.getStructuredSelection()
Returns the current structured selection in the workbench, or an empty selection if nothing is selected or if selection does not include objects (for example, raw text).SelectionProviderAction.getStructuredSelection()
Returns the current structured selection in the selection provider, or an empty selection if nothing is selected or if selection does not include objects (for example, raw text).Modifier and TypeMethodDescriptionfinal void
BaseSelectionListenerAction.selectionChanged
(IStructuredSelection selection) Notifies this action that the given structured selection has changed.void
SelectionProviderAction.selectionChanged
(IStructuredSelection selection) Notifies this action that the given structured selection has changed in the selection provider.void
ExportResourcesAction.setSelection
(IStructuredSelection selection) Deprecated.void
ImportResourcesAction.setSelection
(IStructuredSelection selection) Deprecated.protected boolean
AddBookmarkAction.updateSelection
(IStructuredSelection selection) TheAddBookmarkAction
implementation of thisSelectionListenerAction
method enables the action only if the selection is not empty and contains just file resources.protected boolean
AddTaskAction.updateSelection
(IStructuredSelection selection) TheAddTaskAction
implementation of thisSelectionListenerAction
method enables the action only if the selection contains a single resource and the resource is not a closed project.protected boolean
BaseSelectionListenerAction.updateSelection
(IStructuredSelection selection) Updates this action in response to the given selection.protected boolean
BuildAction.updateSelection
(IStructuredSelection s) TheBuildAction
implementation of thisSelectionListenerAction
method ensures that this action is enabled only if all of the selected resources have buildable projects.protected boolean
CloseResourceAction.updateSelection
(IStructuredSelection s) TheCloseResourceAction
implementation of thisSelectionListenerAction
method ensures that this action is enabled only if one of the selections is an open project.protected boolean
CopyProjectAction.updateSelection
(IStructuredSelection selection) TheCopyResourceAction
implementation of thisSelectionListenerAction
method enables this action only if there is a single selection which is a project.protected boolean
CopyResourceAction.updateSelection
(IStructuredSelection selection) TheCopyResourceAction
implementation of thisSelectionListenerAction
method enables this action only if all of the one or more selections are sibling resources which are local (depth infinity).protected boolean
CreateFileAction.updateSelection
(IStructuredSelection s) Deprecated.TheCreateFileAction
implementation of thisSelectionListenerAction
method enables the action only if the selection contains folders and open projects.protected boolean
CreateFolderAction.updateSelection
(IStructuredSelection s) Deprecated.TheCreateFolderAction
implementation of thisSelectionListenerAction
method enables the action only if the selection contains folders and open projects.protected boolean
DeleteResourceAction.updateSelection
(IStructuredSelection selection) TheDeleteResourceAction
implementation of thisSelectionListenerAction
method disables the action if the selection contains phantom resources or non-resourcesprotected boolean
OpenResourceAction.updateSelection
(IStructuredSelection s) TheOpenResourceAction
implementation of thisSelectionListenerAction
method ensures that this action is enabled only if one of the selections is a closed project.protected boolean
OpenSystemEditorAction.updateSelection
(IStructuredSelection selection) TheOpenSystemEditorAction
implementation of thisSelectionListenerAction
method enables the action only if the selection contains just file resources.protected boolean
RefreshAction.updateSelection
(IStructuredSelection s) TheRefreshAction
implementation of thisSelectionListenerAction
method ensures that this action is enabled if the selection is empty, but is disabled if any of the selected elements are not resources.protected boolean
RenameResourceAction.updateSelection
(IStructuredSelection selection) TheRenameResourceAction
implementation of thisSelectionListenerAction
method ensures that this action is disabled if any of the selections are not resources or resources that are not local.protected boolean
ScrubLocalAction.updateSelection
(IStructuredSelection s) Deprecated.TheScrubLocalAction
implementation of thisSelectionListenerAction
method ensures that this action is disabled if any of the selections are not resources.protected boolean
WorkspaceAction.updateSelection
(IStructuredSelection selection) TheWorkspaceAction
implementation of thisSelectionListenerAction
method ensures that this action is disabled if any of the selected resources are inaccessible. -
Uses of IStructuredSelection in org.eclipse.ui.dialogs
Modifier and TypeMethodDescriptionWizardNewProjectCreationPage.createWorkingSetGroup
(Composite composite, IStructuredSelection selection, String[] supportedWorkingSetTypes) Create a working set group for this page.WorkingSetConfigurationBlock.findApplicableWorkingSets
(IStructuredSelection selection) Retrieves a working set from the givenselection
or an empty array if no working set could be retrieved.boolean
PropertyDialogAction.isApplicableForSelection
(IStructuredSelection selection) Returns whether this action is applicable to the current selection.void
PropertyDialogAction.selectionChanged
(IStructuredSelection selection) void
WorkingSetConfigurationBlock.setSelection
(IStructuredSelection selection) ModifierConstructorDescriptionprotected
WizardExportResourcesPage
(String pageName, IStructuredSelection selection) Creates an export wizard page.WizardNewFileCreationPage
(String pageName, IStructuredSelection selection) Creates a new file creation wizard page.WizardNewFolderMainPage
(String pageName, IStructuredSelection selection) Creates a new folder creation wizard page.WizardNewProjectCreationPage
(String pageName, IStructuredSelection selection, String[] workingSetTypes) Deprecated.default placement of the working set group has been removed.protected
WizardResourceImportPage
(String name, IStructuredSelection selection) Creates an import wizard page.WorkingSetGroup
(Composite composite, IStructuredSelection currentSelection, String[] workingSetTypes) Create a new instance of this class. -
Uses of IStructuredSelection in org.eclipse.ui.handlers
Modifier and TypeMethodDescriptionstatic IStructuredSelection
HandlerUtil.getCurrentStructuredSelection
(ExecutionEvent event) Return the current structured selection, orStructuredSelection.EMPTY
if the current selection is not a structured selection ornull
. -
Uses of IStructuredSelection in org.eclipse.ui.ide
Modifier and TypeMethodDescriptionstatic IStructuredSelection
ResourceSelectionUtil.allResources
(IStructuredSelection selection, int resourceMask) Returns the selection adapted to IResource.Modifier and TypeMethodDescriptionstatic IStructuredSelection
ResourceSelectionUtil.allResources
(IStructuredSelection selection, int resourceMask) Returns the selection adapted to IResource.static boolean
ResourceSelectionUtil.allResourcesAreOfType
(IStructuredSelection selection, int resourceMask) Returns whether the types of the resources in the given selection are among the specified resource types.IDE.computeSelectedResources
(IStructuredSelection originalSelection) Extracts and returns theIResource
s in the given selection or the resource objects they adapts to. -
Uses of IStructuredSelection in org.eclipse.ui.internal
Modifier and TypeMethodDescriptionstatic IStructuredSelection
LegacyResourceSupport.adaptSelection
(IStructuredSelection selection, String objectClass) Adapts a selection to the given objectClass considering the Legacy resource support.ISelectionConversionService.convertToResources
(IStructuredSelection originalSelection) Attempt to convert the elements in the passed selection into resources by asking each for its IResource property (iff it isn't already a resource).SelectionConversionService.convertToResources
(IStructuredSelection originalSelection) Attempt to convert the elements in the passed selection into resources by asking each for its IResource property (iff it isn't already a resource).Modifier and TypeMethodDescriptionstatic IStructuredSelection
LegacyResourceSupport.adaptSelection
(IStructuredSelection selection, String objectClass) Adapts a selection to the given objectClass considering the Legacy resource support.ISelectionConversionService.convertToResources
(IStructuredSelection originalSelection) Attempt to convert the elements in the passed selection into resources by asking each for its IResource property (iff it isn't already a resource).SelectionConversionService.convertToResources
(IStructuredSelection originalSelection) Attempt to convert the elements in the passed selection into resources by asking each for its IResource property (iff it isn't already a resource).boolean
ObjectContributorManager.isApplicableTo
(IStructuredSelection selection, IObjectContributor contributor) Return whether the given contributor is applicable to all elements in the selection.boolean
ActionExpression.isEnabledFor
(IStructuredSelection selection) Returns whether the expression is valid for all elements of the given selection. -
Uses of IStructuredSelection in org.eclipse.ui.views.markers.internal
Modifier and TypeMethodDescriptionstatic boolean
Util.allConcreteSelection
(IStructuredSelection selection) Return whether or not all of the elements in the selection are concrete. -
Uses of IStructuredSelection in org.eclipse.ui.wizards
Modifier and TypeMethodDescriptionIWizardDescriptor.adaptedSelection
(IStructuredSelection selection) Answer the selection for the receiver based on whether the it can handle the selection.Modifier and TypeMethodDescriptionIWizardDescriptor.adaptedSelection
(IStructuredSelection selection) Answer the selection for the receiver based on whether the it can handle the selection. -
Uses of IStructuredSelection in org.eclipse.ui.wizards.datatransfer
Modifier and TypeMethodDescriptionvoid
ExternalProjectImportWizard.init
(IWorkbench workbench, IStructuredSelection selection) void
FileSystemExportWizard.init
(IWorkbench workbench, IStructuredSelection currentSelection) void
FileSystemImportWizard.init
(IWorkbench currentWorkbench, IStructuredSelection currentSelection) void
ZipFileExportWizard.init
(IWorkbench workbench, IStructuredSelection currentSelection) void
ZipFileImportWizard.init
(IWorkbench currentWorkbench, IStructuredSelection currentSelection) -
Uses of IStructuredSelection in org.eclipse.ui.wizards.newresource
Modifier and TypeFieldDescriptionprotected IStructuredSelection
BasicNewResourceWizard.selection
The current selection.Modifier and TypeMethodDescriptionBasicNewResourceWizard.getSelection()
Returns the selection which was passed toinit
.Modifier and TypeMethodDescriptionvoid
BasicNewFileResourceWizard.init
(IWorkbench workbench, IStructuredSelection currentSelection) void
BasicNewFolderResourceWizard.init
(IWorkbench workbench, IStructuredSelection currentSelection) void
BasicNewProjectResourceWizard.init
(IWorkbench workbench, IStructuredSelection currentSelection) void
BasicNewResourceWizard.init
(IWorkbench theWorkbench, IStructuredSelection currentSelection) TheBasicNewResourceWizard
implementation of thisIWorkbenchWizard
method records the given workbench and selection, and initializes the default banner image for the pages by callinginitializeDefaultPageImageDescriptor
.