|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.xtools.uml.msl.internal.providers.copypaste.CopyAtomicSetStrategy
public abstract class CopyAtomicSetStrategy
Base class for CopyAtomicSetStrategy
| Constructor Summary | |
|---|---|
CopyAtomicSetStrategy()
|
|
| Method Summary | |
|---|---|
EObject |
createAtomicRootObject()
create an atomic set root for this strategy. |
abstract Set<EObject> |
extractCopyAlwaysSet(Set<EObject> atomicSet,
CopyObjects copyObjects,
Map<Object,Object> hintMap)
This method finds all copyAlways objects for elements within the given atomic set. |
abstract Set<EObject> |
findFilteredSemanticCopyAtomicSet(Set<EObject> objects)
Given a set of objects, this method returns its filtered copy atomic set. |
abstract Set<EObject> |
findSemanticCopyAtomicSet(Set<EObject> objects)
Given a set of objects, this method returns its copy atomic set. |
protected abstract String |
getName()
This method returns the name of the strategy |
abstract OverridePasteChildOperation |
getOverrideChildPasteOperation(EObject parentEObject,
EObject object,
PasteChildOperation overriddenChildPasteOperation)
Get the paste operation for copy atomic set found by this strategy. |
abstract List<EObject> |
sort(Set<EObject> atomicSet)
This method sorts the given atomic set and returns an ordered list of the elements. |
boolean |
supportOverrideChildPasteOperation(EObject parentEObject,
EObject atomicSetRoot)
Determine if this strategy can provide paste operation for the given atomic set root. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopyAtomicSetStrategy()
| Method Detail |
|---|
public abstract Set<EObject> findSemanticCopyAtomicSet(Set<EObject> objects)
selectedObjects -
public abstract List<EObject> sort(Set<EObject> atomicSet)
atomicSet -
protected abstract String getName()
public abstract Set<EObject> extractCopyAlwaysSet(Set<EObject> atomicSet,
CopyObjects copyObjects,
Map<Object,Object> hintMap)
atomicSet - atomic setcopyObjects - given copyObjects. contains copyAlways map to be updatedhintMap - hint map for the copy/paste operation.
public abstract OverridePasteChildOperation getOverrideChildPasteOperation(EObject parentEObject,
EObject object,
PasteChildOperation overriddenChildPasteOperation)
parentEObject - object - overriddenChildPasteOperation -
public boolean supportOverrideChildPasteOperation(EObject parentEObject,
EObject atomicSetRoot)
parentEObject - object - atomic set root.
public EObject createAtomicRootObject()
public abstract Set<EObject> findFilteredSemanticCopyAtomicSet(Set<EObject> objects)
objects -
|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||