Eclipse Platform
2.1

org.eclipse.ui.actions
Class ImportResourcesAction

java.lang.Object
  |
  +--org.eclipse.jface.action.Action
        |
        +--org.eclipse.ui.actions.SelectionListenerAction
              |
              +--org.eclipse.ui.actions.ImportResourcesAction
All Implemented Interfaces:
IAction, ISelectionChangedListener

public class ImportResourcesAction
extends SelectionListenerAction

Action representing the initiation of an Import operation by the user.

This class may be instantiated. It is not intended to be subclassed.

Since:
2.0

Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
ImportResourcesAction(IWorkbench workbench)
          Deprecated. use the constructor ImportResourcesAction(IWorkbenchWindow)
ImportResourcesAction(IWorkbenchWindow window)
          Create a new instance of this class
 
Method Summary
 void run()
          Invoke the Import wizards selection Wizard.
 void setSelection(IStructuredSelection selection)
          Deprecated.  
 
Methods inherited from class org.eclipse.ui.actions.SelectionListenerAction
getSelectedNonResources, getSelectedResources, getStructuredSelection, resourceIsType, selectionChanged, selectionChanged, selectionIsOfType, updateSelection
 
Methods inherited from class org.eclipse.jface.action.Action
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removeAcceleratorText, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportResourcesAction

public ImportResourcesAction(IWorkbenchWindow window)
Create a new instance of this class

ImportResourcesAction

public ImportResourcesAction(IWorkbench workbench)
Deprecated. use the constructor ImportResourcesAction(IWorkbenchWindow)

Create a new instance of this class
Method Detail

run

public void run()
Invoke the Import wizards selection Wizard.
Overrides:
run in class Action
Parameters:
browser - Window

setSelection

public void setSelection(IStructuredSelection selection)
Deprecated.  

Sets the current selection. In for backwards compatability. Use selectionChanged() instead.
Parameters:
selection - the new selection

Eclipse Platform
2.1

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