|
Oxygen XML Editor, Version 13.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface StandalonePluginWorkspace
The Plugin Workspace offers the possibility to customize the Workspace toolbars,
menu bars or views, to access utility methods or to access (and add listeners for)
all opened editors from the Main editing area or from the DITA Maps editing area.
Each opened editor contains one or more pages.
The current editor page can be accessed trough the 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.
Field Summary |
---|
Fields inherited from interface ro.sync.exml.workspace.api.PluginWorkspace |
---|
DITA_MAPS_EDITING_AREA, MAIN_EDITING_AREA |
Method Summary | |
---|---|
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 |
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. |
Methods inherited from interface ro.sync.exml.workspace.api.PluginWorkspace |
---|
addEditorChangeListener, getAllEditorLocations, getCurrentEditorAccess, getEditorAccess, getOptionsStorage, getUtilAccess, getXMLUtilAccess, removeEditorChangeListener |
Methods inherited from interface ro.sync.exml.workspace.api.Workspace |
---|
chooseFile, chooseFile, chooseURL, clearImageCache, close, closeAll, createJavaProcess, createNewEditor, delete, getLicenseInformationProvider, getParentFrame, getPreferencesDirectory, getUserInterfaceLanguage, getVersion, isStandalone, open, open, openInExternalApplication, refreshInProject, saveAll, setParentFrameTitle, showConfirmDialog, showConfirmDialog, showErrorMessage, showInformationMessage, showStatusMessage |
Methods inherited from interface ro.sync.exml.workspace.api.standalone.ReferencesCustomizer |
---|
addInputURLChooserCustomizer, addRelativeReferencesResolver |
Method Detail |
---|
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 showToolbar(java.lang.String toolbarID)
toolbarID
- The toolbar ID. You can install a toolbar component customizer and see all available IDs.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.
|
Oxygen XML Editor, Version 13.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |