Oxygen XML Editor 12.2 Author API

ro.sync.ecss.extensions.dita.map
Class DITAMapExternalObjectInsertionHandler

java.lang.Object
  extended by ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler
      extended by ro.sync.ecss.extensions.dita.map.DITAMapExternalObjectInsertionHandler
All Implemented Interfaces:
ExternalObjectInsertionSources

public class DITAMapExternalObjectInsertionHandler
extends AuthorExternalObjectInsertionHandler

Dropped URLs handler


Field Summary
 
Fields inherited from class ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler
TEST_STYLESHEET_CONTENT
 
Fields inherited from interface ro.sync.ecss.extensions.api.ExternalObjectInsertionSources
DND_DB_TREE, DND_DITA_MAPS_MANAGER, DND_EXTERNAL, DND_IMAGE_PREVIEW, DND_PROJECT_TREE, PASTE
 
Constructor Summary
DITAMapExternalObjectInsertionHandler()
           
 
Method Summary
 void insertURLs(AuthorAccess authorAccess, java.util.List<java.net.URL> urls, int source)
          A list of URLs need to be inserted at the caret position, probably as links.
 
Methods inherited from class ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler
acceptSource, acceptURLs, checkImportedXHTMLContentIsPreservedEntirely, containOnlyImages, createImporterStylesheetSource, getBaseURLAtCaretPosition, getImporterStylesheetFileName, insertXHTMLFragment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DITAMapExternalObjectInsertionHandler

public DITAMapExternalObjectInsertionHandler()
Method Detail

insertURLs

public void insertURLs(AuthorAccess authorAccess,
                       java.util.List<java.net.URL> urls,
                       int source)
                throws AuthorOperationException
Description copied from class: AuthorExternalObjectInsertionHandler
A list of URLs need to be inserted at the caret position, probably as links.
The source of the insertion can be a paste event or a drag and drop event.
This call back is received if AuthorExternalObjectInsertionHandler.acceptURLs(AuthorAccess, List, int) returned true for the same source and urls list.
You can use it to link to those specific files/URLs.

Overrides:
insertURLs in class AuthorExternalObjectInsertionHandler
Parameters:
authorAccess - The author access
urls - The list of URLs.
source - The source of the URLs, one of the AuthorExternalObjectInsertionHandler constants.
Throws:
AuthorOperationException
See Also:
AuthorExternalObjectInsertionHandler.insertURLs(ro.sync.ecss.extensions.api.AuthorAccess, java.util.List, int)

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.