Oxygen XML Editor 12.2 Author API

ro.sync.ecss.extensions.api.component
Class AuthorComponentEditorManager

java.lang.Object
  extended by EditorManagerAdapter
      extended by ro.sync.ecss.extensions.api.component.AuthorComponentEditorManager

public class AuthorComponentEditorManager
extends EditorManagerAdapter

The author component editor manager


Constructor Summary
AuthorComponentEditorManager(java.util.List<AuthorComponentProvider> allProviders)
          Constructor.
 
Method Summary
 void componentDisposed(AuthorComponentProvider provider)
          Remove references to diposed components.
 ValidationEditorInterface findValidationEditor(java.net.URL url)
           
 AbstractEditor[] getAllEditors()
          EXM-18738
 AutomaticallyValidationManager getAutomaticallyValidationManager()
           
 PersistentEditor getEditorForURL(java.net.URL url)
           
 AbstractEditor getSelectedEditor()
          EXM-18738
 java.lang.Object open(java.net.URL url)
           
 java.lang.Object open(java.net.URL toLoad0, boolean isNew, java.lang.String contentType)
           
 java.lang.Object open(java.net.URL toLoad0, java.lang.String contentType, boolean requestFocus, boolean ignore)
           
 java.lang.Object open(java.net.URL url, java.lang.String imposedInitialPage, java.lang.String imposedContentType)
           
 java.lang.Object openAndHighlightLocation(java.net.URL fileURL, DocumentPositionedInfo dpInfo, java.lang.String contentType, java.lang.String highlightClass, EditorHighlightPaintInfo highlightPainterInfo, boolean moveCaretToStart)
           
 java.lang.Object openAndShowLocation(java.net.URL fileURL, DocumentPositionedInfo dpInfo, boolean requestFocus, java.lang.String contentType)
           
 java.lang.Object openOperationResult(java.net.URL url)
           
 void setLastFocusedComponent(AuthorComponentProvider authorComponentProvider)
          Set the last focused component
 void setOpenURLHandler(OpenURLHandler openURLHandler)
          Set a handler which will be notified when an URL should be opened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorComponentEditorManager

public AuthorComponentEditorManager(java.util.List<AuthorComponentProvider> allProviders)
Constructor.

Parameters:
allProviders - All component providers.
Method Detail

getEditorForURL

public PersistentEditor getEditorForURL(java.net.URL url)
See Also:
ro.sync.exml.editor.EditorManagerAdapter#getEditorForURL(java.net.URL)

findValidationEditor

public ValidationEditorInterface findValidationEditor(java.net.URL url)
See Also:
ro.sync.exml.editor.EditorManagerAdapter#findValidationEditor(java.net.URL)

getAutomaticallyValidationManager

public AutomaticallyValidationManager getAutomaticallyValidationManager()
Returns:
Returns the validationManager.

getSelectedEditor

public AbstractEditor getSelectedEditor()
EXM-18738

See Also:
ro.sync.exml.editor.EditorManagerAdapter#getSelectedEditor()

getAllEditors

public AbstractEditor[] getAllEditors()
EXM-18738

See Also:
ro.sync.exml.editor.EditorManagerAdapter#getAllEditors()

open

public java.lang.Object open(java.net.URL toLoad0,
                             boolean isNew,
                             java.lang.String contentType)
                      throws java.io.IOException
Throws:
java.io.IOException
See Also:
ro.sync.exml.editor.EditorManagerAdapter#open(java.net.URL, boolean, java.lang.String)

open

public java.lang.Object open(java.net.URL toLoad0,
                             java.lang.String contentType,
                             boolean requestFocus,
                             boolean ignore)
                      throws java.io.IOException
Throws:
java.io.IOException
See Also:
ro.sync.exml.editor.EditorManagerAdapter#open(java.net.URL, java.lang.String, boolean, boolean)

open

public java.lang.Object open(java.net.URL url)
                      throws java.io.IOException
Throws:
java.io.IOException
See Also:
ro.sync.exml.editor.EditorManagerAdapter#open(java.net.URL)

open

public java.lang.Object open(java.net.URL url,
                             java.lang.String imposedInitialPage,
                             java.lang.String imposedContentType)
                      throws java.io.IOException
Throws:
java.io.IOException
See Also:
ro.sync.exml.editor.EditorManagerAdapter#open(java.net.URL, java.lang.String, java.lang.String)

openAndHighlightLocation

public java.lang.Object openAndHighlightLocation(java.net.URL fileURL,
                                                 DocumentPositionedInfo dpInfo,
                                                 java.lang.String contentType,
                                                 java.lang.String highlightClass,
                                                 EditorHighlightPaintInfo highlightPainterInfo,
                                                 boolean moveCaretToStart)
                                          throws java.io.IOException
Throws:
java.io.IOException
See Also:
ro.sync.exml.editor.EditorManagerAdapter#openAndHighlightLocation(java.net.URL, ro.sync.document.DocumentPositionedInfo, java.lang.String, java.lang.String, ro.sync.exml.editor.EditorHighlightPaintInfo, boolean)

openAndShowLocation

public java.lang.Object openAndShowLocation(java.net.URL fileURL,
                                            DocumentPositionedInfo dpInfo,
                                            boolean requestFocus,
                                            java.lang.String contentType)
                                     throws java.io.IOException
Throws:
java.io.IOException
See Also:
ro.sync.exml.editor.EditorManagerAdapter#openAndShowLocation(java.net.URL, ro.sync.document.DocumentPositionedInfo, boolean, java.lang.String)

openOperationResult

public java.lang.Object openOperationResult(java.net.URL url)
                                     throws java.io.IOException
Throws:
java.io.IOException
See Also:
ro.sync.exml.editor.EditorManagerAdapter#openOperationResult(java.net.URL)

setOpenURLHandler

public void setOpenURLHandler(OpenURLHandler openURLHandler)
Set a handler which will be notified when an URL should be opened. For example the user clicked a link in the Author page.

Parameters:
openURLHandler - The open URLs handler.

setLastFocusedComponent

public void setLastFocusedComponent(AuthorComponentProvider authorComponentProvider)
Set the last focused component

Parameters:
authorComponentProvider - The last focused component.

componentDisposed

public void componentDisposed(AuthorComponentProvider provider)
Remove references to diposed components.

Parameters:
provider - The provider was disposed.

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.