ro.sync.ecss.extensions.docbook
Class DocBook5ExtensionsBundle
java.lang.Object
ro.sync.ecss.extensions.api.ExtensionsBundle
ro.sync.ecss.extensions.docbook.DocBookExtensionsBundleBase
ro.sync.ecss.extensions.docbook.DocBook5ExtensionsBundle
- All Implemented Interfaces:
- Extension
public class DocBook5ExtensionsBundle
- extends DocBookExtensionsBundleBase
The DocBook 5 framework extensions bundle.
Methods inherited from class ro.sync.ecss.extensions.api.ExtensionsBundle |
createAttributesValueEditor, createAuthorAWTDndListener, createAuthorBreadCrumbCustomizer, createAuthorOutlineCustomizer, createAuthorReferenceResolver, createAuthorStylesFilter, createAuthorSWTDndListener, createElementLocatorProvider, createSchemaManagerFilter, createTextSWTDndListener, resolveCustomHref |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocBook5ExtensionsBundle
public DocBook5ExtensionsBundle()
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 String getDescription()
- Returns:
- The description of the extension.
- See Also:
Extension.getDescription()
getDocumentTypeID
public 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()
- Overrides:
getUniqueAttributesIdentifier
in class ExtensionsBundle
- Returns:
- the unique attributes identifier
- See Also:
ExtensionsBundle.getUniqueAttributesIdentifier()
getDocumentNamespace
protected 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()
© Copyright SyncRO Soft SRL 2002 - 2010.