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

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

public class LocationFacet
extends AbstractFacet<GSheetNode>


Method Summary
<T> void
change(FacetIterator<T> facetIterator, FacetIterator<? extends GSheetNode> modelIterator)
           
static LocationFacet getInstance(java.lang.Class<? extends GSheetNode> modelClass)
           
 void prepare(ModelState<? extends GSheetNode> modelState, GSheetNode newModel)
           
 void requestModifications(ModelState<? extends GSheetNode> modelState, IAbstractCommand rootCommand)
           
 void setNewLocation(IModelState modelState, org.eclipse.draw2d.geometry.Point newLocation)
           
 void setOldModel(ModelState<? extends GSheetNode> modelState, GSheetNode 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 LocationFacet getInstance(java.lang.Class<? extends GSheetNode> modelClass)

change

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

prepare

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

requestModifications

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

setNewLocation

public void setNewLocation(IModelState modelState,
                           org.eclipse.draw2d.geometry.Point newLocation)

setOldModel

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