Search in sources :

Example 6 with Stage

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;
}
Also used : Theater(limelight.model.Theater) HashMap(java.util.HashMap) Stage(limelight.model.Stage)

Example 7 with 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;
}
Also used : Stage(limelight.model.Stage)

Aggregations

Stage (limelight.model.Stage)7 FramedStage (limelight.ui.model.FramedStage)3 Test (org.junit.Test)2 HashMap (java.util.HashMap)1 Production (limelight.model.Production)1 Theater (limelight.model.Theater)1 PanelEvent (limelight.ui.events.panel.PanelEvent)1 Opts (limelight.util.Opts)1