Eclipse Platform
2.1

org.eclipse.ui.actions
Class ExportResourcesAction

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

public class ExportResourcesAction
extends SelectionListenerAction

Action representing the initiation of an Export 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
ExportResourcesAction(IWorkbench workbench)
          Deprecated. use the constructor ExportResourcesAction(IWorkbenchWindow)
ExportResourcesAction(IWorkbench workbench, String label)
          Deprecated. use the constructor ExportResourcesAction(IWorkbenchWindow, String)
ExportResourcesAction(IWorkbenchWindow window)
          Create a new instance of this class
ExportResourcesAction(IWorkbenchWindow window, String label)
          Create a new instance of this class
 
Method Summary
 void run()
          Invoke the Export 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

ExportResourcesAction

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

ExportResourcesAction

public ExportResourcesAction(IWorkbenchWindow window,
                             String label)
Create a new instance of this class

ExportResourcesAction

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

Create a new instance of this class

ExportResourcesAction

public ExportResourcesAction(IWorkbench workbench,
                             String label)
Deprecated. use the constructor ExportResourcesAction(IWorkbenchWindow, String)

Create a new instance of this class
Method Detail

run

public void run()
Invoke the Export 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.