org.nuxeo.ecm.platform.forms.layout.api
Class BuiltinWidgetModes
java.lang.Object
org.nuxeo.ecm.platform.forms.layout.api.BuiltinWidgetModes
public class BuiltinWidgetModes
- extends Object
List of built in widget modes.
- Author:
- Anahide Tchertchian
VIEW
public static final String VIEW
- See Also:
- Constant Field Values
EDIT
public static final String EDIT
- See Also:
- Constant Field Values
PLAIN
public static final String PLAIN
- Since:
- 5.4.2
- See Also:
- Constant Field Values
CSV
public static final String CSV
- Since:
- 5.4.2
- See Also:
- Constant Field Values
PDF
public static final String PDF
- Since:
- 5.4.2
- See Also:
- Constant Field Values
HIDDEN
public static final String HIDDEN
- See Also:
- Constant Field Values
isModeSupported
public static final boolean isModeSupported(String widgetMode,
List<String> supportedModes)
isLikePlainMode
public static final boolean isLikePlainMode(String widgetMode)
- Returns true if given mode is one of
PLAIN
, or CSV
.
- Since:
- 5.4.2
isLikeViewMode
public static final boolean isLikeViewMode(String widgetMode)
- Returns true if given mode is not null and is not one of
EDIT
,
PLAIN
, CSV
, PDF
or HIDDEN
mode.
- Parameters:
widgetMode
-
- Returns:
- Since:
- 5.4.2
Copyright © 2011 Nuxeo SAS. All Rights Reserved.