/** * Extended to remove a listener. * * @see org.eclipse.draw2d.IFigure#removeNotify() */ public void removeNotify() { getConnection().removePropertyChangeListener(Connection.PROPERTY_POINTS, this); super.removeNotify(); }
/** * Adds this as a {@link org.eclipse.draw2d.FigureListener} to the owner's {@link * org.eclipse.draw2d.Figure}. */ public void addNotify() { super.addNotify(); getConnection().addPropertyChangeListener(Connection.PROPERTY_POINTS, this); }