public class DemoWidgetTypeImpl extends Object implements DemoWidgetType
Modifier and Type | Field and Description |
---|---|
protected String |
category |
protected Map<String,Serializable> |
defaultProperties |
protected List<DemoLayout> |
demoLayouts |
protected List<String> |
fields |
protected String |
label |
protected String |
name |
protected boolean |
previewEnabled |
protected boolean |
previewHideEditMode |
protected boolean |
previewHideViewMode |
protected String |
viewId |
protected String |
widgetTypeCategory |
Constructor and Description |
---|
DemoWidgetTypeImpl(String name,
String label,
String viewId,
String category,
String widgetTypeCategory,
boolean previewEnabled,
boolean previewHideViewMode,
boolean previewHideEditMode,
List<String> fields,
Map<String,Serializable> defaultProperties,
List<DemoLayout> demoLayouts) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getCategory() |
Map<String,Serializable> |
getDefaultProperties() |
List<DemoLayout> |
getDemoLayouts() |
List<String> |
getFields() |
String |
getLabel() |
String |
getName() |
String |
getUrl() |
String |
getViewId() |
String |
getWidgetTypeCategory() |
boolean |
isPreviewEnabled() |
boolean |
isPreviewHideEditMode() |
boolean |
isPreviewHideViewMode() |
String |
toString() |
protected String widgetTypeCategory
protected boolean previewEnabled
protected boolean previewHideViewMode
protected boolean previewHideEditMode
protected Map<String,Serializable> defaultProperties
protected List<DemoLayout> demoLayouts
public DemoWidgetTypeImpl(String name, String label, String viewId, String category, String widgetTypeCategory, boolean previewEnabled, boolean previewHideViewMode, boolean previewHideEditMode, List<String> fields, Map<String,Serializable> defaultProperties, List<DemoLayout> demoLayouts)
public String getName()
getName
in interface DemoWidgetType
public String getLabel()
getLabel
in interface DemoWidgetType
public String getViewId()
getViewId
in interface DemoWidgetType
public String getUrl()
getUrl
in interface DemoWidgetType
public String getCategory()
getCategory
in interface DemoWidgetType
public String getWidgetTypeCategory()
getWidgetTypeCategory
in interface DemoWidgetType
public boolean isPreviewEnabled()
isPreviewEnabled
in interface DemoWidgetType
public boolean isPreviewHideViewMode()
isPreviewHideViewMode
in interface DemoWidgetType
public boolean isPreviewHideEditMode()
isPreviewHideEditMode
in interface DemoWidgetType
public List<String> getFields()
getFields
in interface DemoWidgetType
public List<DemoLayout> getDemoLayouts()
getDemoLayouts
in interface DemoWidgetType
public Map<String,Serializable> getDefaultProperties()
getDefaultProperties
in interface DemoWidgetType
Copyright © 2018 Nuxeo. All rights reserved.