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 void
ancestorAdded(org.eclipse.draw2d.IFigure ancestor)
void
ancestorMoved(org.eclipse.draw2d.IFigure ancestor)
void
ancestorRemoved(org.eclipse.draw2d.IFigure ancestor)
void
figureMoved(org.eclipse.draw2d.IFigure source)
void
notifyEditPart()
Notify the edit part thatvoid
propertyChange(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:
figureMoved
in interfaceorg.eclipse.draw2d.FigureListener
- See Also:
FigureListener.figureMoved(org.eclipse.draw2d.IFigure)
-
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacePropertyChangeListener
- See Also:
java.beans.PropertyChangeListener#propertyChange(org.eclipse.draw2d.IFigure)
-
ancestorAdded
public void ancestorAdded(org.eclipse.draw2d.IFigure ancestor)
- Specified by:
ancestorAdded
in interfaceorg.eclipse.draw2d.AncestorListener
- See Also:
AncestorListener.ancestorAdded(org.eclipse.draw2d.IFigure)
-
ancestorMoved
public void ancestorMoved(org.eclipse.draw2d.IFigure ancestor)
- Specified by:
ancestorMoved
in interfaceorg.eclipse.draw2d.AncestorListener
- See Also:
AncestorListener.ancestorMoved(org.eclipse.draw2d.IFigure)
-
ancestorRemoved
public void ancestorRemoved(org.eclipse.draw2d.IFigure ancestor)
- Specified by:
ancestorRemoved
in interfaceorg.eclipse.draw2d.AncestorListener
- See Also:
AncestorListener.ancestorRemoved(org.eclipse.draw2d.IFigure)
-
-