Interface WSAuthorComponentEditorPage
- All Superinterfaces:
AuthorTooltipCustomizerProvider,WSAuthorEditorPage,WSAuthorEditorPageBase,WSEditorPage,WSTextBasedEditorPage
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface WSAuthorComponentEditorPage
extends WSAuthorEditorPage
Provides enhanced access (with additional methods) to the author page from an Author Component editor.
- Since:
- 14.2
-
Method Summary
Modifier and TypeMethodDescriptionCreate the toolbar which contains Refresh, Change Element Tags and Profiling Sets switch button.Retrieve the toolbar containing the drop-down button for CSS alternative stylesheets.Create toolbars with all the actions defined at the framework level in exactly the same order in which they have been added to the toolbars from the Document Type Edit dialog.Retrieve the toolbar for author review.voidsetBreadCrumbPopUpCustomizer(PopupMenuCustomizer popUpCustomizer) The Pop-up customizer can be used to add/remove actions from the pop-up menu in the Author bread crumb before showing it.voidsetOutlinerPopUpCustomizer(PopupMenuCustomizer popUpCustomizer) The Pop-up customizer can be used to add/remove actions from the pop-up menu in the Author Outliner view before showing it.voidshowBreadCrumb(boolean showBreadCrumb) Show or hide the Bread Crumb panel in Author component.voidshowRangeRuler(boolean showRangeRuler) Hide or show the vertical stripe located on the right side of the editing area which presents ranges for errors or various other highlights.voidshowValidationStatusBar(boolean showValidationStatus) Hide or show the validation status bar which appears at the bottom of the editing area when placing the caret inside an error highlight.Methods inherited from interface ro.sync.exml.workspace.api.editor.page.author.tooltip.AuthorTooltipCustomizerProvider
addTooltipCustomizer, removeTooltipCustomizerMethods inherited from interface ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPage
addQuickAssistProcessor, getAuthorAccess, getChangeTrackingController, getDocumentController, getOptionsStorage, getOutlineAccess, getReviewController, getTableAccess, removeQuickAssistProcessorMethods inherited from interface ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPageBase
addAuthorAttributesDisplayFilter, addAuthorCaretListener, addAuthorMouseListener, addDNDListener, addPopUpMenuCustomizer, buildURLForReferencedContent, deleteSelection, editAttribute, getActionsProvider, getAuthorComponent, getAuthorFoldManager, getAuthorSelectionModel, getBalancedSelection, getBalancedSelectionEnd, getBalancedSelectionStart, getDefaultAuthorSchemaAwareEditingHandler, getFullySelectedNode, getFullySelectedNode, getHighlighter, getPersistentHighlighter, getPseudoElementStyles, getSelectedText, getSelectionEnd, getSelectionStart, getStyles, getTagsDisplayMode, goToNextEditablePosition, hasSelection, isOffsetInInvisibleBounds, moveOutOfInvisibleBounds, refresh, refresh, removeAuthorAttributesDisplayFilter, removeAuthorCaretListener, removeAuthorMouseListener, removeDNDListener, removePopUpMenuCustomizer, scrollToRectangle, select, setPopUpMenuCustomizer, setTagsDisplayMode, viewToModelMethods inherited from interface ro.sync.exml.workspace.api.editor.page.WSEditorPage
getParentEditor, hasFocus, isEditable, requestFocus, setEditable, setReadOnly, setReadOnlyMethods inherited from interface ro.sync.exml.workspace.api.editor.page.WSTextBasedEditorPage
copy, createAnchor, getCaretOffset, getColumnOfOffset, getLineOfOffset, getLocationOnScreenAsPoint, getLocationRelativeToEditorFromScreen, getOffsetForAnchor, getStartEndOffsets, getWordAtCaret, modelToViewRectangle, scrollCaretToVisible, selectWord, setCaretPosition, viewToModelOffset
-
Method Details
-
createExtensionActionsToolbars
Create toolbars with all the actions defined at the framework level in exactly the same order in which they have been added to the toolbars from the Document Type Edit dialog. The toolbars will look almost identical with the ones which appear when the XML is opened in an Oxygen standalone version.- Returns:
- toolbars with all the actions defined at the framework level.
-
setBreadCrumbPopUpCustomizer
The Pop-up customizer can be used to add/remove actions from the pop-up menu in the Author bread crumb before showing it. If everything is removed then the menu will not be shown.- Parameters:
popUpCustomizer- The pop Up Customizer.
-
showBreadCrumb
void showBreadCrumb(boolean showBreadCrumb) Show or hide the Bread Crumb panel in Author component.- Parameters:
showBreadCrumb-trueto show the Bread Crumb.
-
setOutlinerPopUpCustomizer
The Pop-up customizer can be used to add/remove actions from the pop-up menu in the Author Outliner view before showing it. If everything is removed then the menu will not be shown.- Parameters:
popUpCustomizer- The pop Up Customizer.
-
createReviewToolbar
JToolBar createReviewToolbar()Retrieve the toolbar for author review.- Returns:
- The toolbar for author review.
-
createCSSAlternativesToolbar
JToolBar createCSSAlternativesToolbar()Retrieve the toolbar containing the drop-down button for CSS alternative stylesheets.- Returns:
- The toolbar containing the drop-down button for CSS alternative stylesheets.
- Since:
- 15.2
-
createBasicAuthorToolbar
JToolBar createBasicAuthorToolbar()Create the toolbar which contains Refresh, Change Element Tags and Profiling Sets switch button.- Returns:
- The toolbar which contains Refresh, Change Element Tags and Profiling Sets switch button.
- Since:
- 16.1
-
showRangeRuler
void showRangeRuler(boolean showRangeRuler) Hide or show the vertical stripe located on the right side of the editing area which presents ranges for errors or various other highlights. By default the validation stripe is shown.- Parameters:
showRangeRuler-trueto show the validation stripe,falseto hide it.- Since:
- 23
-
showValidationStatusBar
void showValidationStatusBar(boolean showValidationStatus) Hide or show the validation status bar which appears at the bottom of the editing area when placing the caret inside an error highlight. By default it is shown.- Parameters:
showValidationStatus-trueto show the validation status bar.falseto always hide it.- Since:
- 23
-