metsci / glimpse

Dynamic and Interactive Visualization of Big Data In Java and OpenGL
http://glimpse.metsci.com
Other
17 stars 6 forks source link

GlimpsePainter callback when attached to GlimpseLayout #14

Open ulmangt opened 12 years ago

ulmangt commented 12 years ago

Some GlimpsePainters may wish to perform initialization or maintain some state on a per-GlimpseContext basis.

A callback in the GlimpsePainter interface informing the painter when it is attached to a new GlimpseLayout would make such situations simpler to handle.