Module platform

Interface Selectable

All Known Implementing Classes:
AWTCanvas2D, CanvasAdapter, GLDisplay, GLDisplay, GLSLDisplay, LSystem, RGG, ViewComponentAdapter, WireframeCanvas

public interface Selectable
A Selectable is an object which knows how to create a Selection of itself. The selection is then used to create a property editor in the GUI.
Author:
Ole Kniemeyer
  • Method Details

    • toSelection

      Selection toSelection(Context ctx)
      Converts this object into a Selection.
      Parameters:
      ctx - the UI context
      Returns:
      a selection, or null if this is not possible