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