Module platform

Interface Selectable

All Known Subinterfaces:
IntegratableWrappedGraphObj, InterpretableWrappedGraphObj, ProducableWrappedGraphObj, TWGraph, WrappedGraphObj
All Known Implementing Classes:
AWTCanvas2D, CanvasAdapter, GLDisplay, GLDisplay, GLSLDisplay, GraphObject, LSystem, NonEsoSecGraph, NonEsoThreadedSecGraph, NonEsoWrappedGraph, RewritableWrappedGraph, RGG, SecGraph, SharedWrappedGraph, ThreadedSecGraph, 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