Class ImageEditPart

java.lang.Object
org.eclipse.gef.editparts.AbstractEditPart
org.eclipse.gef.editparts.AbstractGraphicalEditPart
All Implemented Interfaces:
IAdaptable, org.eclipse.gef.EditPart, org.eclipse.gef.GraphicalEditPart, org.eclipse.gef.NodeEditPart, org.eclipse.gef.RequestConstants

public final class ImageEditPart extends AbstractWidgetEditPart
EditPart controller for the image widget.
  • Constructor Details

    • ImageEditPart

      public ImageEditPart()
  • Method Details

    • getWidgetModel

      public ImageModel getWidgetModel()
      Overrides:
      getWidgetModel in class AbstractBaseEditPart
    • doCreateFigure

      protected org.eclipse.draw2d.IFigure doCreateFigure()
      Description copied from class: AbstractBaseEditPart
      Create and initialize the widget figure with the property values in model.
      Specified by:
      doCreateFigure in class AbstractBaseEditPart
      Returns:
      the widget figure
    • registerCropPropertyHandlers

      protected void registerCropPropertyHandlers()
      Register change handlers for the four crop properties.
    • registerPropertyChangeHandlers

      protected void registerPropertyChangeHandlers()
      Description copied from class: AbstractBaseEditPart
      Register the property change handlers. Subclass should register its property change handlers in this method.
      Specified by:
      registerPropertyChangeHandlers in class AbstractBaseEditPart
    • deactivate

      public void deactivate()
      Specified by:
      deactivate in interface org.eclipse.gef.EditPart
      Overrides:
      deactivate in class AbstractBaseEditPart
    • registerImageRotationPropertyHandlers

      public void registerImageRotationPropertyHandlers()
      Registers image rotation property change handlers for the properties defined in MonitorBoolSymbolModel