Package de.xima.fc.gui.model.form_theme
Class BaseFormThemeSelectionModel
- java.lang.Object
-
- de.xima.fc.gui.model.form_theme.BaseFormThemeSelectionModel
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FormThemeEditModeSimpleSelectionModel
public abstract class BaseFormThemeSelectionModel extends Object implements Serializable
Base class for the model with additional data for the selected client form theme, such as the available parent form themes. The UI offers to edit modes (simple and advanced), each with a different selection model.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseFormThemeSelectionModel(IEntityContext ec, Mandant client, Locale locale, ClientFormTheme clientFormTheme)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<javax.faces.model.SelectItem>
getParentThemeOptions()
Gets a list of options representing the parent themes that can be selected for the current theme.
-
-
-
Constructor Detail
-
BaseFormThemeSelectionModel
protected BaseFormThemeSelectionModel(IEntityContext ec, Mandant client, Locale locale, ClientFormTheme clientFormTheme)
-
-
Method Detail
-
getParentThemeOptions
public final List<javax.faces.model.SelectItem> getParentThemeOptions()
Gets a list of options representing the parent themes that can be selected for the current theme. Includes all system themes, client form theme and plugin themes, but excludes the current theme and themes that would result in a cyclic reference when selected as the parent.- Returns:
- The list of options for the parent theme select box.
-
-