org.eclipse.gmt.umlx.editor.facets
Class VarNameFacet

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.facets.AbstractFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>
      extended by org.eclipse.gmt.umlx.editor.facets.VarNameFacet
All Implemented Interfaces:
IFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>

public class VarNameFacet
extends AbstractFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>


Method Summary
<T> void
change(FacetIterator<T> facetIterator, FacetIterator<? extends org.eclipse.emf.ocl.expressions.VariableDeclaration> modelIterator)
           
static VarNameFacet getInstance(java.lang.Class<? extends org.eclipse.emf.ecore.ENamedElement> modelClass)
           
 void prepare(ModelState<? extends org.eclipse.emf.ocl.expressions.VariableDeclaration> modelState, org.eclipse.emf.ocl.expressions.VariableDeclaration newModel)
           
 void requestModifications(ModelState<? extends org.eclipse.emf.ocl.expressions.VariableDeclaration> modelState, IAbstractCommand rootCommand)
           
<P> void
setNewName(IModelState modelState, java.lang.String newName)
           
 void setOldModel(ModelState<? extends org.eclipse.emf.ocl.expressions.VariableDeclaration> modelState, org.eclipse.emf.ocl.expressions.VariableDeclaration 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 VarNameFacet getInstance(java.lang.Class<? extends org.eclipse.emf.ecore.ENamedElement> modelClass)

change

public <T> void change(FacetIterator<T> facetIterator,
                       FacetIterator<? extends org.eclipse.emf.ocl.expressions.VariableDeclaration> modelIterator)
Specified by:
change in interface IFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>
Specified by:
change in class AbstractFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>

prepare

public void prepare(ModelState<? extends org.eclipse.emf.ocl.expressions.VariableDeclaration> modelState,
                    org.eclipse.emf.ocl.expressions.VariableDeclaration newModel)
Specified by:
prepare in interface IFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>
Specified by:
prepare in class AbstractFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>

requestModifications

public void requestModifications(ModelState<? extends org.eclipse.emf.ocl.expressions.VariableDeclaration> modelState,
                                 IAbstractCommand rootCommand)
Specified by:
requestModifications in interface IFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>
Specified by:
requestModifications in class AbstractFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>

setNewName

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

setOldModel

public void setOldModel(ModelState<? extends org.eclipse.emf.ocl.expressions.VariableDeclaration> modelState,
                        org.eclipse.emf.ocl.expressions.VariableDeclaration oldModel)
Specified by:
setOldModel in interface IFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>
Specified by:
setOldModel in class AbstractFacet<org.eclipse.emf.ocl.expressions.VariableDeclaration>