private String subject;
private ScenarioService _scenarioService;
private ProjectElementService _projectElementService;
+
+ /**
+ * Value of the menu property.
+ * It can be: none, create, open, study, knowledge, sysadmin, help.
+ */
+ private String _menuProperty;
/**
* Serial version ID.
myscenario = (Scenario) step.getOwner(); // The selected step belong to a scenario
lasdate = datstring.format(myscenario.getLastModificationDate());
subject = label.getString("label.study") + " " + mystudy.getTitle();
+
+ setMenuProperty("study");
+ initializationScreenContext(_menuProperty);
return SUCCESS;
}
mystudy.getMenu().refreshGivenStepItem(
getProjectElementService().getFirstStep(myscenario)); // For updating the scenario icon
+
+ setMenuProperty("study");
+ initializationScreenContext(_menuProperty);
+
return SUCCESS;
}
ProjectElementService projectElementService) {
_projectElementService = projectElementService;
}
+
+ /**
+ * Get the menuProperty.
+ * @return the menuProperty
+ */
+ public String getMenuProperty() {
+ return _menuProperty;
+ }
+
+ /**
+ * Set the menuProperty.
+ * @param menuProperty the menuProperty to set
+ */
+ public void setMenuProperty(String menuProperty) {
+ this._menuProperty = menuProperty;
+ }
}
\ No newline at end of file