Package org.opencms.ui.editors
Class CmsAcaciaEditor
java.lang.Object
org.opencms.ui.editors.A_CmsFrameEditor
org.opencms.ui.editors.CmsAcaciaEditor
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the editor URI.intGets the priority.booleanmatchesResource(CmsObject cms, CmsResource resource, boolean plainText) Checks whether the editor is available for the given resource.booleanmatchesType(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
-
Constructor Details
-
CmsAcaciaEditor
public CmsAcaciaEditor()
-
-
Method Details
-
getPriority
Description copied from interface:I_CmsEditorGets 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:
-
matchesResource
Description copied from interface:I_CmsEditorChecks whether the editor is available for the given resource.- Specified by:
matchesResourcein interfaceI_CmsEditor- Overrides:
matchesResourcein classA_CmsFrameEditor- Parameters:
cms- the CMS contextresource- the resource to editplainText- if plain text editing is required- Returns:
trueif the editor is available for the given resource- See Also:
-
matchesType
Description copied from interface:I_CmsEditorChecks whether the editor is available for the given resource type.- Parameters:
type- the resource type to editplainText- if plain text editing is required- Returns:
trueif the editor is available for the given resource- See Also:
-
newInstance
Description copied from interface:I_CmsEditorReturns a new editor instance.- Returns:
- the editor instance
- See Also:
-
getEditorUri
Description copied from class:A_CmsFrameEditorReturns the editor URI.- Specified by:
getEditorUriin classA_CmsFrameEditor- Returns:
- the editor URI
- See Also:
-