|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginWorkspace
Access the entire workspace of Oxygen.
Field Summary | |
---|---|
static int |
DITA_MAPS_EDITING_AREA
The DITA Maps editing area |
static int |
MAIN_EDITING_AREA
The main editing area in Oxygen |
Method Summary | |
---|---|
void |
addEditorChangeListener(WSEditorChangeListener editorListener,
int editingArea)
Add listener for editor related events(for example editor opened, closed, page changed). |
java.net.URL[] |
getAllEditorLocations(int editingArea)
Get all the editor locations. |
WSEditor |
getCurrentEditorAccess(int editingArea)
Get access to the current selected editor. |
WSEditor |
getEditorAccess(java.net.URL location,
int editingArea)
Find an editor access by location |
WSOptionsStorage |
getOptionsStorage()
This interface can be used to save and persist in the Oxygen preferences user-defined keys and values. |
UtilAccess |
getUtilAccess()
Get access to utility methods. |
XMLUtilAccess |
getXMLUtilAccess()
Access to XML utilities. |
void |
removeEditorChangeListener(WSEditorChangeListener editorListener,
int editingArea)
Remove listener for editor related events. |
Methods inherited from interface ro.sync.exml.workspace.api.Workspace |
---|
chooseFile, chooseFile, chooseURL, close, closeAll, createJavaProcess, createNewEditor, delete, getLicenseInformationProvider, getParentFrame, getPreferencesDirectory, getUserInterfaceLanguage, getVersion, isStandalone, open, openInExternalApplication, refreshInProject, saveAll, setParentFrameTitle, showConfirmDialog, showErrorMessage, showInformationMessage, showStatusMessage |
Field Detail |
---|
static final int MAIN_EDITING_AREA
static final int DITA_MAPS_EDITING_AREA
Method Detail |
---|
java.net.URL[] getAllEditorLocations(int editingArea)
editingArea
- One of the constants in this class:
MAIN_EDITING_AREA
- for the editors in the main Oxygen workspace area.
DITA_MAPS_EDITING_AREA
- for the editors in the DITA Maps Manager view workspace area.
WSEditor getEditorAccess(java.net.URL location, int editingArea)
location
- The editor locationeditingArea
- One of the constants in this class:
MAIN_EDITING_AREA
- for the editors in the main Oxygen workspace area.
DITA_MAPS_EDITING_AREA
- for the editors in the DITA Maps Manager view workspace area.
null
if no editor found with that location URL.WSEditor getCurrentEditorAccess(int editingArea)
editingArea
- One of the constants in this class:
MAIN_EDITING_AREA
- for the editors in the main Oxygen workspace area.
DITA_MAPS_EDITING_AREA
- for the editors in the DITA Maps Manager view workspace area.
null
if no editor is opened.XMLUtilAccess getXMLUtilAccess()
UtilAccess getUtilAccess()
void addEditorChangeListener(WSEditorChangeListener editorListener, int editingArea)
editingArea
- One of the constants in this class:
MAIN_EDITING_AREA
- for the editors in the main Oxygen workspace area.
DITA_MAPS_EDITING_AREA
- for the editors in the DITA Maps Manager view workspace area.
editorListener
- The listener notified when an editor is added, removed or the editor page is changed.void removeEditorChangeListener(WSEditorChangeListener editorListener, int editingArea)
editingArea
- One of the constants in this class:
MAIN_EDITING_AREA
- for the editors in the main Oxygen workspace area.
DITA_MAPS_EDITING_AREA
- for the editors in the DITA Maps Manager view workspace area.
editorListener
- The listener notified when an editor is added, removed or the editor page is changed.WSOptionsStorage getOptionsStorage()
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |