Interface WebappPluginWorkspace
- All Superinterfaces:
ApplicationInformationAccess
,ColorThemeUtilities
,DiffAndMergeTools
,GlobalOptionsStorage
,MathFlowConfigurator
,PluginWorkspace
,ReferencesCustomizer
,StandalonePluginWorkspace
,Workspace
,WorkspaceUtilities
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface WebappPluginWorkspace
extends StandalonePluginWorkspace
Plugin workspace access API with webapp-specific features.
To obtain an instance of this class, one can either register a
WorkspaceAccessPluginExtension
or use PluginWorkspaceProvider
.- Since:
- 17
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Servlet context attribute used to retrieve the data directory.static final String
The web-app REST api versionFields inherited from interface ro.sync.exml.workspace.api.PluginWorkspace
DITA_MAPS_EDITING_AREA, MAIN_EDITING_AREA
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Registers a listener for the lifecycle events of the editing sessions for an editable DITA Map opened in the DITA Maps Manager component.void
Registers a listener for the lifecycle events of the editing sessions.List<javax.servlet.Filter>
A store which can remember key, values on a given session.void
Removes the listener for an editable DITA Map's editing session for an editable DITA Map opened in the DITA Maps Manager component.void
Removes the listener.void
setDITAKeyDefinitionManagerProvider
(KeyDefinitionManagerProvider keyDefinitionManagerProvider) Sets an object that provides a DITA keys manager for each opened document.Methods inherited from interface ro.sync.exml.workspace.api.application.ApplicationInformationAccess
getApplicationName, getApplicationType, getLicenseInformationProvider, getPlatform, getPreferencesDirectory, getUserInterfaceLanguage, getVersion, getVersionBuildID
Methods inherited from interface ro.sync.exml.workspace.api.util.ColorThemeUtilities
getColorTheme, getImageInverter
Methods inherited from interface ro.sync.exml.workspace.api.standalone.DiffAndMergeTools
openDiffFilesApplication, openDiffFilesApplication, openDiffFilesApplication, openDiffFilesApplication, openMergeApplication, openMergeApplication, openPreviewDialog
Methods inherited from interface ro.sync.exml.workspace.api.options.GlobalOptionsStorage
addGlobalOptionListener, deserializePersistentObject, getGlobalObjectProperty, importGlobalOptions, importGlobalOptions, removeGlobalOptionListener, saveGlobalOptions, serializePersistentObject, setGlobalObjectProperty, showPreferencesPages
Methods inherited from interface ro.sync.exml.workspace.api.math.MathFlowConfigurator
setMathFlowFixedLicenseFile, setMathFlowFixedLicenseKeyForComposer, setMathFlowFixedLicenseKeyForEditor, setMathFlowInstallationFolder
Methods inherited from interface ro.sync.exml.workspace.api.PluginWorkspace
addAuthorCSSAlternativesCustomizer, addBatchOperationsListener, addEditorChangeListener, createAuthorDocumentProvider, createAuthorDocumentProvider, getAllEditorLocations, getBatchOperationsListenersAccess, getCompareUtilAccess, getComponentsProvider, getCurrentEditorAccess, getEditorAccess, getEditorChangeListeners, getOptionsStorage, getResultsManager, getUtilAccess, getValidationUtilAccess, getXMLUtilAccess, removeAuthorCSSAlternativesCustomizer, removeBatchOperationsListener, removeEditorChangeListener, setDITAKeyDefinitionManager
Methods inherited from interface ro.sync.exml.workspace.api.standalone.ReferencesCustomizer
addInputURLChooserCustomizer, addRelativeReferencesResolver
Methods inherited from interface ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace
addMenuBarCustomizer, addMenusAndToolbarsContributorCustomizer, addPluginExtension, addToolbarComponentsCustomizer, addTopicRefTargetInfoProvider, addViewComponentCustomizer, createAuthorPreviewComponentProvider, createEditorComponentProvider, createEditorComponentProvider, getActionsProvider, getOxygenActionID, getProjectManager, getProxyDetailsProvider, getResourceBundle, hideToolbar, hideView, isToolbarShowing, isViewAvailable, isViewShowing, removeMenusAndToolbarsContributorCustomizer, showToolbar, showView
Methods inherited from interface ro.sync.exml.workspace.api.Workspace
close, closeAll, createNewEditor, createNewEditor, delete, isStandalone, open, open, open, refreshInProject, saveAll, setParentFrameTitle
Methods inherited from interface ro.sync.exml.workspace.api.WorkspaceUtilities
chooseDirectory, chooseDirectory, chooseFile, chooseFile, chooseFile, chooseFiles, chooseURL, chooseURL, chooseURL, chooseURLPath, chooseURLPath, clearImageCache, createJavaProcess, createProcess, getDataSourceAccess, getImageUtilities, getParentFrame, getTemplateManager, openInExternalApplication, openInExternalApplication, openInExternalApplication, showConfirmDialog, showConfirmDialog, showErrorMessage, showErrorMessage, showInformationMessage, showStatusMessage, showStatusMessage, showWarningDialog, showWarningDialog, showWarningMessage, startProcess
-
Field Details
-
restApiVersion
The web-app REST api version- See Also:
-
OXYGEN_WEBAPP_DATA_DIR
Servlet context attribute used to retrieve the data directory. This directory contains:- frameworks
- plugins
- configuration files
- See Also:
-
-
Method Details
-
addEditingSessionLifecycleListener
Registers a listener for the lifecycle events of the editing sessions.- Parameters:
listener
- The listener to be added.
-
addDITAMapEditingSessionLifecycleListener
Registers a listener for the lifecycle events of the editing sessions for an editable DITA Map opened in the DITA Maps Manager component.- Parameters:
listener
- The listener to be added.- Since:
- 26.1
**************************************
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.
-
removeEditingSessionLifecycleListener
Removes the listener.- Parameters:
listener
- The listener to be removed.
-
removeDITAMapEditingSessionLifecycleListener
Removes the listener for an editable DITA Map's editing session for an editable DITA Map opened in the DITA Maps Manager component.- Parameters:
listener
- The listener to be removed.- Since:
- 26.1
**************************************
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.
-
getAllEditingSessionLifecycleListeners
List<WebappEditingSessionLifecycleListener> getAllEditingSessionLifecycleListeners()- Returns:
- Returns all the listeners for lifecycle events of the editing sessions.
-
getAllDITAMapEditingSessionLifecycleListeners
List<WebappEditingSessionLifecycleListener> getAllDITAMapEditingSessionLifecycleListeners()- Returns:
- Returns all the listeners for lifecycle events of editable DITA Maps opened in the DITA Maps Manager component.
- Since:
- 26.1
**************************************
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.
-
getServletFilters
List<javax.servlet.Filter> getServletFilters()- Returns:
- The list of Servlet filters registered by plugins.
-
getMonitoringStats
- Returns:
- A map with statistics that can be used for monitoring.
- Since:
- 19.1
-
setDITAKeyDefinitionManagerProvider
Sets an object that provides a DITA keys manager for each opened document.- Parameters:
keyDefinitionManagerProvider
- The provider of the keys manager for opened documents.- Since:
- 19.1
-
getSessionStore
SessionStore getSessionStore()A store which can remember key, values on a given session. The values expire automatically when the session expires.- Returns:
- A store which can remember key, values on a given session. The values expire automatically when the session expires.
- Since:
- 20.0
-