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

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

public class BendpointsFacet
extends AbstractFacet<GSheetLink>


Method Summary
<T> void
change(FacetIterator<T> facetIterator, FacetIterator<? extends GSheetLink> modelIterator)
           
static BendpointsFacet getInstance(java.lang.Class<? extends GSheetLink> modelClass)
           
 void prepare(ModelState<? extends GSheetLink> modelState, GSheetLink newModel)
           
 void requestModifications(ModelState<? extends GSheetLink> modelState, IAbstractCommand rootCommand)
           
 void setNewBendpoints(IModelState modelState, java.util.List<org.eclipse.draw2d.Bendpoint> newBendpoints)
           
 void setOldModel(ModelState<? extends GSheetLink> modelState, GSheetLink 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 BendpointsFacet getInstance(java.lang.Class<? extends GSheetLink> modelClass)

change

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

prepare

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

requestModifications

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

setNewBendpoints

public void setNewBendpoints(IModelState modelState,
                             java.util.List<org.eclipse.draw2d.Bendpoint> newBendpoints)

setOldModel

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