com.ibm.xtools.uml.msl.internal.redefinition
Class RedefRegionUtil
java.lang.Object
com.ibm.xtools.uml.msl.internal.redefinition.RedefInternalUtil
com.ibm.xtools.uml.msl.internal.redefinition.RedefUtil
com.ibm.xtools.uml.msl.internal.redefinition.RedefRegionUtil
public class RedefRegionUtil
- extends RedefUtil
| Methods inherited from class com.ibm.xtools.uml.msl.internal.redefinition.RedefUtil |
canRedefine, canRedefine, canReinherit, canReinheritViewTarget, changeRedefinitionRoot, copyAllRedefinableContent, copyLocalRedefinableContent, copySharedContent, getAdapterForEditPart, getAffectedFilesFromContextHint, getAllStructuralFeatureContent, getContainingStateMachine, getContextHint, getContextHintMap, getContextualFragment, getContextualFragment, getInheritanceTree, getInheritedContent, getInstance, getLocalContext, getLocalContextFromHint, getLocalContextFromHint, getLocalContextIfExists, getLocalFragment, getRedefinableFeatures, getRedefinedElement, getRedefinedElementOrSuperClass, getRedefinitions, getRedefinitionStructuralFeature, getRedefinitionTree, getReferencesTargets, getReferenceTarget, getReferenceTarget, getRootFragment, getSharedFeatures, getStereotypeValue, getSubclasses, getValue, isEventBrokerRedefinitionAware, isExcluded, isExcluded, isFragmentRemovalRefactoring, isInheritable, isInherited, isLocal, isRedefinitionContextValid, isRedefinitionStructuredFeature, isStereotypePropertyRedefinable, isStereotypeValueInherited, isUISuppressed, isUMLRedefinitionStructuralFeature, isValueLocal, markFragmentRemovalRefactoring, normalizeContextHint, redefine, redefine, reinherit, removeFragment, separate, setRedefinition, setSupressUIParam, unexclude |
| Methods inherited from class com.ibm.xtools.uml.msl.internal.redefinition.RedefInternalUtil |
filterBySF, findBody, findBody, findOwner, findOwner, findSubclasses, findSubclasses, getContainedElement, getContextChain, getExclusionSupport, getRedefSupport, retargetReferences, retargetReferencesDownTheContextChain |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedefRegionUtil
public RedefRegionUtil()
getInheritedSubvertices
protected static List getInheritedSubvertices(Region fragment,
Set visited)
- Utility method for returning the set of "inherited" vertices for a given
Region
- Parameters:
fragment - the region
- Returns:
- List of inherited vertices or null
getAllSubvertices
protected static List getAllSubvertices(Region fragment,
Set visited,
Set excluded)
- Local method to get the set of Inherited + Local - Redefined vertices
- Parameters:
fragment - the region
- Returns:
- list with vertices (never null)
getLocalSubvertices
public static List getLocalSubvertices(Region region)
- use it instead of calling region.getSubvertices() directly
- Parameters:
region -
- Returns:
getLocalTransitions
public static List getLocalTransitions(Region region)
- use it instead of calling region.getTransitions() directly
- Parameters:
region -
- Returns:
getAllSubvertices
public static List getAllSubvertices(Region region,
EObject contextHint)
- Utility method to get the set of Inherited + Local - Redefined vertices
- Parameters:
context - the state
- Returns:
- list with regions (never null)
getInheritedTransitions
protected static List getInheritedTransitions(Region fragment,
Set visited)
getAllTransitions
protected static List getAllTransitions(Region fragment,
Set visited,
Set excluded)
getAllTransitions
public static List getAllTransitions(Region region,
EObject contextHint)
- Utility method to get the set of Inherited + Local - Redefined transitions
- Parameters:
context - the state
- Returns:
- list with transitions (never null)
© Copyright IBM Corp. 2009. All rights reserved.