Class RecordEditorPerspective
java.lang.Object
ca.phon.app.session.editor.RecordEditorPerspective
Perspective for record editor docking views. This class
is just a pointer to the name and location of where the
perspective lives. It also provides methods for managing
the list of available perspectives.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecordEditorPerspective(String name, bibliothek.gui.dock.common.perspective.CPerspective perspective) RecordEditorPerspective(String name, String xmlData) RecordEditorPerspective(String name, URL location) -
Method Summary
Modifier and TypeMethodDescriptionstatic RecordEditorPerspective[]Get the list of available perspectivesstatic voiddeletePerspective(RecordEditorPerspective perspective) Attempt to delete the given perspectivegetName()bibliothek.gui.dock.common.perspective.CPerspectivegetPerspective(bibliothek.gui.dock.common.perspective.CControlPerspective perspectives) Return perspective or load from file if not already loadedstatic RecordEditorPerspectivegetPerspective(String name) Get the perspective with the given name.Get stock perspectives.Get user perspectives.voidsetLocation(URL location) void
-
Field Details
-
LAST_USED_PERSPECTIVE_NAME
- See Also:
-
PERSPECTIVES_FOLDER
-
-
Constructor Details
-
RecordEditorPerspective
public RecordEditorPerspective() -
RecordEditorPerspective
-
RecordEditorPerspective
-
RecordEditorPerspective
-
RecordEditorPerspective
public RecordEditorPerspective(String name, bibliothek.gui.dock.common.perspective.CPerspective perspective)
-
-
Method Details
-
availablePerspectives
Get the list of available perspectives -
getStockPerspectives
Get stock perspectives.- Returns:
- resource loader for stock perspectives
-
getUserPerspectives
Get user perspectives.- Returns:
- resource loader for user perspectives
-
deletePerspective
Attempt to delete the given perspective- Parameters:
perspective-
-
getPerspective
Get the perspective with the given name.- Parameters:
name-
-
getName
-
setName
-
getLocation
-
setLocation
-
getInputStream
- Throws:
IOException
-
getPerspective
public bibliothek.gui.dock.common.perspective.CPerspective getPerspective(bibliothek.gui.dock.common.perspective.CControlPerspective perspectives) Return perspective or load from file if not already loaded
-