use of limelight.model.Production in project limelight by slagyr.
the class Devtool method refresh.
public void refresh(Event e) {
PanelEvent event = (PanelEvent) e;
final Production production = event.getRecipient().getRoot().getProduction();
final List<Stage> stages = production.getTheater().getStages();
for (Stage stage : stages) {
production.openScene(stage.getScene().getResourceLoader().getRoot(), stage, new Opts());
}
// (let [scene (.getRoot (.getRecipient e))
// stage (.getStage scene)
// production (.getProduction scene)
// stages (.getStages (.getTheater production))]
// (println stages)
// (doall (map
// (fn [stage]
// (println "stage: " stage)
// (.openScene production (.getName (.getScene stage)) stage (limelight.util.Opts. {})))
// stages))
}
Aggregations