org.eclipse.gmt.umlx.editor.facets
Class SheetFacet<M extends GSheet>

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

public class SheetFacet<M extends GSheet>
extends AbstractFacet<M>


Method Summary
<T> void
change(FacetIterator<T> facetIterator, FacetIterator<? extends M> modelIterator)
           
static
<T extends GSheet>
SheetFacet<? super T>
getInstance(java.lang.Class<? extends T> modelClass)
           
 void prepare(ModelState<? extends M> modelState, M newModel)
           
 void requestModifications(ModelState<? extends M> modelState, IAbstractCommand rootCommand)
           
 void setNewIndex(IModelState modelState, java.lang.Integer newIndex)
           
 void setOldModel(ModelState<? extends M> modelState, M 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 <T extends GSheet> SheetFacet<? super T> getInstance(java.lang.Class<? extends T> modelClass)

change

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

prepare

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

requestModifications

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

setNewIndex

public void setNewIndex(IModelState modelState,
                        java.lang.Integer newIndex)

setOldModel

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