UML Modeling Layer

com.ibm.xtools.uml.msl.internal.providers.copypaste
Class ElementCopyOperation

java.lang.Object
  extended by org.eclipse.gmf.runtime.emf.clipboard.core.ClipboardOperation
      extended by org.eclipse.gmf.runtime.emf.clipboard.core.CopyOperation
          extended by org.eclipse.gmf.runtime.emf.clipboard.core.OverrideCopyOperation
              extended by com.ibm.xtools.uml.msl.internal.providers.copypaste.ElementCopyOperation

public class ElementCopyOperation
extends OverrideCopyOperation


Field Summary
 
Fields inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.CopyOperation
COPY
 
Fields inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.ClipboardOperation
TOTAL_WORK, WORK_UNIT
 
Constructor Summary
ElementCopyOperation(CopyOperation overriddenCopyOperation)
          Constructor
 
Method Summary
 String copy()
           
protected  CopyObjects getAuxiliaryObjects()
           
protected  void handleStereotype(CopyObjects copyObjects)
          Add stereotype applications as objects to be copied.
 
Methods inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.OverrideCopyOperation
getOverriddenCopyOperation
 
Methods inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.CopyOperation
doCopy, getCombinedCopyAlwaysSet, getEObjects, getEObjectsHintMap
 
Methods inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.ClipboardOperation
catchException, getClipboardOperationHelper, getProgressMonitor, isCancelled, throwCancelException, throwException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementCopyOperation

public ElementCopyOperation(CopyOperation overriddenCopyOperation)
Constructor

Parameters:
overriddenCopyOperation -
Method Detail

copy

public String copy()
            throws Exception
Overrides:
copy in class CopyOperation
Throws:
Exception

getAuxiliaryObjects

protected CopyObjects getAuxiliaryObjects()
Overrides:
getAuxiliaryObjects in class CopyOperation

handleStereotype

protected void handleStereotype(CopyObjects copyObjects)
Add stereotype applications as objects to be copied.

Parameters:
copyObjects -

UML Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.