Interface IPictogramElementDelegate

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IFeatureProviderHolder, IVisualStateHolder
All Known Subinterfaces:
IAnchorContainerDelegate
All Known Implementing Classes:
AnchorContainerDelegate, PictogramElementDelegate

public interface IPictogramElementDelegate extends org.eclipse.core.runtime.IAdaptable, IFeatureProviderHolder, IVisualStateHolder
The Interface IPictogramElementDelegate.
  • Method Details

    • createFigure

      org.eclipse.draw2d.IFigure createFigure()
      Creates the figure.
      Returns:
      the i figure
    • refreshFigureForEditPart

      void refreshFigureForEditPart()
      Refresh figure for edit part.
    • getConfigurationProvider

      IConfigurationProviderInternal getConfigurationProvider()
      Gets the configuration provider.
      Returns:
      the configuration provider
    • getPictogramElement

      PictogramElement getPictogramElement()
      Gets the pictogram element.
      Returns:
      the pictogram element
    • activate

      void activate()
      Activate.
    • deactivate

      void deactivate()
      Deactivate.
    • getFigureForGraphicsAlgorithm

      org.eclipse.draw2d.IFigure getFigureForGraphicsAlgorithm(GraphicsAlgorithm graphicsAlgorithm)
      Gets the figure for graphics algorithm.
      Parameters:
      graphicsAlgorithm - the graphics algorithm
      Returns:
      the figure for graphics algorithm
    • refreshEditPartsForModelChildrenAndSourceConnections

      void refreshEditPartsForModelChildrenAndSourceConnections(org.eclipse.gef.EditPart ep)
      Refresh edit parts for model children and source connections.
      Parameters:
      ep - the ep
    • setForceRefresh

      void setForceRefresh(boolean forceRefresh)
      If set to true, the visual refresh (synchronization of figures and graphics algorithm) will be done even it is not necessary.
      Parameters:
      forceRefresh -
    • isValid

      boolean isValid()
      Returns:
      true, if edit part (and it's delegate) are still valid (alive)
    • getMainFiguresFromChildEditparts

      List<org.eclipse.draw2d.IFigure> getMainFiguresFromChildEditparts()
    • refreshDecorators

      void refreshDecorators()