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 theWSEditor
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ro.sync.exml.editor.AbstractEditor
createEditor(ro.sync.exml.workspace.impl.component.BaseComponentEditorManager parentEditorManager, java.awt.Frame parentFrame, java.lang.String[] allowedPages, java.lang.String initialPage, java.lang.String contentType)
Create an editor-
Methods 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 Detail
-
createEditor
protected ro.sync.exml.editor.AbstractEditor createEditor(ro.sync.exml.workspace.impl.component.BaseComponentEditorManager parentEditorManager, java.awt.Frame parentFrame, java.lang.String[] allowedPages, java.lang.String initialPage, java.lang.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:
AbstractComponentProvider.createEditor(ro.sync.exml.workspace.impl.component.BaseComponentEditorManager, java.awt.Frame, java.lang.String[], java.lang.String, java.lang.String)
-
-