Package org.opencms.ui.editors
Class CmsXmlPageEditor
java.lang.Object
org.opencms.ui.editors.A_CmsFrameEditor
org.opencms.ui.editors.CmsXmlPageEditor
- All Implemented Interfaces:
com.vaadin.navigator.ViewChangeListener
,Serializable
,I_CmsEditor
The acacia XML content editor.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.navigator.ViewChangeListener
com.vaadin.navigator.ViewChangeListener.ViewChangeEvent
-
Field Summary
Fields inherited from class org.opencms.ui.editors.A_CmsFrameEditor
m_editorState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the editor URI.int
Gets the priority.boolean
matchesType
(I_CmsResourceType type, boolean plainText) Checks whether the editor is available for the given resource type.Returns a new editor instance.Methods inherited from class org.opencms.ui.editors.A_CmsFrameEditor
afterViewChange, beforeViewChange, initUI, matchesResource
-
Constructor Details
-
CmsXmlPageEditor
public CmsXmlPageEditor()
-
-
Method Details
-
getPriority
Description copied from interface:I_CmsEditor
Gets the priority.If multiple editors for the same resource type are available, the one with the highest priority will be picked.
- Returns:
- the priority
- See Also:
-
matchesType
Description copied from interface:I_CmsEditor
Checks whether the editor is available for the given resource type.- Parameters:
type
- the resource type to editplainText
- if plain text editing is required- Returns:
true
if the editor is available for the given resource- See Also:
-
newInstance
Description copied from interface:I_CmsEditor
Returns a new editor instance.- Returns:
- the editor instance
- See Also:
-
getEditorUri
Description copied from class:A_CmsFrameEditor
Returns the editor URI.- Specified by:
getEditorUri
in classA_CmsFrameEditor
- Returns:
- the editor URI
- See Also:
-