com.ibm.xtools.uml.msl.internal.providers.copypaste
Class CombinedFragmentPasteOperation
java.lang.Object
org.eclipse.gmf.runtime.emf.clipboard.core.ClipboardOperation
org.eclipse.gmf.runtime.emf.clipboard.core.BasePasteOperation
org.eclipse.gmf.runtime.emf.clipboard.core.PasteChildOperation
org.eclipse.gmf.runtime.emf.clipboard.core.OverridePasteChildOperation
com.ibm.xtools.uml.msl.internal.providers.copypaste.InteractionFragmentPasteOperation
com.ibm.xtools.uml.msl.internal.providers.copypaste.CombinedFragmentPasteOperation
public class CombinedFragmentPasteOperation
- extends InteractionFragmentPasteOperation
Paste operation for CombinedFragment
| 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 |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CombinedFragmentPasteOperation
public CombinedFragmentPasteOperation(PasteChildOperation overriddenChildPasteOperation)
- Constructor
- Parameters:
overriddenChildPasteOperation -
shouldPasteAlwaysCopyObject
protected boolean shouldPasteAlwaysCopyObject(ObjectInfo alwaysCopyObjectInfo)
- Overrides:
shouldPasteAlwaysCopyObject in class PasteChildOperation
getParentEObject
public EObject getParentEObject()
- Overrides:
getParentEObject in class InteractionFragmentPasteOperation
paste
public void paste()
throws Exception
- Overrides:
paste in class InteractionFragmentPasteOperation
- Throws:
Exception- See Also:
com.ibm.xtools.bml.emf.internal.copypaste.BasePasteOperation#paste()
hasNameCollision
protected boolean hasNameCollision(EObject eObject1,
EObject eObject2)
- Test whether the two given objects have name in conflict.
- Parameters:
eObject1 - eObject2 -
- Returns:
- true if they are in conflict. otherwise, false.
© Copyright IBM Corp. 2009. All rights reserved.