Eclipse Platform
2.0

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

Field Summary
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
ImportResourcesAction(IWorkbench aWorkbench)
          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(IWorkbench aWorkbench)
Create a new instance of this class

Method Detail

run

public void run()
Invoke the Import wizards selection Wizard.

Specified by:
run in interface IAction
Overrides:
run in class Action

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.0

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