Oxygen XML Editor 12.2 Author API

ro.sync.ecss.extensions.tei
Class TEIP5ExtensionsBundle

java.lang.Object
  extended by ro.sync.ecss.extensions.api.ExtensionsBundle
      extended by ro.sync.ecss.extensions.tei.TEIExtensionsBundleBase
          extended by ro.sync.ecss.extensions.tei.TEIP5ExtensionsBundle
All Implemented Interfaces:
Extension

public class TEIP5ExtensionsBundle
extends TEIExtensionsBundleBase

The TEI P5 framework extensions bundle.


Constructor Summary
TEIP5ExtensionsBundle()
           
 
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.
 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.tei.TEIExtensionsBundleBase
createAuthorTableCellSpanProvider, getAuthorSchemaAwareEditingHandler
 
Methods inherited from class ro.sync.ecss.extensions.api.ExtensionsBundle
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorReferenceResolver, createAuthorStylesFilter, createAuthorSWTDndListener, createAuthorTableColumnWidthProvider, createElementLocatorProvider, createSchemaManagerFilter, 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

TEIP5ExtensionsBundle

public TEIP5ExtensionsBundle()
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 TEIExtensionsBundleBase
Returns:
The document namespace.
See Also:
TEIExtensionsBundleBase.getDocumentNamespace()

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.