|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.ecss.extensions.api.ExtensionsBundle
ro.sync.ecss.extensions.dita.DITAExtensionsBundle
@API(type=INTERNAL, src=PUBLIC) public class DITAExtensionsBundle
The DITA framework extensions bundle.
Constructor Summary | |
---|---|
DITAExtensionsBundle()
|
Method Summary | |
---|---|
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. |
AuthorReferenceResolver |
createAuthorReferenceResolver()
Creates a new AuthorReferenceResolver instance used to expand
content references. |
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. |
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. |
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. |
AuthorSchemaAwareEditingHandler |
getAuthorSchemaAwareEditingHandler()
If Schema Aware mode is active in Oxygen, all actions that can generate invalid content will be redirected toward this support. |
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. |
ProfilingConditionalTextProvider |
getProfilingConditionalTextProvider()
Creates a new ProfilingConditionalTextProvider instance responsible
for providing custom support regarding profiling and conditional text. |
UniqueAttributesRecognizer |
getUniqueAttributesIdentifier()
Get an unique attributes creator and identifier. |
boolean |
isContentReference(AuthorNode node)
Check if this node references another node which should replace it entirely. |
java.net.URL |
resolveCustomHref(java.net.URL currentEditorURL,
java.lang.String linkHref,
AuthorAccess authorAccess)
When clicking a href the bundle can custom solve the href to an URL. |
Methods inherited from class ro.sync.ecss.extensions.api.ExtensionsBundle |
---|
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorStylesFilter, createAuthorSWTDndListener, createTextSWTDndListener, getDocumentTypeName, resolveCustomHref, setDocumentTypeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DITAExtensionsBundle()
Method Detail |
---|
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 ClipboardFragmentProcessor getClipboardFragmentProcessor()
ExtensionsBundle
getClipboardFragmentProcessor
in class ExtensionsBundle
ExtensionsBundle.getClipboardFragmentProcessor()
public AuthorReferenceResolver createAuthorReferenceResolver()
ExtensionsBundle
AuthorReferenceResolver
instance 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.
createAuthorReferenceResolver
in class ExtensionsBundle
AuthorReferenceResolver
instance.ExtensionsBundle.createAuthorReferenceResolver()
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 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 java.net.URL resolveCustomHref(java.net.URL currentEditorURL, java.lang.String linkHref, AuthorAccess authorAccess) throws java.io.IOException
ExtensionsBundle
resolveCustomHref
in class ExtensionsBundle
currentEditorURL
- The URL of the current editor.linkHref
- The link href as derrived from the CSSauthorAccess
- The Author Access.
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, java.lang.String, ro.sync.ecss.extensions.api.AuthorAccess)
public AuthorSchemaAwareEditingHandler getAuthorSchemaAwareEditingHandler()
ExtensionsBundle
InvalidEditException
.
It is recommended to extend class AuthorSchemaAwareEditingHandlerAdapter
in order to be protected from any
API additions that may occur in interface AuthorSchemaAwareEditingHandler
.
getAuthorSchemaAwareEditingHandler
in class ExtensionsBundle
ExtensionsBundle.getAuthorSchemaAwareEditingHandler()
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 AuthorExternalObjectInsertionHandler createExternalObjectInsertionHandler()
ExtensionsBundle
createExternalObjectInsertionHandler
in class ExtensionsBundle
ExtensionsBundle.createExternalObjectInsertionHandler()
public boolean isContentReference(AuthorNode node)
ExtensionsBundle
isContentReference
in class ExtensionsBundle
node
- The node
true
if this node references another node which should replace it entirely.ExtensionsBundle.isContentReference(ro.sync.ecss.extensions.api.node.AuthorNode)
public ProfilingConditionalTextProvider getProfilingConditionalTextProvider()
ExtensionsBundle
ProfilingConditionalTextProvider
instance responsible
for providing custom support regarding profiling and conditional text.
getProfilingConditionalTextProvider
in class ExtensionsBundle
ProfilingConditionalTextProvider
instance.ExtensionsBundle.getProfilingConditionalTextProvider()
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 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_linktext() is encountered
inside the CSS rules on the 'content' property.
createLinkTextResolver
in class ExtensionsBundle
LinkTextResolver
instance.ExtensionsBundle.createLinkTextResolver()
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |