@API(type=INTERNAL, src=PUBLIC) public class XHTMLExtensionsBundle extends ExtensionsBundle
Constructor and Description |
---|
XHTMLExtensionsBundle() |
Modifier and Type | Method and Description |
---|---|
AuthorExtensionStateListener |
createAuthorExtensionStateListener()
Returns the
AuthorExtensionStateListener which will be notified
when the Author extension where it is defined is activated and deactivated
during the detection process. |
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.
|
ElementLocatorProvider |
createElementLocatorProvider()
Creates a new
ElementLocatorProvider instance responsible
for providing an implementation of an ElementLocator
based on the structure of a link. |
AuthorExternalObjectInsertionHandler |
createExternalObjectInsertionHandler()
Create a handler which gets notified when external resources need to be inserted in the Author page.
|
IDTypeRecognizer |
createIDTypeRecognizer()
Creates a new
IDTypeRecognizer instance responsible
for providing an implementation which can recognize ID declarations and references. |
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 . |
AuthorTableOperationsHandler |
getAuthorTableOperationsHandler()
Get the
AuthorTableOperationsHandler instance
responsible for handling table operations. |
ClipboardFragmentProcessor |
getClipboardFragmentProcessor()
Get a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).
|
java.lang.String |
getDescription() |
java.lang.String |
getDocumentTypeID()
This should never return
null if the OptionsStorage
support it is intended to be used. |
java.lang.String |
getHelpPageID(java.lang.String currentEditorPage)
Get the help page ID for this particular framework extensions bundle.
|
UniqueAttributesRecognizer |
getUniqueAttributesIdentifier()
Get an unique attributes creator and identifier.
|
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorReferenceResolver, createAuthorStylesFilter, createAuthorSWTDndListener, createAuthorTableCellSepProvider, createCustomAttributeValueEditor, createLinkTextResolver, createTextSWTDndListener, getAuthorSchemaAwareEditingHandler, getDocumentTypeName, getProfilingConditionalTextProvider, isContentReference, resolveCustomHref, resolveCustomHref, resolveCustomHref, setDocumentTypeName
public AuthorExtensionStateListener createAuthorExtensionStateListener()
ExtensionsBundle
AuthorExtensionStateListener
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.createAuthorExtensionStateListener
in class ExtensionsBundle
AuthorExtensionStateListener
instance.ExtensionsBundle.createAuthorExtensionStateListener()
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 java.lang.String getDescription()
Extension.getDescription()
public java.lang.String getDocumentTypeID()
ExtensionsBundle
null
if the OptionsStorage
support it is intended to be used.
If this returns null
you will not be able to add
OptionListener
or store and retrieve
any options at all.getDocumentTypeID
in class ExtensionsBundle
ExtensionsBundle.getDocumentTypeID()
public UniqueAttributesRecognizer getUniqueAttributesIdentifier()
ExtensionsBundle
getUniqueAttributesIdentifier
in class ExtensionsBundle
ExtensionsBundle.getUniqueAttributesIdentifier()
public ClipboardFragmentProcessor getClipboardFragmentProcessor()
ExtensionsBundle
getClipboardFragmentProcessor
in class ExtensionsBundle
ExtensionsBundle.getClipboardFragmentProcessor()
public ElementLocatorProvider createElementLocatorProvider()
ExtensionsBundle
ElementLocatorProvider
instance responsible
for providing an implementation of an ElementLocator
based on the structure of a link. The ElementLocator
is 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.createElementLocatorProvider
in class ExtensionsBundle
ElementLocatorProvider
instance.ExtensionsBundle.createElementLocatorProvider()
public AuthorExternalObjectInsertionHandler createExternalObjectInsertionHandler()
ExtensionsBundle
createExternalObjectInsertionHandler
in class ExtensionsBundle
ExtensionsBundle.createExternalObjectInsertionHandler()
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 AuthorTableOperationsHandler getAuthorTableOperationsHandler()
ExtensionsBundle
AuthorTableOperationsHandler
instance
responsible for handling table operations.getAuthorTableOperationsHandler
in class ExtensionsBundle
ExtensionsBundle.getAuthorTableOperationsHandler()
public IDTypeRecognizer createIDTypeRecognizer()
ExtensionsBundle
IDTypeRecognizer
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.createIDTypeRecognizer
in class ExtensionsBundle
IDTypeRecognizer
instance.ExtensionsBundle.createIDTypeRecognizer()
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()
public java.lang.String getHelpPageID(java.lang.String currentEditorPage)
ExtensionsBundle
getHelpPageID
in class ExtensionsBundle
currentEditorPage
- The current editor page mode (Text/Grid/Author/Schema), one of the constants in the "ro.sync.exml.editor.EditorPageConstants" interface.ExtensionsBundle.getHelpPageID(java.lang.String)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.