use of limelight.model.Theater in project limelight by slagyr.
the class Utilities method establishStage.
private Stage establishStage(String stageName, Map<String, Object> stageOptions) {
final Theater theater = production.getTheater();
Stage stage = theater.get(stageName);
if (stage == null) {
stage = theater.getProxy().buildStage(stageName, new HashMap<String, Object>(stageOptions));
theater.add(stage);
}
return stage;
}