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 StringServlet context attribute used to retrieve the data directory.static final StringThe 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 TypeMethodDescriptionvoidRegisters a listener for the lifecycle events of the editing sessions for an editable DITA Map opened in the DITA Maps Manager component.voidRegisters 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.voidRemoves the listener for an editable DITA Map's editing session for an editable DITA Map opened in the DITA Maps Manager component.voidRemoves the listener.voidsetDITAKeyDefinitionManagerProvider(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, getVersionBuildIDMethods inherited from interface ro.sync.exml.workspace.api.util.ColorThemeUtilities
getColorTheme, getImageInverterMethods inherited from interface ro.sync.exml.workspace.api.standalone.DiffAndMergeTools
openDiffFilesApplication, openDiffFilesApplication, openDiffFilesApplication, openDiffFilesApplication, openMergeApplication, openMergeApplication, openPreviewDialog, openPreviewDialogMethods inherited from interface ro.sync.exml.workspace.api.options.GlobalOptionsStorage
addGlobalOptionListener, deserializePersistentObject, getGlobalObjectProperty, importGlobalOptions, importGlobalOptions, removeGlobalOptionListener, saveGlobalOptions, serializePersistentObject, setGlobalObjectProperty, showPreferencesPagesMethods inherited from interface ro.sync.exml.workspace.api.math.MathFlowConfigurator
setMathFlowFixedLicenseFile, setMathFlowFixedLicenseKeyForComposer, setMathFlowFixedLicenseKeyForEditor, setMathFlowInstallationFolderMethods 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, getXMLRefactorUtilAccess, getXMLUtilAccess, removeAuthorCSSAlternativesCustomizer, removeBatchOperationsListener, removeEditorChangeListener, setDITAKeyDefinitionManagerMethods inherited from interface ro.sync.exml.workspace.api.standalone.ReferencesCustomizer
addInputURLChooserCustomizer, addRelativeReferencesResolverMethods 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, showViewMethods inherited from interface ro.sync.exml.workspace.api.Workspace
close, closeAll, createNewEditor, createNewEditor, delete, isStandalone, open, open, open, refreshInProject, saveAll, setParentFrameTitleMethods 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
-
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
-
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
-
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
-