Package ro.sync.ecss.extensions.tei
Class TEI_jteiExtensionsBundle
java.lang.Object
ro.sync.ecss.extensions.api.ExtensionsBundle
ro.sync.ecss.extensions.tei.TEIExtensionsBundleBase
ro.sync.ecss.extensions.tei.TEI_jteiExtensionsBundle
- All Implemented Interfaces:
Extension
@API(type=INTERNAL,
src=PUBLIC)
public class TEI_jteiExtensionsBundle
extends TEIExtensionsBundleBase
The TEI P5 framework extensions bundle.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theAuthorExtensionStateListener
which 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.Creates a newIDTypeRecognizer
instance responsible for providing an implementation which can recognize ID declarations and references.Get theAuthorTableOperationsHandler
instance responsible for handling table operations.Get a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).protected String
This should never returnnull
if theOptionsStorage
support it is intended to be used.Get an unique attributes creator and identifier.Methods inherited from class ro.sync.ecss.extensions.tei.TEIExtensionsBundleBase
createAuthorTableCellSpanProvider, createEditPropertiesHandler, createXMLNodeCustomizer, getAuthorActionEventHandler, getAuthorImageDecorator, getAuthorSchemaAwareEditingHandler, getSpellCheckerHelper
Methods inherited from class ro.sync.ecss.extensions.api.ExtensionsBundle
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorPreloadProcessor, createAuthorReferenceResolver, createAuthorStylesFilter, createAuthorSWTDndListener, createAuthorTableCellSepProvider, createAuthorTableColumnWidthProvider, createCustomAttributeValueEditor, createElementLocatorProvider, createLinkTextResolver, createSchemaManagerFilter, createTextPageExternalObjectInsertionHandler, createTextSWTDndListener, customizeImageTooltipDescription, customizeLinkTooltipDescription, getDocumentTypeName, getHelpPageID, getProfilingConditionalTextProvider, getWebappExtensionsProvier, isContentReference, resolveCustomAttributeValue, resolveCustomHref, resolveCustomHref, resolveCustomHref, setDocumentTypeName
-
Constructor Details
-
TEI_jteiExtensionsBundle
public TEI_jteiExtensionsBundle()
-
-
Method Details
-
createAuthorExtensionStateListener
Description copied from class:ExtensionsBundle
Returns theAuthorExtensionStateListener
which 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:
createAuthorExtensionStateListener
in classExtensionsBundle
- Returns:
- A new
AuthorExtensionStateListener
instance. - See Also:
-
getDescription
- Returns:
- The description of the extension.
- See Also:
-
getDocumentTypeID
Description copied from class:ExtensionsBundle
This should never returnnull
if theOptionsStorage
support it is intended to be used. If this returnsnull
you will not be able to addOptionListener
or store and retrieve any options at all.- Specified by:
getDocumentTypeID
in classExtensionsBundle
- Returns:
- The unique identifier of the Document Type.
- See Also:
-
getUniqueAttributesIdentifier
Description copied from class:ExtensionsBundle
Get an unique attributes creator and identifier.- Overrides:
getUniqueAttributesIdentifier
in classExtensionsBundle
- Returns:
- The unique attributes identifier
- See Also:
-
getClipboardFragmentProcessor
Description copied from class:ExtensionsBundle
Get a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).- Overrides:
getClipboardFragmentProcessor
in classExtensionsBundle
- Returns:
- a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).
- See Also:
-
getDocumentNamespace
- Specified by:
getDocumentNamespace
in classTEIExtensionsBundleBase
- Returns:
- The document namespace.
- See Also:
-
createExternalObjectInsertionHandler
Description copied from class:ExtensionsBundle
Create 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:
createExternalObjectInsertionHandler
in classExtensionsBundle
- Returns:
- The External URLs handler
- See Also:
-
getAuthorTableOperationsHandler
Description copied from class:ExtensionsBundle
Get theAuthorTableOperationsHandler
instance responsible for handling table operations.- Overrides:
getAuthorTableOperationsHandler
in classExtensionsBundle
- Returns:
- Author table operations handler.
- See Also:
-
createIDTypeRecognizer
Description copied from class:ExtensionsBundle
Creates a newIDTypeRecognizer
instance responsible for providing an implementation which can recognize ID declarations and references. This method is called each time an ID must be recognized or certain ID-aware searches or refactory actions are performed.- Overrides:
createIDTypeRecognizer
in classExtensionsBundle
- Returns:
- A new
IDTypeRecognizer
instance. - See Also:
-