|
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
com.ibm.xtools.uml.msl.internal.providers.copypaste.InteractionAtomicSetStrategy
public class InteractionAtomicSetStrategy
Interaction AtomicSetStrategy
| Field Summary | |
|---|---|
static String |
NOT_COPYALWAYS_EVENTS
flag indicating to not copy event as copyAlways objects of occurrence specification |
static String |
NOT_COPYALWAYS_INTERACTION_RE
flag indicating to not copy interaction related elements as copyAlways objects of interaction |
static String |
NOT_COPYALWAYS_LIFELINE_REPRESENTS
flag indicating to not copy "lifeline represents" as copyAlways objects of lifeline |
| Constructor Summary | |
|---|---|
InteractionAtomicSetStrategy()
|
|
| Method Summary | |
|---|---|
protected void |
collectRelatedElements(CombinedFragment cf,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(ConnectableElement ce,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(ExecutionOccurrenceSpecification eos,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(ExecutionSpecification bes,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(Gate gate,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(InteractionUse iu,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(MessageOccurrenceSpecification mos,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(Message message,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(OccurrenceSpecification os,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements(StateInvariant si,
Set<EObject> atomicSet)
|
protected void |
collectRelatedElements1(CombinedFragment cf,
Set<EObject> atomicSet)
|
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. |
Set<EObject> |
findFilteredSemanticCopyAtomicSet(Set<EObject> objects)
Given a set of objects, this method returns its filtered copy atomic set. |
Set<EObject> |
findSemanticCopyAtomicSet(Set<EObject> objects)
Given a set of objects, this method returns its copy atomic set. |
protected Event |
getEvent(OccurrenceSpecification os,
Interaction interaction)
Get the event to be copied (or null if it should not be copied). |
protected Event |
getEvent(Set<EObject> atomicSet,
OccurrenceSpecification os)
Get the event to be added to the copy always set. |
protected String |
getName()
This method returns the name of the strategy |
OverridePasteChildOperation |
getOverrideChildPasteOperation(EObject parentEObject,
EObject object,
PasteChildOperation overriddenChildPasteOperation)
Get the paste operation for copy atomic set found by this strategy. |
List<EObject> |
sort(Set<EObject> atomicSet)
This method sorts the given atomic set and returns an ordered list of the elements. |
| Methods inherited from class com.ibm.xtools.uml.msl.internal.providers.copypaste.CopyAtomicSetStrategy |
|---|
createAtomicRootObject, supportOverrideChildPasteOperation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NOT_COPYALWAYS_LIFELINE_REPRESENTS
public static final String NOT_COPYALWAYS_EVENTS
public static final String NOT_COPYALWAYS_INTERACTION_RE
| Constructor Detail |
|---|
public InteractionAtomicSetStrategy()
| Method Detail |
|---|
protected String getName()
CopyAtomicSetStrategy
getName in class CopyAtomicSetStrategy
public OverridePasteChildOperation getOverrideChildPasteOperation(EObject parentEObject,
EObject object,
PasteChildOperation overriddenChildPasteOperation)
CopyAtomicSetStrategy
getOverrideChildPasteOperation in class CopyAtomicSetStrategy
public Set<EObject> extractCopyAlwaysSet(Set<EObject> atomicSet,
CopyObjects copyObjects,
Map<Object,Object> hintMap)
CopyAtomicSetStrategy
extractCopyAlwaysSet in class CopyAtomicSetStrategyatomicSet - atomic setcopyObjects - given copyObjects. contains copyAlways map to be updatedhintMap - hint map for the copy/paste operation.
protected Event getEvent(OccurrenceSpecification os,
Interaction interaction)
os - the occurrence specificationinteraction - the interaction that this occurrence specification applies to.
protected Event getEvent(Set<EObject> atomicSet,
OccurrenceSpecification os)
atomicSet - os - the occurrence specification
public Set<EObject> findSemanticCopyAtomicSet(Set<EObject> objects)
CopyAtomicSetStrategy
findSemanticCopyAtomicSet in class CopyAtomicSetStrategypublic Set<EObject> findFilteredSemanticCopyAtomicSet(Set<EObject> objects)
CopyAtomicSetStrategy
findFilteredSemanticCopyAtomicSet in class CopyAtomicSetStrategypublic List<EObject> sort(Set<EObject> atomicSet)
CopyAtomicSetStrategy
sort in class CopyAtomicSetStrategy
protected void collectRelatedElements(Message message,
Set<EObject> atomicSet)
protected void collectRelatedElements(MessageOccurrenceSpecification mos,
Set<EObject> atomicSet)
protected void collectRelatedElements(ExecutionOccurrenceSpecification eos,
Set<EObject> atomicSet)
protected void collectRelatedElements(ExecutionSpecification bes,
Set<EObject> atomicSet)
protected void collectRelatedElements(Gate gate,
Set<EObject> atomicSet)
protected void collectRelatedElements(CombinedFragment cf,
Set<EObject> atomicSet)
protected void collectRelatedElements1(CombinedFragment cf,
Set<EObject> atomicSet)
protected void collectRelatedElements(InteractionUse iu,
Set<EObject> atomicSet)
protected void collectRelatedElements(OccurrenceSpecification os,
Set<EObject> atomicSet)
protected void collectRelatedElements(ConnectableElement ce,
Set<EObject> atomicSet)
protected void collectRelatedElements(StateInvariant si,
Set<EObject> atomicSet)
|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||