public class CMSContentEditorSectionComponent extends AbstractBrowserSectionComponent
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
EMPTY_TEXT |
protected Div |
groupBoxContent |
protected static java.lang.String |
RESIZE_USER_EVENT |
protected Div |
sectionGroupBox |
protected static java.lang.String |
SPLITTER_PARENT_SCLASS |
protected static java.lang.String |
SPLITTER_SCLASS |
protected StatusPanelComponent |
statusPanel |
protected static java.lang.String |
STRUCTURE_EDIT_SECTION |
| Constructor and Description |
|---|
CMSContentEditorSectionComponent(ContentEditorBrowserSectionModel sectionModel) |
| Modifier and Type | Method and Description |
|---|---|
protected Div |
createSectionView() |
protected ContentEditorConfiguration |
getContentEditorConfiguration(ObjectTemplate objectTemplate) |
DefaultContentEditorRenderer |
getEditorRenderer(ContentEditorConfiguration configuration) |
protected java.lang.String |
getParsedVelocityTemplateString(java.lang.String velocityTemplate) |
ContentEditorBrowserSectionModel |
getSectionModel() |
protected UIConfigurationService |
getUIConfigurationService() |
boolean |
initialize()
Initializes this browser component i.e.
|
protected boolean |
isReloadNeeded(ObjectTemplate objectTemplate) |
protected void |
renderEditor(HtmlBasedComponent parent) |
void |
setActiveItem(TypedObject activeItem)
Sets the active item of this browser component to
activeItem. |
boolean |
update()
Updates this browser component i.e.
|
void |
updateActiveItems()
Re-renders the currently active item(s).
|
void |
updateItem(TypedObject item,
java.util.Set<PropertyDescriptor> modifiedProperties)
Re-renders the items specified.
|
void |
updateSelectedItems()
Re-renders the currently selected item(s).
|
getModel, setModelprotected static final java.lang.String STRUCTURE_EDIT_SECTION
protected static final java.lang.String SPLITTER_PARENT_SCLASS
protected static final java.lang.String SPLITTER_SCLASS
protected static final java.lang.String RESIZE_USER_EVENT
protected static final java.lang.String EMPTY_TEXT
protected transient Div sectionGroupBox
protected transient Div groupBoxContent
protected transient StatusPanelComponent statusPanel
public CMSContentEditorSectionComponent(ContentEditorBrowserSectionModel sectionModel)
public ContentEditorBrowserSectionModel getSectionModel()
getSectionModel in interface SectionComponentgetSectionModel in class AbstractBrowserSectionComponentpublic boolean initialize()
CockpitComponenttrue if initialization was successful, false otherwiseprotected Div createSectionView()
public void setActiveItem(TypedObject activeItem)
CockpitComponentactiveItem.activeItem - the new active itemprotected void renderEditor(HtmlBasedComponent parent)
protected boolean isReloadNeeded(ObjectTemplate objectTemplate)
public boolean update()
CockpitComponenttrue if this browser was successfully updated, false otherwiseprotected ContentEditorConfiguration getContentEditorConfiguration(ObjectTemplate objectTemplate)
protected UIConfigurationService getUIConfigurationService()
protected java.lang.String getParsedVelocityTemplateString(java.lang.String velocityTemplate)
public void updateActiveItems()
CockpitComponentpublic void updateItem(TypedObject item, java.util.Set<PropertyDescriptor> modifiedProperties)
CockpitComponentitem - the item to be re-renderedmodifiedProperties - modified propertiespublic void updateSelectedItems()
CockpitComponentpublic DefaultContentEditorRenderer getEditorRenderer(ContentEditorConfiguration configuration)
Copyright © 2018 SAP SE. All Rights Reserved.