Oxygen XML Editor 14.2 Author API

ro.sync.ecss.extensions.api.access
Interface AuthorWorkspaceAccess

All Superinterfaces:
Workspace

@API(type=NOT_EXTENDABLE,
     src=PUBLIC)
public interface AuthorWorkspaceAccess
extends Workspace

Provides access to workspace specific information and actions.


Method Summary
 java.net.URL[] getAllEditorLocations()
          Get all the editor locations.
 WSEditor getEditorAccess(java.net.URL location)
          Find an editor access by location.
 boolean open(java.io.File file)
          Deprecated. Use Workspace.open(URL) instead.
 
Methods inherited from interface ro.sync.exml.workspace.api.Workspace
chooseFile, chooseFile, chooseFile, chooseURL, chooseURL, chooseURLPath, clearImageCache, close, closeAll, createJavaProcess, createNewEditor, delete, getDataSourceAccess, getLicenseInformationProvider, getParentFrame, getPreferencesDirectory, getUserInterfaceLanguage, getVersion, isStandalone, open, open, openInExternalApplication, refreshInProject, saveAll, setParentFrameTitle, showConfirmDialog, showConfirmDialog, showErrorMessage, showInformationMessage, showStatusMessage
 

Method Detail

open

@Deprecated
boolean open(java.io.File file)
Deprecated. Use Workspace.open(URL) instead.

Opens the specified File in a new editor.

Parameters:
file - The file to be opened.
Returns:
true if the operation has succeeded.

getAllEditorLocations

java.net.URL[] getAllEditorLocations()
Get all the editor locations.

Returns:
All the editor locations in the main editing area or empty array if no editor is opened.
Since:
13.2

getEditorAccess

WSEditor getEditorAccess(java.net.URL location)
Find an editor access by location.

Parameters:
location - The editor location
Returns:
access to the found editor or null if no editor found with that location URL.
Since:
13.2

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.