org.eclipse.gmt.umlx.tx.editor.facets
Class InitExpressionFacet

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.facets.AbstractFacet<UAttributeVariable>
      extended by org.eclipse.gmt.umlx.tx.editor.facets.InitExpressionFacet
All Implemented Interfaces:
IFacet<UAttributeVariable>

public class InitExpressionFacet
extends AbstractFacet<UAttributeVariable>


Method Summary
<T> void
change(FacetIterator<T> facetIterator, FacetIterator<? extends UAttributeVariable> modelIterator)
           
static InitExpressionFacet getInstance(java.lang.Class<? extends UAttributeVariable> modelClass)
           
 void prepare(ModelState<? extends UAttributeVariable> modelState, UAttributeVariable newModel)
           
 void requestModifications(ModelState<? extends UAttributeVariable> modelState, IAbstractCommand rootCommand)
           
<P> void
setNewInitExpression(IModelState modelState, org.eclipse.emf.ocl.expressions.OCLExpression newExpression)
           
<P> void
setNewInitName(IModelState modelState, java.lang.String newName)
           
 void setOldModel(ModelState<? extends UAttributeVariable> modelState, UAttributeVariable oldModel)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.facets.AbstractFacet
objectDifference, objectValueDifference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static InitExpressionFacet getInstance(java.lang.Class<? extends UAttributeVariable> modelClass)

change

public <T> void change(FacetIterator<T> facetIterator,
                       FacetIterator<? extends UAttributeVariable> modelIterator)
Specified by:
change in interface IFacet<UAttributeVariable>
Specified by:
change in class AbstractFacet<UAttributeVariable>

prepare

public void prepare(ModelState<? extends UAttributeVariable> modelState,
                    UAttributeVariable newModel)
Specified by:
prepare in interface IFacet<UAttributeVariable>
Specified by:
prepare in class AbstractFacet<UAttributeVariable>

requestModifications

public void requestModifications(ModelState<? extends UAttributeVariable> modelState,
                                 IAbstractCommand rootCommand)
Specified by:
requestModifications in interface IFacet<UAttributeVariable>
Specified by:
requestModifications in class AbstractFacet<UAttributeVariable>

setNewInitExpression

public <P> void setNewInitExpression(IModelState modelState,
                                     org.eclipse.emf.ocl.expressions.OCLExpression newExpression)

setNewInitName

public <P> void setNewInitName(IModelState modelState,
                               java.lang.String newName)

setOldModel

public void setOldModel(ModelState<? extends UAttributeVariable> modelState,
                        UAttributeVariable oldModel)
Specified by:
setOldModel in interface IFacet<UAttributeVariable>
Specified by:
setOldModel in class AbstractFacet<UAttributeVariable>