Class GenericEditorComponentProvider
java.lang.Object
ro.sync.ecss.extensions.api.component.InternalComponentProvider
ro.sync.ecss.extensions.api.component.AbstractComponentProvider
ro.sync.ecss.extensions.api.component.GenericEditorComponentProvider
- All Implemented Interfaces:
ComponentProvider
,EditorComponentProvider
,DisplayModeConstants
@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public final class GenericEditorComponentProvider
extends AbstractComponentProvider
A component encapsulating all the editing part.
Developers can create an editor, and access the document through the
WSEditor
API.-
Field Summary
Fields inherited from class ro.sync.ecss.extensions.api.component.AbstractComponentProvider
detectionFinished, logger, messages
Fields inherited from interface ro.sync.exml.workspace.api.editor.page.author.DisplayModeConstants
DISPLAY_MODE_BLOCK_TAGS, DISPLAY_MODE_BLOCK_TAGS_WITHOUT_TEXT, DISPLAY_MODE_FULL_TAGS, DISPLAY_MODE_FULL_TAGS_WITH_ATTRS, DISPLAY_MODE_INLINE_TAGS, DISPLAY_MODE_NO_TAGS, DISPLAY_MODE_PARTIAL_TAGS
Fields inherited from interface ro.sync.ecss.extensions.api.component.EditorComponentProvider
ATTRIBUTES_PANEL_ID, ELEMENTS_PANEL_ID, ENTITIES_PANEL_ID, MODEL_PANEL_ID, OUTLINER_PANEL_ID, REVIEWS_PANEL_ID
-
Method Summary
Modifier and TypeMethodDescriptionprotected ro.sync.exml.editor.AbstractEditor
createEditor
(ro.sync.exml.workspace.impl.component.BaseComponentEditorManager parentEditorManager, Frame parentFrame, String[] allowedPages, String initialPage, String contentType) Create an editorMethods inherited from class ro.sync.ecss.extensions.api.component.AbstractComponentProvider
addAuthorComponentListener, createReader, getAdditionalEditHelper, getEditorComponent, getEditorKey, getStatusComponent, getWSEditorAccess, isModified, load, print, removeAuthorComponentListener, save, setModified, showLocation, showLocation
-
Method Details
-
createEditor
protected ro.sync.exml.editor.AbstractEditor createEditor(ro.sync.exml.workspace.impl.component.BaseComponentEditorManager parentEditorManager, Frame parentFrame, String[] allowedPages, String initialPage, String contentType) throws AuthorComponentException Description copied from class:AbstractComponentProvider
Create an editor- Specified by:
createEditor
in classAbstractComponentProvider
- Parameters:
parentEditorManager
- The view manager.parentFrame
- View's parent frame.allowedPages
- The enumeration of allowed pages.initialPage
- The initial page. Can benull
contentType
- The content type of the editor.- Returns:
- The new created editor.
- Throws:
AuthorComponentException
- See Also:
-