Class RotatableEditPartListener
- java.lang.Object
-
- org.palladiosimulator.editors.sirius.custom.style.rotatable.figure.listener.RotatableEditPartListener
-
- All Implemented Interfaces:
PropertyChangeListener,EventListener,org.eclipse.draw2d.AncestorListener,org.eclipse.draw2d.FigureListener
public class RotatableEditPartListener extends Object implements org.eclipse.draw2d.FigureListener, PropertyChangeListener, org.eclipse.draw2d.AncestorListener
Listener on rotatable image : refresh the image if figure moves or changes.
-
-
Constructor Summary
Constructors Constructor Description RotatableEditPartListener(AbstractRotatableImageEditPart editpart)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidancestorAdded(org.eclipse.draw2d.IFigure ancestor)voidancestorMoved(org.eclipse.draw2d.IFigure ancestor)voidancestorRemoved(org.eclipse.draw2d.IFigure ancestor)voidfigureMoved(org.eclipse.draw2d.IFigure source)voidnotifyEditPart()Notify the edit part thatvoidpropertyChange(PropertyChangeEvent evt)
-
-
-
Constructor Detail
-
RotatableEditPartListener
public RotatableEditPartListener(AbstractRotatableImageEditPart editpart)
Constructor- Parameters:
editPart- RotatableImageEditPart
-
-
Method Detail
-
notifyEditPart
public void notifyEditPart()
Notify the edit part that
-
figureMoved
public void figureMoved(org.eclipse.draw2d.IFigure source)
- Specified by:
figureMovedin interfaceorg.eclipse.draw2d.FigureListener- See Also:
FigureListener.figureMoved(org.eclipse.draw2d.IFigure)
-
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacePropertyChangeListener- See Also:
java.beans.PropertyChangeListener#propertyChange(org.eclipse.draw2d.IFigure)
-
ancestorAdded
public void ancestorAdded(org.eclipse.draw2d.IFigure ancestor)
- Specified by:
ancestorAddedin interfaceorg.eclipse.draw2d.AncestorListener- See Also:
AncestorListener.ancestorAdded(org.eclipse.draw2d.IFigure)
-
ancestorMoved
public void ancestorMoved(org.eclipse.draw2d.IFigure ancestor)
- Specified by:
ancestorMovedin interfaceorg.eclipse.draw2d.AncestorListener- See Also:
AncestorListener.ancestorMoved(org.eclipse.draw2d.IFigure)
-
ancestorRemoved
public void ancestorRemoved(org.eclipse.draw2d.IFigure ancestor)
- Specified by:
ancestorRemovedin interfaceorg.eclipse.draw2d.AncestorListener- See Also:
AncestorListener.ancestorRemoved(org.eclipse.draw2d.IFigure)
-
-