use of limelight.model.Stage 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;
}
use of limelight.model.Stage in project limelight by slagyr.
the class Utilities method canProceedWithIncompatibleVersion.
public Object canProceedWithIncompatibleVersion(String productionName, String requiredVersion) {
incompatibleVersionResponse = null;
incompatibleVersionProductionName = productionName;
incompatibleVersionRequiredVersion = requiredVersion;
Stage incompatibleVersionStage = establishStage("Incompatible Version", dialogStageOptions);
production.openScene("incompatibleVersion", incompatibleVersionStage.getName(), Util.toMap());
waitForResponse(incompatibleVersionMonitor);
incompatibleVersionStage.close();
return incompatibleVersionResponse;
}
Aggregations