org.eclipse.gmt.umlx.editor.facets
Class TextFacet
java.lang.Object
org.eclipse.gmt.umlx.editor.facets.AbstractFacet<GStickyNote>
org.eclipse.gmt.umlx.editor.facets.TextFacet
- All Implemented Interfaces:
- IFacet<GStickyNote>
public class TextFacet
- extends AbstractFacet<GStickyNote>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static TextFacet getInstance(java.lang.Class<? extends GStickyNote> modelClass)
change
public <T> void change(FacetIterator<T> facetIterator,
FacetIterator<? extends GStickyNote> modelIterator)
- Specified by:
change
in interface IFacet<GStickyNote>
- Specified by:
change
in class AbstractFacet<GStickyNote>
prepare
public void prepare(ModelState<? extends GStickyNote> modelState,
GStickyNote newModel)
- Specified by:
prepare
in interface IFacet<GStickyNote>
- Specified by:
prepare
in class AbstractFacet<GStickyNote>
requestModifications
public void requestModifications(ModelState<? extends GStickyNote> modelState,
IAbstractCommand rootCommand)
- Specified by:
requestModifications
in interface IFacet<GStickyNote>
- Specified by:
requestModifications
in class AbstractFacet<GStickyNote>
setNewText
public <P> void setNewText(IModelState modelState,
java.lang.String newText)
setOldModel
public void setOldModel(ModelState<? extends GStickyNote> modelState,
GStickyNote oldModel)
- Specified by:
setOldModel
in interface IFacet<GStickyNote>
- Specified by:
setOldModel
in class AbstractFacet<GStickyNote>