UML Modeling Layer

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

java.lang.Object
  extended by org.eclipse.gmf.runtime.emf.clipboard.core.ClipboardOperation
      extended by org.eclipse.gmf.runtime.emf.clipboard.core.BasePasteOperation
          extended by org.eclipse.gmf.runtime.emf.clipboard.core.PasteChildOperation
              extended by org.eclipse.gmf.runtime.emf.clipboard.core.OverridePasteChildOperation
                  extended by com.ibm.xtools.uml.msl.internal.providers.copypaste.ConnectableElementPasteOperation

public class ConnectableElementPasteOperation
extends OverridePasteChildOperation

Paste operation for connectable element


Field Summary
static String PASTE_TO_INTERACTION_CONTEXT
          Only valid when connectable element is pasted with other interaction elements.
 
Fields inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.PasteChildOperation
COPY, EMPTY_ARRAY
 
Fields inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.BasePasteOperation
PASTE
 
Fields inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.ClipboardOperation
TOTAL_WORK, WORK_UNIT
 
Constructor Summary
ConnectableElementPasteOperation(PasteChildOperation overriddenChildPasteOperation)
          Constructor
 
Method Summary
 EObject getParentEObject()
           
 void paste()
           
 
Methods inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.OverridePasteChildOperation
getOverriddenPasteChildOperation
 
Methods inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.PasteChildOperation
canBeReplaced, doPasteInto, doPasteInto, doPasteInto, doPasteInto, getAlwaysCopyObjectPasteOperations, getAuxiliaryChildPasteProcess, getChildObjectInfo, getContainmentFeature, getCopyParentEObject, getCopyParentObjectInfo, getEObject, getEObject, getEObjectID, getLoadedDirectContainerEObject, getLoadedEObject, getLoadedEObjectID, getMainChildPasteProcess, getParentPasteProcess, getParentResource, getParentTarget, getPasteContainmentFeature, getPastedDirectCopyParent, getPastedElement, getPastedEObject, getPostPasteOperation, getSuitableParentUsingAncestry, handleCollision, handleCollision, hasCopyParent, isAuxiliaryOperation, isCopyAlways, isCopyParentDirectParent, makeAuxiliaryChildPasteProcess, mergeEObjects, mergeLists, setPastedElement, shouldPasteAlwaysCopyObject
 
Methods inherited from class org.eclipse.gmf.runtime.emf.clipboard.core.BasePasteOperation
addCriticalResolveFailure, addMergedElementEntry, addPastedElement, addPasteFailuresObject, getAllCriticalResolveFailuresSet, getAllMergedElementsMap, getAllPastedElementSet, getAllPasteFailuresObjectSet, getCriticalResolveFailuresSet, getLoadOptionsMap, getMergedElementsMap, getPastedElementSet, getPasteFailuresObjectSet, getResourceInfo, getSpawningPasteOperation, removeCriticalResolveFailure, throwCancelException
 
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
 

Field Detail

PASTE_TO_INTERACTION_CONTEXT

public static final String PASTE_TO_INTERACTION_CONTEXT
Only valid when connectable element is pasted with other interaction elements. flag used to indicate whether to paste connectable element to the interaction context.

See Also:
Constant Field Values
Constructor Detail

ConnectableElementPasteOperation

public ConnectableElementPasteOperation(PasteChildOperation overriddenChildPasteOperation)
Constructor

Parameters:
overriddenChildPasteOperation -
Method Detail

paste

public void paste()
           throws Exception
Overrides:
paste in class PasteChildOperation
Throws:
Exception

getParentEObject

public EObject getParentEObject()
Overrides:
getParentEObject in class PasteChildOperation

UML Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.