org.eclipse.uml2.uml.editor.presentation
Class UMLEditor.UMLPasteFromClipboardCommand

java.lang.Object
  extended by org.eclipse.emf.common.command.AbstractCommand
      extended by org.eclipse.emf.edit.command.AbstractOverrideableCommand
          extended by org.eclipse.emf.edit.command.PasteFromClipboardCommand
              extended by org.eclipse.uml2.uml.editor.presentation.UMLEditor.UMLPasteFromClipboardCommand
All Implemented Interfaces:
org.eclipse.emf.common.command.Command, org.eclipse.emf.edit.command.OverrideableCommand
Enclosing class:
UMLEditor

protected static class UMLEditor.UMLPasteFromClipboardCommand
extends org.eclipse.emf.edit.command.PasteFromClipboardCommand


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.AbstractCommand.NonDirtying
 
Field Summary
 
Fields inherited from class org.eclipse.emf.edit.command.PasteFromClipboardCommand
command, DESCRIPTION, feature, index, LABEL, optimize, owner
 
Fields inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand
domain, overrideCommand
 
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand
description, isExecutable, isPrepared, label
 
Constructor Summary
protected UMLEditor.UMLPasteFromClipboardCommand(org.eclipse.emf.edit.domain.EditingDomain domain, java.lang.Object owner, java.lang.Object feature, int index, boolean optimize)
           
 
Method Summary
protected  org.eclipse.emf.ecore.ENamedElement getAppliedDefinition(Package nearestPackage, Stereotype stereotype)
           
protected  boolean optimizedCanExecute()
           
protected  boolean prepare()
           
 
Methods inherited from class org.eclipse.emf.edit.command.PasteFromClipboardCommand
create, create, doDispose, doExecute, doGetAffectedObjects, doGetResult, doRedo, doUndo, getFeature, getIndex, getOwner, toString
 
Methods inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand
canExecute, canUndo, dispose, doCanExecute, doCanUndo, doGetChildrenToCopy, doGetDescription, doGetLabel, execute, getAffectedObjects, getChildrenToCopy, getDescription, getDomain, getLabel, getOverride, getOwnerList, getResult, redo, setOverride, undo, updateEMap
 
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand
chain, setDescription, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.command.Command
chain
 

Constructor Detail

UMLEditor.UMLPasteFromClipboardCommand

protected UMLEditor.UMLPasteFromClipboardCommand(org.eclipse.emf.edit.domain.EditingDomain domain,
                                                 java.lang.Object owner,
                                                 java.lang.Object feature,
                                                 int index,
                                                 boolean optimize)
Method Detail

getAppliedDefinition

protected org.eclipse.emf.ecore.ENamedElement getAppliedDefinition(Package nearestPackage,
                                                                   Stereotype stereotype)

prepare

protected boolean prepare()
Overrides:
prepare in class org.eclipse.emf.edit.command.PasteFromClipboardCommand

optimizedCanExecute

protected boolean optimizedCanExecute()
Overrides:
optimizedCanExecute in class org.eclipse.emf.edit.command.PasteFromClipboardCommand

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.