Package de.xima.fc.gui.common.statics
Enum EContentView
- java.lang.Object
-
- java.lang.Enum<EContentView>
-
- de.xima.fc.gui.common.statics.EContentView
-
- All Implemented Interfaces:
IViewModel
,INamedUiElement
,Serializable
,Comparable<EContentView>
public enum EContentView extends Enum<EContentView> implements IViewModel, INamedUiElement
Enumeration describing views to FORMCYCLE content pages. Mainly for use inside IFrames.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPOINTMENTS
DATA_CONNECTION_DB
DATA_CONNECTION_LDAP
DATA_COUNTER
DATA_QUERIES_DB
DATA_QUERIES_LDAP
DATA_SOURCES
FORM
The form designer that lets the user edit the current form fields and styling of the web form.PROJECT_DATATABLE
PROJECT_INBOX
PROJECT_RESOURCES
Lets the user edit the files belonging to the current project.TEMPLATES_CSS
TEMPLATES_HTML
WORKFLOW
The workflow designer that lets the user edit the workflow configuration that determines what happens when the form is submitted.
-
Field Summary
Fields Modifier and Type Field Description static EContentView
PARENT
The content view that represents the parent designer page, i.e.-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EAccessProperty[]
getAccessProperties()
static EContentView
getById(String id)
static EContentView
getByUri(String uri)
EContentViewCategory
getCategory()
String
getDisplayName(Locale locale)
String
getDisplayTitle(Locale locale)
String
getHelpId()
IGuiIcon
getIcon()
String
getId()
String
getLinkTarget()
EViews
getParent()
String
getURI()
boolean
isAllowed(ViewBean viewBean)
boolean
isExternal()
boolean
isPublic()
static EContentView
valueOf(String name)
Returns the enum constant of this type with the specified name.static EContentView[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORM
public static final EContentView FORM
The form designer that lets the user edit the current form fields and styling of the web form.
-
WORKFLOW
public static final EContentView WORKFLOW
The workflow designer that lets the user edit the workflow configuration that determines what happens when the form is submitted.
-
PROJECT_RESOURCES
public static final EContentView PROJECT_RESOURCES
Lets the user edit the files belonging to the current project.
-
PROJECT_INBOX
public static final EContentView PROJECT_INBOX
-
PROJECT_DATATABLE
public static final EContentView PROJECT_DATATABLE
-
APPOINTMENTS
public static final EContentView APPOINTMENTS
-
TEMPLATES_CSS
public static final EContentView TEMPLATES_CSS
-
TEMPLATES_HTML
public static final EContentView TEMPLATES_HTML
-
DATA_QUERIES_DB
public static final EContentView DATA_QUERIES_DB
-
DATA_QUERIES_LDAP
public static final EContentView DATA_QUERIES_LDAP
-
DATA_SOURCES
public static final EContentView DATA_SOURCES
-
DATA_CONNECTION_DB
public static final EContentView DATA_CONNECTION_DB
-
DATA_CONNECTION_LDAP
public static final EContentView DATA_CONNECTION_LDAP
-
DATA_COUNTER
public static final EContentView DATA_COUNTER
-
-
Field Detail
-
PARENT
public static EContentView PARENT
The content view that represents the parent designer page, i.e.null
-
-
Method Detail
-
values
public static EContentView[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EContentView c : EContentView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EContentView valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDisplayName
public String getDisplayName(Locale locale)
- Specified by:
getDisplayName
in interfaceINamedUiElement
- Specified by:
getDisplayName
in interfaceIViewModel
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
getDisplayTitle
public String getDisplayTitle(Locale locale)
- Parameters:
locale
- Locale to use.- Returns:
- The title (tooltip) for this view in the given locale.
-
getCategory
public EContentViewCategory getCategory()
- Parameters:
locale
- Locale to use.- Returns:
- The title (tooltip) for this view in the given locale.
-
getParent
public EViews getParent()
-
getAccessProperties
public EAccessProperty[] getAccessProperties()
-
getURI
public String getURI()
- Specified by:
getURI
in interfaceIViewModel
-
getLinkTarget
public String getLinkTarget()
- Specified by:
getLinkTarget
in interfaceIViewModel
-
getHelpId
public String getHelpId()
- Specified by:
getHelpId
in interfaceIViewModel
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceIViewModel
-
isAllowed
public boolean isAllowed(ViewBean viewBean)
- Specified by:
isAllowed
in interfaceIViewModel
-
getIcon
public IGuiIcon getIcon()
- Returns:
- The icon for this view.
-
getId
public String getId()
- Specified by:
getId
in interfaceIViewModel
- Returns:
- Tab ID of this designer view.
-
isExternal
public boolean isExternal()
- Specified by:
isExternal
in interfaceIViewModel
-
getById
public static EContentView getById(String id)
- Parameters:
id
- An ID as returned bygetId()
.- Returns:
- The corresponding designer view for the given ID, or
null
when no such view exists.
-
getByUri
public static EContentView getByUri(String uri)
-
-