UML Modeling Layer

com.ibm.xtools.uml.msl.internal.redefinition
Class RedefVertexUtil

java.lang.Object
  extended by com.ibm.xtools.uml.msl.internal.redefinition.RedefInternalUtil
      extended by com.ibm.xtools.uml.msl.internal.redefinition.RedefUtil
          extended by com.ibm.xtools.uml.msl.internal.redefinition.RedefVertexUtil

public class RedefVertexUtil
extends RedefUtil


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.xtools.uml.msl.internal.redefinition.RedefUtil
RedefUtil.ElementWithRedefinitionContext, RedefUtil.IRedefintionContextAccessor
 
Nested classes/interfaces inherited from class com.ibm.xtools.uml.msl.internal.redefinition.RedefInternalUtil
RedefInternalUtil.ContainmentTester
 
Field Summary
 
Fields inherited from class com.ibm.xtools.uml.msl.internal.redefinition.RedefUtil
CONTEXT_HINT, EDIT_REQUEST_PARAM_SUPRESS_UI, redefUtilInstance, REFACTORING_ROOT_FRAGMENT_REMOVAL
 
Fields inherited from class com.ibm.xtools.uml.msl.internal.redefinition.RedefInternalUtil
defaultContainmentTester, EMPTY_BEHAVIOR_BODY, uml2
 
Constructor Summary
RedefVertexUtil()
           
 
Method Summary
static List getAllIncomings(Vertex v, EObject contextHint)
           
static List getAllInternalTransitions(Vertex v, EObject contextHint)
          Utility method to get the set of Inherited + Local - Redefined internal transitions
static List getAllOutgoings(Vertex v, EObject contextHint)
           
protected static List getAllTransitions(Vertex v, EObject contextHint, EReference ref)
           
static List getLocalIncomings(Vertex vertex)
          Use it instead of calling vertex.getIncomings() directly
static List getLocalOutgoings(Vertex vertex)
          Use it instead of calling vertex.getOutgoings() directly
 
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
 

Constructor Detail

RedefVertexUtil

public RedefVertexUtil()
Method Detail

getLocalOutgoings

public static List getLocalOutgoings(Vertex vertex)
Use it instead of calling vertex.getOutgoings() directly

Parameters:
vertex -
Returns:

getAllOutgoings

public static List getAllOutgoings(Vertex v,
                                   EObject contextHint)

getLocalIncomings

public static List getLocalIncomings(Vertex vertex)
Use it instead of calling vertex.getIncomings() directly

Parameters:
vertex -
Returns:

getAllIncomings

public static List getAllIncomings(Vertex v,
                                   EObject contextHint)

getAllTransitions

protected static List getAllTransitions(Vertex v,
                                        EObject contextHint,
                                        EReference ref)

getAllInternalTransitions

public static List getAllInternalTransitions(Vertex v,
                                             EObject contextHint)
Utility method to get the set of Inherited + Local - Redefined internal transitions

Parameters:
v - the state
Returns:
list with regions (never null)

UML Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.