@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface StandalonePluginWorkspace extends PluginWorkspace, ReferencesCustomizer, MathFlowConfigurator
WSEditor.getCurrentPage()
method that returns specific editor implementations for Author and Text pages:
WSAuthorEditorPage
that provides access to Author editor page document controller or change tracking
controller
WSTextEditorPage
that offers access to the edited document.
DITA_MAPS_EDITING_AREA, MAIN_EDITING_AREA
Modifier and Type | Method and Description |
---|---|
void |
addMenuBarCustomizer(MenuBarCustomizer menuBarCustomizer)
Adds a customizer which can contribute to or modify existing menu components.
|
void |
addToolbarComponentsCustomizer(ToolbarComponentsCustomizer componentsCustomizer)
Adds a customizer which can contribute to or modify existing toolbars or contribute to the reserved Plugins toolbar.
|
void |
addTopicRefTargetInfoProvider(java.lang.String protocol,
TopicRefTargetInfoProvider targetInfoProvider)
Add a target information provider to the DITA Maps Manager view.
|
void |
addViewComponentCustomizer(ViewComponentCustomizer viewComponentCustomizer)
Adds a customizer which can contribute to or modify existing views or contribute to the reserved custom view.
|
java.lang.String |
getOxygenActionID(javax.swing.Action action)
Get an unique ID (which does not depend on the action name) for an action Oxygen has mounted on the main JMenuBar or on the toolbars.
|
void |
hideToolbar(java.lang.String toolbarID)
Hide a toolbar specified by the toolbar ID.
|
void |
hideView(java.lang.String viewID)
Hide a view specified by the view ID.
|
boolean |
isToolbarShowing(java.lang.String toolbarID)
Check if a toolbar is showing or hidden.
|
boolean |
isViewShowing(java.lang.String viewID)
Check if a view is showing or hidden.
|
void |
showToolbar(java.lang.String toolbarID)
Show a toolbar specified by the toolbar ID.
|
void |
showView(java.lang.String viewID,
boolean requestFocus)
Show a view specified by the view ID.
|
addEditorChangeListener, getAllEditorLocations, getCurrentEditorAccess, getEditorAccess, getOptionsStorage, getUtilAccess, getXMLUtilAccess, removeEditorChangeListener, saveGlobalOptions, setDITAKeyDefinitionManager, setGlobalObjectProperty
close, closeAll, createNewEditor, delete, isStandalone, open, open, open, refreshInProject, saveAll, setParentFrameTitle
chooseDirectory, chooseFile, chooseFile, chooseFile, chooseFiles, chooseURL, chooseURL, chooseURLPath, clearImageCache, createJavaProcess, getDataSourceAccess, getLicenseInformationProvider, getParentFrame, getPreferencesDirectory, getUserInterfaceLanguage, getVersion, openInExternalApplication, showConfirmDialog, showConfirmDialog, showErrorMessage, showInformationMessage, showStatusMessage
addInputURLChooserCustomizer, addRelativeReferencesResolver
setMathFlowFixedLicenseKeyForComposer, setMathFlowFixedLicenseKeyForEditor
void addToolbarComponentsCustomizer(ToolbarComponentsCustomizer componentsCustomizer)
componentsCustomizer
- The tool bar components customizer.void addViewComponentCustomizer(ViewComponentCustomizer viewComponentCustomizer)
viewComponentCustomizer
- The views component customizer.void addMenuBarCustomizer(MenuBarCustomizer menuBarCustomizer)
menuBarCustomizer
- The menu bar components customizer.void addTopicRefTargetInfoProvider(java.lang.String protocol, TopicRefTargetInfoProvider targetInfoProvider)
protocol
- The custom protocol of the opened DITA Map for which the plugin will compute the topic reference titles and auxiliary information.targetInfoProvider
- Gets called to resolve the title for the topic references in the DITA Map.void showView(java.lang.String viewID, boolean requestFocus)
viewID
- The view ID.requestFocus
- True to request the focus inside the view after show.void hideView(java.lang.String viewID)
viewID
- The view ID.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.
boolean isViewShowing(java.lang.String viewID)
viewID
- The view ID.true
if the view is showingPlease 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.
void hideToolbar(java.lang.String toolbarID)
toolbarID
- The toolbar ID.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.
void showToolbar(java.lang.String toolbarID)
toolbarID
- The toolbar ID. You can install a toolbar component customizer and see all available IDs.boolean isToolbarShowing(java.lang.String toolbarID)
toolbarID
- The toolbar ID.true
if the toolbar is showingPlease 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.
java.lang.String getOxygenActionID(javax.swing.Action action)
action
- The action for which to retrieve the ID.null
if the action is not one provided by Oxygen.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.