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 APPOINTMENTSDATA_CONNECTION_DBDATA_CONNECTION_LDAPDATA_COUNTERDATA_QUERIES_DBDATA_QUERIES_LDAPDATA_SOURCESFORMThe form designer that lets the user edit the current form fields and styling of the web form.PROJECT_DATATABLEPROJECT_INBOXPROJECT_RESOURCESLets the user edit the files belonging to the current project.TEMPLATES_CSSTEMPLATES_HTMLWORKFLOWThe 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 EContentViewPARENTThe 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 EContentViewgetById(String id)static EContentViewgetByUri(String uri)EContentViewCategorygetCategory()StringgetDisplayName(Locale locale)StringgetDisplayTitle(Locale locale)StringgetHelpId()IGuiIcongetIcon()StringgetId()StringgetLinkTarget()EViewsgetParent()StringgetURI()booleanisAllowed(ViewBean viewBean)booleanisExternal()booleanisPublic()static EContentViewvalueOf(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:
getDisplayNamein interfaceINamedUiElement- Specified by:
getDisplayNamein 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:
getURIin interfaceIViewModel
-
getLinkTarget
public String getLinkTarget()
- Specified by:
getLinkTargetin interfaceIViewModel
-
getHelpId
public String getHelpId()
- Specified by:
getHelpIdin interfaceIViewModel
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceIViewModel
-
isAllowed
public boolean isAllowed(ViewBean viewBean)
- Specified by:
isAllowedin interfaceIViewModel
-
getIcon
public IGuiIcon getIcon()
- Returns:
- The icon for this view.
-
getId
public String getId()
- Specified by:
getIdin interfaceIViewModel- Returns:
- Tab ID of this designer view.
-
isExternal
public boolean isExternal()
- Specified by:
isExternalin 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
nullwhen no such view exists.
-
getByUri
public static EContentView getByUri(String uri)
-
-