Class 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 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 interface org.eclipse.draw2d.FigureListener
        See Also:
        FigureListener.figureMoved(org.eclipse.draw2d.IFigure)
      • ancestorAdded

        public void ancestorAdded​(org.eclipse.draw2d.IFigure ancestor)
        Specified by:
        ancestorAdded in interface org.eclipse.draw2d.AncestorListener
        See Also:
        AncestorListener.ancestorAdded(org.eclipse.draw2d.IFigure)
      • ancestorMoved

        public void ancestorMoved​(org.eclipse.draw2d.IFigure ancestor)
        Specified by:
        ancestorMoved in interface org.eclipse.draw2d.AncestorListener
        See Also:
        AncestorListener.ancestorMoved(org.eclipse.draw2d.IFigure)
      • ancestorRemoved

        public void ancestorRemoved​(org.eclipse.draw2d.IFigure ancestor)
        Specified by:
        ancestorRemoved in interface org.eclipse.draw2d.AncestorListener
        See Also:
        AncestorListener.ancestorRemoved(org.eclipse.draw2d.IFigure)