|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.forms.layout.api.BuiltinModes
public class BuiltinModes
List of built-in modes.
Field Summary | |
---|---|
static String |
ANY
|
static String |
BULK_EDIT
|
static String |
CREATE
|
static String |
CSV
|
static String |
EDIT
|
static String |
LISTING
Deprecated. |
static String |
PDF
|
static String |
PLAIN
|
static String |
SEARCH
|
static String |
SUMMARY
|
static String |
VIEW
|
Method Summary | |
---|---|
static String |
getWidgetModeFromLayoutMode(String layoutMode)
Returns the default mode to use for a widget, given the layout mode. |
static boolean |
isBoundToEditMode(String layoutMode)
Returns true if given layout mode is mapped by default to the edit widget mode. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ANY
public static final String VIEW
public static final String EDIT
public static final String BULK_EDIT
public static final String CREATE
public static final String SEARCH
@Deprecated public static final String LISTING
public static final String SUMMARY
public static final String CSV
public static final String PDF
public static final String PLAIN
Method Detail |
---|
public static boolean isBoundToEditMode(String layoutMode)
public static String getWidgetModeFromLayoutMode(String layoutMode)
Returns BuiltinWidgetModes.EDIT
for all modes bound to edit,
BuiltinWidgetModes.VIEW
for modes VIEW
,
HEADER
and SUMMARY
. PDF
and CSV
are
respectively bound to BuiltinWidgetModes.PDF
and
BuiltinWidgetModes.CSV
. In other cases, returns
BuiltinWidgetModes.PLAIN
.
This method is not called when mode is explicitely set on the widget.
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |