Eclipse Platform
2.1

Uses of Interface
org.eclipse.jface.viewers.IStructuredSelection

Packages that use IStructuredSelection
org.eclipse.debug.ui Provides a generic debugger user interface that clients may customize via standard workbench extension points. 
org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets. 
org.eclipse.ui Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface. 
org.eclipse.ui.actions Classes for actions and operations used in a workbench window, page, or part in the Eclipse Platform User Interface. 
org.eclipse.ui.dialogs Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface. 
org.eclipse.ui.views.navigator Provides the standard Resource Navigator view which presents the tree of resources in the workspace. 
org.eclipse.ui.wizards.datatransfer Provides the standard Import and Export wizards for moving resources into and out of the workspace. 
org.eclipse.ui.wizards.newresource Provides the standard wizards for creating files, folders, and projects in the workspace. 
 

Uses of IStructuredSelection in org.eclipse.debug.ui
 

Methods in org.eclipse.debug.ui with parameters of type IStructuredSelection
static int DebugUITools.openLaunchConfigurationDialog(Shell shell, IStructuredSelection selection, String mode)
          Open the launch configuration dialog with the specified initial selection.
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.jface.viewers
 

Classes in org.eclipse.jface.viewers that implement IStructuredSelection
 class StructuredSelection
          A concrete implementation of the IStructuredSelection interface, suitable for instantiating.
 

Uses of IStructuredSelection in org.eclipse.ui
 

Methods in org.eclipse.ui with parameters of type IStructuredSelection
 void IWorkbenchWizard.init(IWorkbench workbench, IStructuredSelection selection)
          Initializes this creation wizard using the passed workbench and object selection.
 void ICapabilityUninstallWizard.init(IWorkbench workbench, IStructuredSelection selection, IProject project, String[] natureIds)
          Initializes this capability wizard using the passed workbench, object selection, project, and nature IDs.
 void ICapabilityInstallWizard.init(IWorkbench workbench, IStructuredSelection selection, IProject project)
          Initializes this capability wizard using the passed workbench, object selection, and project.
 

Uses of IStructuredSelection in org.eclipse.ui.actions
 

Methods in org.eclipse.ui.actions that return IStructuredSelection
 IStructuredSelection SelectionListenerAction.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).
protected  IStructuredSelection CreateProjectAction.getInitialSelection()
          Deprecated. Returns the selection to initialized the wizard with
 IStructuredSelection 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).
 

Methods in org.eclipse.ui.actions with parameters of type IStructuredSelection
 void SelectionListenerAction.selectionChanged(IStructuredSelection selection)
          Notifies this action that the given structured selection has changed.
protected  boolean SelectionListenerAction.updateSelection(IStructuredSelection selection)
          Updates this action in response to the given selection.
protected  boolean AddTaskAction.updateSelection(IStructuredSelection selection)
          The AddTaskAction implementation of this SelectionListenerAction method enables the action only if the selection contains a single resource and the resource is not a closed project.
protected  boolean CreateFileAction.updateSelection(IStructuredSelection s)
          Deprecated. The CreateFileAction implementation of this SelectionListenerAction method enables the action only if the selection contains folders and open projects.
protected  boolean WorkspaceAction.updateSelection(IStructuredSelection selection)
          The WorkspaceAction implementation of this SelectionListenerAction method ensures that this action is disabled if any of the selected resources are inaccessible.
protected  boolean OpenResourceAction.updateSelection(IStructuredSelection s)
          The OpenResourceAction implementation of this SelectionListenerAction method ensures that this action is enabled only if one of the selections is a closed project.
 void ExportResourcesAction.setSelection(IStructuredSelection selection)
          Deprecated.  
protected  boolean CopyProjectAction.updateSelection(IStructuredSelection selection)
          The CopyResourceAction implementation of this SelectionListenerAction method enables this action only if there is a single selection which is a project.
 void SelectionProviderAction.selectionChanged(IStructuredSelection selection)
          Notifies this action that the given structured selection has changed in the selection provider.
protected  boolean ScrubLocalAction.updateSelection(IStructuredSelection s)
          The ScrubLocalAction implementation of this SelectionListenerAction method ensures that this action is disabled if any of the selections are not resources.
protected  boolean CopyResourceAction.updateSelection(IStructuredSelection selection)
          The CopyResourceAction implementation of this SelectionListenerAction method enables this action only if all of the one or more selections are sibling resources which are local (depth infinity).
protected  boolean RenameResourceAction.updateSelection(IStructuredSelection selection)
          The RenameResourceAction implementation of this SelectionListenerAction method ensures that this action is disabled if any of the selections are not resources or resources that are not local.
protected  boolean BuildAction.updateSelection(IStructuredSelection s)
          The BuildAction implementation of this SelectionListenerAction method ensures that this action is enabled only if all of the selected resources have buildable projects.
protected  boolean CreateFolderAction.updateSelection(IStructuredSelection s)
          Deprecated. The CreateFolderAction implementation of this SelectionListenerAction method enables the action only if the selection contains folders and open projects.
protected  boolean OpenSystemEditorAction.updateSelection(IStructuredSelection selection)
          The OpenSystemEditorAction implementation of this SelectionListenerAction method enables the action only if the selection contains just file resources.
protected  boolean CloseResourceAction.updateSelection(IStructuredSelection s)
          The CloseResourceAction implementation of this SelectionListenerAction method ensures that this action is enabled only if one of the selections is an open project.
protected  boolean AddBookmarkAction.updateSelection(IStructuredSelection selection)
          The AddBookmarkAction implementation of this SelectionListenerAction method enables the action only if the selection is not empty and contains just file resources.
 void ImportResourcesAction.setSelection(IStructuredSelection selection)
          Deprecated.  
protected  boolean DeleteResourceAction.updateSelection(IStructuredSelection selection)
          The DeleteResourceAction implementation of this SelectionListenerAction method disables the action if the selection contains phantom resources or non-resources
protected  boolean RefreshAction.updateSelection(IStructuredSelection s)
          The RefreshAction implementation of this SelectionListenerAction method ensures that this action is enabled if the selection is empty, but is disabled if any of the selected elements are not resources.
 

Uses of IStructuredSelection in org.eclipse.ui.dialogs
 

Methods in org.eclipse.ui.dialogs with parameters of type IStructuredSelection
 boolean PropertyDialogAction.isApplicableForSelection(IStructuredSelection selection)
          Returns whether this action is applicable to the current selection.
 void PropertyDialogAction.selectionChanged(IStructuredSelection selection)
          The PropertyDialogAction implementation of this SelectionProviderAction method enables the action only if the given selection contains exactly one element.
 

Constructors in org.eclipse.ui.dialogs with parameters of type IStructuredSelection
WizardExportPage(String pageName, IStructuredSelection selection)
          Deprecated. Creates an export wizard page.
WizardExportResourcesPage(String pageName, IStructuredSelection selection)
          Creates an export wizard page.
WizardImportPage(String name, IStructuredSelection selection)
          Deprecated. Creates an import 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.
WizardResourceImportPage(String name, IStructuredSelection selection)
          Creates an import wizard page.
 

Uses of IStructuredSelection in org.eclipse.ui.views.navigator
 

Methods in org.eclipse.ui.views.navigator that return IStructuredSelection
static IStructuredSelection ResourceSelectionUtil.allResources(IStructuredSelection selection, int resourceMask)
          Returns the selection adapted to IResource.
 

Methods in org.eclipse.ui.views.navigator with parameters of type IStructuredSelection
 void ShowInNavigatorAction.selectionChanged(IStructuredSelection selection)
           
 void ResourceNavigatorActionGroup.runDefaultAction(IStructuredSelection selection)
          Runs the default action in the group.
protected  String ResourceNavigator.getStatusLineMessage(IStructuredSelection selection)
          Returns the message to show in the status line.
protected  void ResourceNavigator.linkToEditor(IStructuredSelection selection)
          Activates the editor if the selected resource is open.
protected  void ResourceNavigator.updateActionBars(IStructuredSelection selection)
          Updates the action bar actions.
protected  void ResourceNavigator.updateStatusLine(IStructuredSelection selection)
          Updates the message shown in the status line.
 void MainActionGroup.runDefaultAction(IStructuredSelection selection)
          Runs the default action (open file) by delegating the open group.
protected  boolean ResourceNavigatorMoveAction.updateSelection(IStructuredSelection selection)
           
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.
static IStructuredSelection ResourceSelectionUtil.allResources(IStructuredSelection selection, int resourceMask)
          Returns the selection adapted to IResource.
 void OpenActionGroup.runDefaultAction(IStructuredSelection selection)
          Runs the default action (open file).
 

Uses of IStructuredSelection in org.eclipse.ui.wizards.datatransfer
 

Methods in org.eclipse.ui.wizards.datatransfer with parameters of type IStructuredSelection
 void ZipFileExportWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
           
 void ExternalProjectImportWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
           
 void FileSystemExportWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
           
 void ZipFileImportWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
           
 void FileSystemImportWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
           
 

Uses of IStructuredSelection in org.eclipse.ui.wizards.newresource
 

Fields in org.eclipse.ui.wizards.newresource declared as IStructuredSelection
protected  IStructuredSelection BasicNewResourceWizard.selection
          The current selection.
 

Methods in org.eclipse.ui.wizards.newresource that return IStructuredSelection
 IStructuredSelection BasicNewResourceWizard.getSelection()
          Returns the selection which was passed to init.
 

Methods in org.eclipse.ui.wizards.newresource with parameters of type IStructuredSelection
 void BasicNewResourceWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
          The BasicNewResourceWizard implementation of this IWorkbenchWizard method records the given workbench and selection, and initializes the default banner image for the pages by calling initializeDefaultPageImageDescriptor.
 void BasicNewFileResourceWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
           
 void BasicNewProjectResourceWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
           
 void BasicNewFolderResourceWizard.init(IWorkbench workbench, IStructuredSelection currentSelection)
           
 


Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.