Oxygen XML Editor 12.2 Author API

ro.sync.ecss.extensions.docbook
Class DocBook4ExtensionsBundle

java.lang.Object
  extended by ro.sync.ecss.extensions.api.ExtensionsBundle
      extended by ro.sync.ecss.extensions.docbook.DocBookExtensionsBundleBase
          extended by ro.sync.ecss.extensions.docbook.DocBook4ExtensionsBundle
All Implemented Interfaces:
Extension

public class DocBook4ExtensionsBundle
extends DocBookExtensionsBundleBase

The DocBook 4 framework extensions bundle.


Constructor Summary
DocBook4ExtensionsBundle()
           
 
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.
 AuthorExternalObjectInsertionHandler createExternalObjectInsertionHandler()
          Create a handler which gets notified when external resources need to be inserted in the Author page.
 AuthorSchemaAwareEditingHandler getAuthorSchemaAwareEditingHandler()
          If Schema Aware mode is active in Oxygen, all actions that can generate invalid content will be redirected toward this support.
 ClipboardFragmentProcessor getClipboardFragmentProcessor()
          Get a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).
 java.lang.String getDescription()
           
protected  java.lang.String getDocumentNamespace()
           
 java.lang.String getDocumentTypeID()
          This should never return null if the OptionsStorage support it is intended to be used.
 UniqueAttributesRecognizer getUniqueAttributesIdentifier()
          Get an unique attributes creator and identifier.
 
Methods inherited from class ro.sync.ecss.extensions.docbook.DocBookExtensionsBundleBase
createAuthorTableCellSpanProvider, createAuthorTableColumnWidthProvider, createSchemaManagerFilter
 
Methods inherited from class ro.sync.ecss.extensions.api.ExtensionsBundle
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorReferenceResolver, createAuthorStylesFilter, createAuthorSWTDndListener, createElementLocatorProvider, createTextSWTDndListener, getDocumentTypeName, isContentReference, resolveCustomHref, setDocumentTypeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocBook4ExtensionsBundle

public DocBook4ExtensionsBundle()
Method Detail

createAuthorExtensionStateListener

public AuthorExtensionStateListener createAuthorExtensionStateListener()
Description copied from class: ExtensionsBundle
Returns the 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.

Overrides:
createAuthorExtensionStateListener in class ExtensionsBundle
Returns:
A new AuthorExtensionStateListener instance.
See Also:
ExtensionsBundle.createAuthorExtensionStateListener()

getDescription

public java.lang.String getDescription()
Returns:
The description of the extension.
See Also:
Extension.getDescription()

getDocumentTypeID

public java.lang.String getDocumentTypeID()
Description copied from class: ExtensionsBundle
This should never return 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.

Specified by:
getDocumentTypeID in class ExtensionsBundle
Returns:
The unique identifier of the Document Type.
See Also:
ExtensionsBundle.getDocumentTypeID()

getUniqueAttributesIdentifier

public UniqueAttributesRecognizer getUniqueAttributesIdentifier()
Description copied from class: ExtensionsBundle
Get an unique attributes creator and identifier.

Overrides:
getUniqueAttributesIdentifier in class ExtensionsBundle
Returns:
The unique attributes identifier
See Also:
ExtensionsBundle.getUniqueAttributesIdentifier()

getClipboardFragmentProcessor

public ClipboardFragmentProcessor 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 class ExtensionsBundle
Returns:
a processor for Author Document Fragments in the clipboard (which will be pasted, dropped, etc).
See Also:
ExtensionsBundle.getClipboardFragmentProcessor()

getDocumentNamespace

protected java.lang.String getDocumentNamespace()
Specified by:
getDocumentNamespace in class DocBookExtensionsBundleBase
Returns:
The document namespace.
See Also:
DocBookExtensionsBundleBase.getDocumentNamespace()

getAuthorSchemaAwareEditingHandler

public AuthorSchemaAwareEditingHandler getAuthorSchemaAwareEditingHandler()
Description copied from class: ExtensionsBundle
If 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 an InvalidEditException. It is recommended to extend class AuthorSchemaAwareEditingHandlerAdapter in order to be protected from any API additions that may occur in interface AuthorSchemaAwareEditingHandler.

Overrides:
getAuthorSchemaAwareEditingHandler in class ExtensionsBundle
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:
ExtensionsBundle.getAuthorSchemaAwareEditingHandler()

createExternalObjectInsertionHandler

public AuthorExternalObjectInsertionHandler 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 class ExtensionsBundle
Returns:
The External URLs handler
See Also:
ExtensionsBundle.createExternalObjectInsertionHandler()

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.