org.eclipse.gmt.umlx.tx.editor.facets
Class InitExpressionFacet
java.lang.Object
org.eclipse.gmt.umlx.editor.facets.AbstractFacet<UAttributeVariable>
org.eclipse.gmt.umlx.tx.editor.facets.InitExpressionFacet
- All Implemented Interfaces:
- IFacet<UAttributeVariable>
public class InitExpressionFacet
- extends AbstractFacet<UAttributeVariable>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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>