Package ro.sync.ecss.extensions.docbook
Class DocBook5ExtensionsBundle
java.lang.Object
ro.sync.ecss.extensions.api.ExtensionsBundle
ro.sync.ecss.extensions.docbook.DocBookExtensionsBundleBase
ro.sync.ecss.extensions.docbook.DocBook5ExtensionsBundle
- All Implemented Interfaces:
Extension
@API(type=INTERNAL,
src=PUBLIC)
public class DocBook5ExtensionsBundle
extends DocBookExtensionsBundleBase
The DocBook 5 framework extensions bundle.
-
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.Create a handler which gets notified when external resources need to be inserted in the Author 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.Get a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).protected StringThis should never returnnullif theOptionsStoragesupport it is intended to be used.getHelpPageID(String currentEditorPage) Get the help page ID for this particular framework extensions bundle.Creates a newProfilingConditionalTextProviderinstance responsible for providing custom support regarding profiling and conditional text.Get an unique attributes creator and identifier.Methods inherited from class ro.sync.ecss.extensions.docbook.DocBookExtensionsBundleBase
createAuthorTableCellSepProvider, createAuthorTableCellSpanProvider, createAuthorTableColumnWidthProvider, createEditPropertiesHandler, createLinkTextResolver, createSchemaManagerFilter, createXMLNodeCustomizer, getAuthorActionEventHandler, getAuthorImageDecorator, getSpellCheckerHelper, resolveCustomHrefMethods inherited from class ro.sync.ecss.extensions.api.ExtensionsBundle
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorPreloadProcessor, createAuthorReferenceResolver, createAuthorStylesFilter, createAuthorSWTDndListener, createCustomAttributeValueEditor, createElementLocatorProvider, createIDTypeRecognizer, createTextPageExternalObjectInsertionHandler, createTextSWTDndListener, customizeImageTooltipDescription, customizeLinkTooltipDescription, getDocumentTypeName, getWebappExtensionsProvier, isContentReference, resolveCustomAttributeValue, resolveCustomHref, resolveCustomHref, setDocumentTypeName
-
Constructor Details
-
DocBook5ExtensionsBundle
public DocBook5ExtensionsBundle()
-
-
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 classExtensionsBundle- Returns:
- A new
AuthorExtensionStateListenerinstance. - See Also:
-
getDescription
- Returns:
- The description of the extension.
- See Also:
-
getDocumentTypeID
Description copied from class:ExtensionsBundleThis should never returnnullif theOptionsStoragesupport it is intended to be used. If this returnsnullyou will not be able to addOptionListeneror store and retrieve any options at all.- Specified by:
getDocumentTypeIDin classExtensionsBundle- Returns:
- The unique identifier of the Document Type.
- See Also:
-
getUniqueAttributesIdentifier
Description copied from class:ExtensionsBundleGet an unique attributes creator and identifier.- Overrides:
getUniqueAttributesIdentifierin classExtensionsBundle- Returns:
- The unique attributes identifier
- See Also:
-
getClipboardFragmentProcessor
Description copied from class:ExtensionsBundleGet a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).- Overrides:
getClipboardFragmentProcessorin classExtensionsBundle- Returns:
- a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).
- See Also:
-
getDocumentNamespace
- Specified by:
getDocumentNamespacein classDocBookExtensionsBundleBase- Returns:
- The document namespace.
- 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 classExtensionsBundle- 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:
-
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 classExtensionsBundle- Returns:
- The External URLs handler
- See Also:
-
getProfilingConditionalTextProvider
Description copied from class:ExtensionsBundleCreates a newProfilingConditionalTextProviderinstance responsible for providing custom support regarding profiling and conditional text.- Overrides:
getProfilingConditionalTextProviderin classExtensionsBundle- Returns:
- A new
ProfilingConditionalTextProviderinstance. - See Also:
-
getAuthorTableOperationsHandler
Description copied from class:ExtensionsBundleGet theAuthorTableOperationsHandlerinstance responsible for handling table operations.- Overrides:
getAuthorTableOperationsHandlerin classExtensionsBundle- Returns:
- Author table operations 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 classExtensionsBundle- 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:
-