// ==============================================================================================================================
public SimulationContextFacade(final SimulationContext represented,
- final List<ProjectSettingsService.Step> allSteps) {
+ final List<ProjectSettingsService.Step> allSteps,
+ final ApplicationSettings app) {
_my = represented;
- _popup = ApplicationSettings.getPopupMenu("scontext");
+ _popup = app.getPopupMenu("scontext");
SimulationContextType type = _my.getType();
for (Iterator<ProjectSettingsService.Step> i = allSteps.iterator(); i
_state = _my.getProgressState(); // inCHECK or APPROVED
_name = type.getName();
if (type.isApproved()) {
- _name = ResourceBundle.getBundle("som",
- ApplicationSettings.getCurrentLocale()).getString(
- "type.context." + _name);
+ _name = ResourceBundle.getBundle("som", app.getCurrentLocale())
+ .getString("type.context." + _name);
} else {
_state = ProgressState.inDRAFT;
}