Interface OverlaySupport


public interface OverlaySupport
Interface for data viewers that support MM Inspector overlays without implementing the full DisplayWindow.

Implement this interface to allow the Overlays Inspector panel to attach to a custom viewer (e.g. TiledDataViewerDataViewer).

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add an overlay to this viewer.
    Return the list of overlays currently attached to this viewer.
    void
    Remove an overlay from this viewer.
  • Method Details

    • addOverlay

      void addOverlay(Overlay overlay)
      Add an overlay to this viewer.
      Parameters:
      overlay - the overlay to add
    • removeOverlay

      void removeOverlay(Overlay overlay)
      Remove an overlay from this viewer.
      Parameters:
      overlay - the overlay to remove
    • getOverlays

      List<Overlay> getOverlays()
      Return the list of overlays currently attached to this viewer.
      Returns:
      unmodifiable list of overlays