com.ibm.xtools.uml.msl.internal.providers.copypaste
Class RealizationRelationshipPasteOperation
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.RealizationRelationshipPasteOperation
public class RealizationRelationshipPasteOperation
- extends OverridePasteChildOperation
Handling of copy/Paste special realization relationships. See defect:
RATLC01484622
| 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, getParentEObject, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RealizationRelationshipPasteOperation
public RealizationRelationshipPasteOperation(PasteChildOperation overriddenChildPasteOperation)
- Constructor
- Parameters:
overriddenChildPasteOperation -
isSpecialRealization
public static boolean isSpecialRealization(Realization realization)
- Test if the given realization is special and needs
RealizationRelationshipPasteOperation to handle it.
- Parameters:
realization -
- Returns:
setSource
public static void setSource(DirectedRelationship relationship,
NamedElement source)
- set the new source to the given relationship
- Parameters:
relationship - source -
paste
public void paste()
throws Exception
- Overrides:
paste in class PasteChildOperation
- Throws:
Exception
© Copyright IBM Corp. 2009. All rights reserved.