@API(type=INTERNAL, src=PUBLIC) public abstract class DocBookExtensionsBundleBase extends ExtensionsBundle
Constructor and Description |
---|
DocBookExtensionsBundleBase() |
Modifier and Type | Method and Description |
---|---|
AuthorTableCellSepProvider |
createAuthorTableCellSepProvider()
Creates a new
AuthorTableCellSepProvider instance
responsible for providing information about the table cells painting
their separators. |
AuthorTableCellSpanProvider |
createAuthorTableCellSpanProvider()
Creates a new
AuthorTableCellSpanProvider instance
responsible for providing information about the table cells spanning. |
AuthorTableColumnWidthProvider |
createAuthorTableColumnWidthProvider()
Creates a new
AuthorTableColumnWidthProvider instance
responsible for providing information and for handling modifications
regarding table width and column widths. |
EditPropertiesHandler |
createEditPropertiesHandler()
A custom implementation to handle editing properties of an author node.
|
LinkTextResolver |
createLinkTextResolver()
Creates a new
LinkTextResolver instance responsible for resolving a
specific link marked in the CSS file and returning a text content from the
targeted location. |
SchemaManagerFilter |
createSchemaManagerFilter()
Creates a new
SchemaManagerFilter instance used to filter
the content completion proposals from the schema manager. |
XMLNodeRendererCustomizer |
createXMLNodeCustomizer()
Create an XML node customizer used for custom nodes rendering in the Author outline, Text page outline,
Author bread crumb, content completion window or the DITA Map view.
|
AuthorActionEventHandler |
getAuthorActionEventHandler()
Creates a special handler for author actions events (such as key events).
|
AuthorImageDecorator |
getAuthorImageDecorator()
Get an
AuthorImageDecorator . |
protected abstract java.lang.String |
getDocumentNamespace() |
java.net.URL |
resolveCustomHref(java.net.URL currentEditorURL,
AuthorNode contextNode,
java.lang.String linkHref,
AuthorAccess authorAccess)
When clicking a href the bundle can custom solve the href to an URL.
|
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorExtensionStateListener, createAuthorOutlineCustomizer, createAuthorReferenceResolver, createAuthorStylesFilter, createAuthorSWTDndListener, createCustomAttributeValueEditor, createElementLocatorProvider, createExternalObjectInsertionHandler, createIDTypeRecognizer, createTextSWTDndListener, getAuthorSchemaAwareEditingHandler, getAuthorTableOperationsHandler, getClipboardFragmentProcessor, getDocumentTypeID, getDocumentTypeName, getHelpPageID, getProfilingConditionalTextProvider, getUniqueAttributesIdentifier, isContentReference, resolveCustomHref, resolveCustomHref, setDocumentTypeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription
public AuthorTableCellSpanProvider createAuthorTableCellSpanProvider()
ExtensionsBundle
AuthorTableCellSpanProvider
instance
responsible for providing information about the table cells spanning.
The table cell span provider is not reused between different tables.
The method is called for each table in the document so a new instance
should be provided each time.createAuthorTableCellSpanProvider
in class ExtensionsBundle
AuthorTableCellSpanProvider
instance.ExtensionsBundle.createAuthorTableCellSpanProvider()
public AuthorTableColumnWidthProvider createAuthorTableColumnWidthProvider()
ExtensionsBundle
AuthorTableColumnWidthProvider
instance
responsible for providing information and for handling modifications
regarding table width and column widths.
The table column width provider is not reused between different tables.
The method is called for each table in the document so a new instance
should be provided each time.createAuthorTableColumnWidthProvider
in class ExtensionsBundle
AuthorTableColumnWidthProvider
instance.ExtensionsBundle.createAuthorTableColumnWidthProvider()
public AuthorTableCellSepProvider createAuthorTableCellSepProvider()
ExtensionsBundle
AuthorTableCellSepProvider
instance
responsible for providing information about the table cells painting
their separators.
The table cell separators provider is not reused between different tables.
The method is called for each table in the document so a new instance
should be provided each time.createAuthorTableCellSepProvider
in class ExtensionsBundle
AuthorTableCellSepProvider
instance.ExtensionsBundle.createAuthorTableCellSepProvider()
protected abstract java.lang.String getDocumentNamespace()
public SchemaManagerFilter createSchemaManagerFilter()
ExtensionsBundle
SchemaManagerFilter
instance used to filter
the content completion proposals from the schema manager.
This method is called each time the document type where the extensions bundle
is defined matches a document opened in an editor.createSchemaManagerFilter
in class ExtensionsBundle
SchemaManagerFilter
instance.ExtensionsBundle.createSchemaManagerFilter()
public XMLNodeRendererCustomizer createXMLNodeCustomizer()
ExtensionsBundle
createXMLNodeCustomizer
in class ExtensionsBundle
ExtensionsBundle.createXMLNodeCustomizer()
public LinkTextResolver createLinkTextResolver()
ExtensionsBundle
LinkTextResolver
instance responsible for resolving a
specific link marked in the CSS file and returning a text content from the
targeted location. This text content will be presented as a static text
associated with the link in author page.
This resolver will be used when function oxy_link-text() is encountered
inside the CSS rules on the 'content' property.createLinkTextResolver
in class ExtensionsBundle
LinkTextResolver
instance.ExtensionsBundle.createLinkTextResolver()
public java.net.URL resolveCustomHref(java.net.URL currentEditorURL, AuthorNode contextNode, java.lang.String linkHref, AuthorAccess authorAccess) throws java.io.IOException
ExtensionsBundle
resolveCustomHref
in class ExtensionsBundle
currentEditorURL
- The URL of the current editor.contextNode
- The context node in which the href needs to be computed.linkHref
- The link href as derrived from the CSSauthorAccess
- The Author Access.CustomResolverException
- If the link is recognized by the extensions bundle, but could not be mapped
to an URL. It offers a solution to the user. This solution
is invoked when the user clicks on the error message.java.io.IOException
- If the link is recognized by the extensions bundle, but could not be mapped
to an URL.ExtensionsBundle.resolveCustomHref(java.net.URL, ro.sync.ecss.extensions.api.node.AuthorNode, java.lang.String, ro.sync.ecss.extensions.api.AuthorAccess)
public AuthorActionEventHandler getAuthorActionEventHandler()
ExtensionsBundle
getAuthorActionEventHandler
in class ExtensionsBundle
ExtensionsBundle.getAuthorActionEventHandler()
public AuthorImageDecorator getAuthorImageDecorator()
ExtensionsBundle
AuthorImageDecorator
. Permits decoration of the images that
are displayed in the Author view. For instance it can overlay some meta-information
over the image.getAuthorImageDecorator
in class ExtensionsBundle
AuthorImageDecorator
, or null
.ExtensionsBundle.getAuthorImageDecorator()
public EditPropertiesHandler createEditPropertiesHandler()
ExtensionsBundle
createEditPropertiesHandler
in class ExtensionsBundle
ExtensionsBundle.createEditPropertiesHandler()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.