UML Modeling Layer

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

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.ConnectorViewPasteOperation
Direct Known Subclasses:
MessageViewPasteOperation

public class ConnectorViewPasteOperation
extends OverridePasteChildOperation


Field Summary
 
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
ConnectorViewPasteOperation(PasteChildOperation overriddenChildPasteOperation)
           
 
Method Summary
protected  com.ibm.xtools.uml.msl.internal.providers.copypaste.ConnectorViewPostPasteChildOperation createConnectorViewPostePasteChildOperation(boolean pasteSemanticElement)
          Create poste paste operation for connector view.
protected  List getAlwaysCopyObjectPasteOperations()
           
protected  ObjectInfo getChildObjectInfo()
           
protected  Edge getConnectorView()
           
 PasteChildOperation getPostPasteOperation()
           
protected  View getSourceView()
           
protected  View getTargetView()
           
protected  PasteChildOperation makeAuxiliaryChildPasteProcess(ObjectInfo auxiliaryChildEObjectInfo)
           
 void paste()
           
protected  boolean shouldPasteAlwaysCopyObject(ObjectInfo alwaysCopyObjectInfo)
           
 
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, getAuxiliaryChildPasteProcess, getContainmentFeature, getCopyParentEObject, getCopyParentObjectInfo, getEObject, getEObject, getEObjectID, getLoadedDirectContainerEObject, getLoadedEObject, getLoadedEObjectID, getMainChildPasteProcess, getParentEObject, getParentPasteProcess, getParentResource, getParentTarget, getPasteContainmentFeature, getPastedDirectCopyParent, getPastedElement, getPastedEObject, getSuitableParentUsingAncestry, handleCollision, handleCollision, hasCopyParent, isAuxiliaryOperation, isCopyAlways, isCopyParentDirectParent, 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 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

ConnectorViewPasteOperation

public ConnectorViewPasteOperation(PasteChildOperation overriddenChildPasteOperation)
Parameters:
overriddenChildPasteOperation -
Method Detail

paste

public void paste()
           throws Exception
Overrides:
paste in class PasteChildOperation
Throws:
Exception
See Also:
com.ibm.xtools.bml.emf.internal.copypaste.PasteChildOperation#paste()

shouldPasteAlwaysCopyObject

protected boolean shouldPasteAlwaysCopyObject(ObjectInfo alwaysCopyObjectInfo)
Overrides:
shouldPasteAlwaysCopyObject in class PasteChildOperation

makeAuxiliaryChildPasteProcess

protected PasteChildOperation makeAuxiliaryChildPasteProcess(ObjectInfo auxiliaryChildEObjectInfo)
Overrides:
makeAuxiliaryChildPasteProcess in class PasteChildOperation

getPostPasteOperation

public PasteChildOperation getPostPasteOperation()
Overrides:
getPostPasteOperation in class PasteChildOperation
See Also:
com.ibm.xtools.bml.emf.internal.copypaste.PasteChildOperation#getPostPasteOperation()

createConnectorViewPostePasteChildOperation

protected com.ibm.xtools.uml.msl.internal.providers.copypaste.ConnectorViewPostPasteChildOperation createConnectorViewPostePasteChildOperation(boolean pasteSemanticElement)
Create poste paste operation for connector view.

Parameters:
pasteSemanticElement -
Returns:

getChildObjectInfo

protected ObjectInfo getChildObjectInfo()
Overrides:
getChildObjectInfo in class PasteChildOperation

getAlwaysCopyObjectPasteOperations

protected List getAlwaysCopyObjectPasteOperations()
Overrides:
getAlwaysCopyObjectPasteOperations in class PasteChildOperation

getSourceView

protected View getSourceView()
Returns:
Returns the sourceView.

getTargetView

protected View getTargetView()
Returns:
Returns the targetView.

getConnectorView

protected Edge getConnectorView()
Returns:
Returns the connectorView.

UML Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.