de.grogra.pf.ui.edit
Interface Selectable

All Known Implementing Classes:
CanvasAdapter, GL20Display, 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 Summary
 Selection toSelection(Context ctx)
          Converts this object into a Selection.
 

Method Detail

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