Package ro.sync.ecss.extensions.dita.map
Class DITAMapExtensionsBundle
java.lang.Object
ro.sync.ecss.extensions.api.ExtensionsBundle
ro.sync.ecss.extensions.dita.DITAExtensionsBundle
ro.sync.ecss.extensions.dita.map.DITAMapExtensionsBundle
- All Implemented Interfaces:
ContextKeyManagerProvider,Extension
DITA Map extensions bundle
-
Field Summary
Fields inherited from class ro.sync.ecss.extensions.dita.DITAExtensionsBundle
keyManager, keyManagerProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theAuthorExtensionStateListenerwhich will be notified when the Author extension where it is defined is activated and deactivated during the detection process.Returns theAuthorPreloadProcessorwhich will be notified before the document is presented in the application.Creates a newAuthorReferenceResolverinstance used to expand content references.A custom implementation to handle editing properties of an author node.Creates a newElementLocatorProviderinstance responsible for providing an implementation of anElementLocatorbased on the structure of a link.Create a handler which gets notified when external resources need to be inserted in the Author page.Create a handler which gets notified when external resources need to be inserted in the Text page.If Schema Aware mode is active in Oxygen, all actions that can generate invalid content will be redirected toward this support.Get theAuthorTableOperationsHandlerinstance responsible for handling table operations.getHelpPageID(String currentEditorPage) Get the help page ID for this particular framework extensions bundle.Methods inherited from class ro.sync.ecss.extensions.dita.DITAExtensionsBundle
createAuthorTableCellSepProvider, createAuthorTableCellSpanProvider, createAuthorTableColumnWidthProvider, createContextKeyManager, createIDTypeRecognizer, createLinkTextResolver, createSchemaManagerFilter, createXMLNodeCustomizer, customizeImageTooltipDescription, customizeLinkTooltipDescription, getAuthorActionEventHandler, getAuthorImageDecorator, getClipboardFragmentProcessor, getContextKeyManager, getDescription, getDocumentTypeID, getKeyManager, getProfilingConditionalTextProvider, getSpellCheckerHelper, getUniqueAttributesIdentifier, isContentReference, resolveCustomAttributeValue, resolveCustomHrefMethods inherited from class ro.sync.ecss.extensions.api.ExtensionsBundle
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorStylesFilter, createAuthorSWTDndListener, createCustomAttributeValueEditor, createTextSWTDndListener, getDocumentTypeName, getWebappExtensionsProvier, resolveCustomHref, resolveCustomHref, setDocumentTypeName
-
Constructor Details
-
DITAMapExtensionsBundle
public DITAMapExtensionsBundle()
-
-
Method Details
-
createAuthorExtensionStateListener
Description copied from class:ExtensionsBundleReturns theAuthorExtensionStateListenerwhich will be notified when the Author extension where it is defined is activated and deactivated during the detection process. This method is called each time the Document Type association where the Author extension and the extensions bundle are defined matches a document opened in an Author page.- Overrides:
createAuthorExtensionStateListenerin classDITAExtensionsBundle- Returns:
- A new
AuthorExtensionStateListenerinstance. - See Also:
-
createAuthorPreloadProcessor
Description copied from class:ExtensionsBundleReturns theAuthorPreloadProcessorwhich will be notified before the document is presented in the application.- Overrides:
createAuthorPreloadProcessorin classExtensionsBundle- Returns:
- A new
AuthorPreloadProcessorinstance. - See Also:
-
createAuthorReferenceResolver
Description copied from class:ExtensionsBundleCreates a newAuthorReferenceResolverinstance used to expand content references. The method is called each time an opened document in an Author editor page matches the document type association where the extensions bundle is defined.- Overrides:
createAuthorReferenceResolverin classDITAExtensionsBundle- Returns:
- A new
AuthorReferenceResolverinstance. - See Also:
-
createExternalObjectInsertionHandler
Description copied from class:ExtensionsBundleCreate a handler which gets notified when external resources need to be inserted in the Author page. The usual usage for this is to get notified when URLs are dropped from the project or DITA Maps manager in the Author page.- Overrides:
createExternalObjectInsertionHandlerin classDITAExtensionsBundle- Returns:
- The External URLs handler
- See Also:
-
createElementLocatorProvider
Description copied from class:ExtensionsBundleCreates a newElementLocatorProviderinstance responsible for providing an implementation of anElementLocatorbased on the structure of a link. TheElementLocatoris capable of locating an element pointed by the supplied link. This method is called each time an element needs to be located based on a link specification.- Overrides:
createElementLocatorProviderin classDITAExtensionsBundle- Returns:
- A new
ElementLocatorProviderinstance. - See Also:
-
getAuthorTableOperationsHandler
Description copied from class:ExtensionsBundleGet theAuthorTableOperationsHandlerinstance responsible for handling table operations.- Overrides:
getAuthorTableOperationsHandlerin classDITAExtensionsBundle- Returns:
- Author table operations handler.
- See Also:
-
createEditPropertiesHandler
Description copied from class:ExtensionsBundleA custom implementation to handle editing properties of an author node. For example when a user double clicks on an element tag we will invoke this extension and a specific dialog can be presented.- Overrides:
createEditPropertiesHandlerin classDITAExtensionsBundle- Returns:
- An implementation that can edit the properties of nodes.
- See Also:
-
createTextPageExternalObjectInsertionHandler
Description copied from class:ExtensionsBundleCreate a handler which gets notified when external resources need to be inserted in the Text page. The usual usage for this is to get notified when URLs are dropped from the project or DITA Maps manager in the Text page.- Overrides:
createTextPageExternalObjectInsertionHandlerin classDITAExtensionsBundle- Returns:
- The External URLs handler
- See Also:
-
getHelpPageID
Description copied from class:ExtensionsBundleGet the help page ID for this particular framework extensions bundle. If the returned help page ID is an URL, a web browser will be opened pointing to that URL when the user presses F1 in the dialog or when using the Help button. If the returned help page ID is an identifier, when help is invoked, the application will open the Oxygen User's Manual and locate this identifier inside it.- Overrides:
getHelpPageIDin classDITAExtensionsBundle- Parameters:
currentEditorPage- The current editor page mode (Text/Grid/Author/Schema), one of the constants in the "ro.sync.exml.editor.EditorPageConstants" interface.- Returns:
- The help page ID, by default no help page ID is returned.
- See Also:
-
getAuthorSchemaAwareEditingHandler
Description copied from class:ExtensionsBundleIf Schema Aware mode is active in Oxygen, all actions that can generate invalid content will be redirected toward this support. The support can either resolve a specific case, let the default implementation take place or reject the edit entirely by throwing anInvalidEditException. It is recommended to extend classAuthorSchemaAwareEditingHandlerAdapterin order to be protected from any API additions that may occur in interfaceAuthorSchemaAwareEditingHandler.- Overrides:
getAuthorSchemaAwareEditingHandlerin classDITAExtensionsBundle- Returns:
- A custom editing handler for schema aware actions, or null if there is no handler and the default processing should take place.
- See Also:
-