org.eclipse.emf.edit.ui.action
Class PasteAction

java.lang.Object
  |
  +--org.eclipse.jface.action.Action
        |
        +--org.eclipse.ui.actions.SelectionListenerAction
              |
              +--org.eclipse.emf.edit.ui.action.CommandActionHandler
                    |
                    +--org.eclipse.emf.edit.ui.action.PasteAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelectionChangedListener

public class PasteAction
extends CommandActionHandler

A paste action is implemented by creating a PasteFromClipboardCommand.


Fields inherited from class org.eclipse.emf.edit.ui.action.CommandActionHandler
command, domain
 
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
PasteAction()
           
PasteAction(EditingDomain domain)
           
 
Method Summary
 Command createCommand(java.util.Collection selection)
          This default implementation simply returns UnexecutableCommand.INSTANCE.
 void setActiveEditor(org.eclipse.ui.IEditorPart editorPart)
           
 
Methods inherited from class org.eclipse.emf.edit.ui.action.CommandActionHandler
getEditingDomain, run, setEditingDomain, updateSelection
 
Methods inherited from class org.eclipse.ui.actions.SelectionListenerAction
getSelectedNonResources, getSelectedResources, getStructuredSelection, resourceIsType, selectionChanged, selectionChanged, selectionIsOfType
 
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

PasteAction

public PasteAction(EditingDomain domain)

PasteAction

public PasteAction()
Method Detail

createCommand

public Command createCommand(java.util.Collection selection)
Description copied from class: CommandActionHandler
This default implementation simply returns UnexecutableCommand.INSTANCE.
Overrides:
createCommand in class CommandActionHandler

setActiveEditor

public void setActiveEditor(org.eclipse.ui.IEditorPart editorPart)

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.