Oxygen XML Editor 14.2 Author API

ro.sync.exml.workspace.api.editor.page.author
Interface WSAuthorComponentEditorPage

All Superinterfaces:
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

*********************************
EXPERIMENTAL - Subject to change
********************************

Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.


Method Summary
 java.util.List<javax.swing.JToolBar> 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.
 javax.swing.JToolBar createReviewToolbar()
          Retrieve the toolbar for author review.
 void setBreadCrumbPopUpCustomizer(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.
 void setOutlinerPopUpCustomizer(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.
 void showBreadCrumb(boolean showBreadCrumb)
          Show or hide the Bread Crumb panel in Author component.
 
Methods inherited from interface ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPage
getAuthorAccess, getChangeTrackingController, getDocumentController, getOptionsStorage, getOutlineAccess, getReviewController, getTableAccess
 
Methods inherited from interface ro.sync.exml.workspace.api.editor.page.author.WSAuthorEditorPageBase
addAuthorAttributesDisplayFilter, addAuthorCaretListener, addAuthorMouseListener, addPopUpMenuCustomizer, deleteSelection, editAttribute, getActionsProvider, getAuthorComponent, getAuthorSelectionModel, getBalancedSelectionEnd, getBalancedSelectionStart, getDefaultAuthorSchemaAwareEditingHandler, getFullySelectedNode, getHighlighter, getPersistentHighlighter, getSelectedText, getSelectionEnd, getSelectionStart, getStyles, goToNextEditablePosition, hasSelection, refresh, refresh, removeAuthorAttributesDisplayFilter, removeAuthorCaretListener, removeAuthorMouseListener, removePopUpMenuCustomizer, scrollToRectangle, select, setPopUpMenuCustomizer, viewToModel
 
Methods inherited from interface ro.sync.exml.workspace.api.editor.page.WSTextBasedEditorPage
getCaretOffset, getLocationOnScreenAsPoint, getLocationRelativeToEditorFromScreen, getStartEndOffsets, getWordAtCaret, isEditable, modelToViewRectangle, selectWord, setCaretPosition, setEditable, viewToModelOffset
 

Method Detail

createExtensionActionsToolbars

java.util.List<javax.swing.JToolBar> 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

void setBreadCrumbPopUpCustomizer(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. 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 - true to show the Bread Crumb.

setOutlinerPopUpCustomizer

void setOutlinerPopUpCustomizer(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. If everything is removed then the menu will not be shown.

Parameters:
popUpCustomizer - The pop Up Customizer.

createReviewToolbar

javax.swing.JToolBar createReviewToolbar()
Retrieve the toolbar for author review.

Returns:
The toolbar for author review.

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.