* Injected application settings bean.
*/
private ApplicationSettings _applicationSettings;
+ /**
+ * Value of the menu property. It can be: none, create, open, study, knowledge, sysadmin, help.
+ */
+ private String _menuProperty;
+ /**
+ * Value of the tool bar property. It can be: none, standard, study, back.
+ */
+ private String _toolProperty;
/**
* Comparator for sorting document types with localized names.
public void initializationScreenContext(final String menuProperty) {
initializationContext();
+ setMenuProperty(menuProperty);
getMenuBarSettings().intializeMenuBar(menuProperty);
}
final String titleProperty, final String editDisabledProperty) {
initializationContext(titleProperty, editDisabledProperty);
+ setMenuProperty(menuProperty);
getMenuBarSettings().intializeMenuBar(menuProperty);
}
final String toolProperty) {
initializationContext();
+ setMenuProperty(menuProperty);
getMenuBarSettings().intializeMenuBar(menuProperty);
getToolBarSettings().intializeMenuBar(toolProperty);
}
initializationContext();
initializationContextLeftMenus(leftMenuProperty);
+ setMenuProperty(menuProperty);
getMenuBarSettings().intializeMenuBar(menuProperty);
getToolBarSettings().intializeMenuBar(toolProperty);
}
public void setMessage(final String message) {
_message = message;
}
+
+ /**
+ * Get the menuProperty.
+ *
+ * @return the menuProperty
+ */
+ public String getMenuProperty() {
+ return _menuProperty;
+ }
+
+ /**
+ * Get the toolProperty.
+ *
+ * @return the toolProperty
+ */
+ public String getToolProperty() {
+ return _toolProperty;
+ }
+
+ /**
+ * Set the menuProperty.
+ *
+ * @param menuProperty
+ * the menuProperty to set
+ */
+ public void setMenuProperty(final String menuProperty) {
+ this._menuProperty = menuProperty;
+ }
+
+ /**
+ * Set the toolProperty.
+ *
+ * @param toolProperty
+ * the toolProperty to set
+ */
+ public void setToolProperty(final String toolProperty) {
+ _toolProperty = toolProperty;
+ }
}
\ No newline at end of file