Interface IWidgetPropertyChangeHandler


public interface IWidgetPropertyChangeHandler
The handler to execute corresponding changes when property value changed. For example, refresh the widget figure when color property changed.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handleChange(Object oldValue, Object newValue, org.eclipse.draw2d.IFigure figure)
    Handle the change of an widget property by applying graphical operations to the given figure.
  • Method Details

    • handleChange

      boolean handleChange(Object oldValue, Object newValue, org.eclipse.draw2d.IFigure figure)
      Handle the change of an widget property by applying graphical operations to the given figure.
      Parameters:
      oldValue - The old property value.
      newValue - The new property value.
      figure - The figure to apply graphical operations to.
      Returns:
      Not used. Reserved for future use.