public abstract class A_CmsFrameEditor extends java.lang.Object implements I_CmsEditor, com.vaadin.navigator.ViewChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected CmsEditorStateExtension |
m_editorState
The editor state.
|
| Constructor and Description |
|---|
A_CmsFrameEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterViewChange(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event) |
boolean |
beforeViewChange(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event) |
protected abstract java.lang.String |
getEditorUri()
Returns the editor URI.
|
void |
initUI(I_CmsAppUIContext context,
CmsResource resource,
java.lang.String backLink,
java.util.Map<java.lang.String,java.lang.String> params)
Within this method the editor UI should be initialized.
|
boolean |
matchesResource(CmsResource resource,
boolean plainText)
Checks whether the editor is available for the given resource.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, matchesType, newInstanceprotected CmsEditorStateExtension m_editorState
public A_CmsFrameEditor()
public void afterViewChange(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event)
afterViewChange in interface com.vaadin.navigator.ViewChangeListenerViewChangeListener.afterViewChange(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent)public boolean beforeViewChange(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event)
beforeViewChange in interface com.vaadin.navigator.ViewChangeListenerViewChangeListener.beforeViewChange(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent)public void initUI(I_CmsAppUIContext context, CmsResource resource, java.lang.String backLink, java.util.Map<java.lang.String,java.lang.String> params)
I_CmsEditorUse the context to add the app's components to the UI.
initUI in interface I_CmsEditorcontext - the UI contextresource - the resource to editbackLink - the link to return to when closing the editorparams - optional parametersI_CmsEditor.initUI(org.opencms.ui.apps.I_CmsAppUIContext, org.opencms.file.CmsResource, java.lang.String, java.util.Map)public boolean matchesResource(CmsResource resource, boolean plainText)
I_CmsEditormatchesResource in interface I_CmsEditorresource - the resource to editplainText - if plain text editing is requiredtrue if the editor is available for the given resourceI_CmsEditor.matchesResource(org.opencms.file.CmsResource, boolean)protected abstract java.lang.String getEditorUri()