Package ca.phon.app.session.editor
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecordEditorPerspective[]
Get the list of available perspectivesstatic void
deletePerspective
(RecordEditorPerspective perspective) Attempt to delete the given perspectivegetName()
static RecordEditorPerspective
getPerspective
(String name) Get the perspective with the given name.Get stock perspectives.Get user perspectives.void
setLocation
(URL location) void
-
Field Details
-
DEFAULT_PERSPECTIVE_NAME
- See Also:
-
LAST_USED_PERSPECTIVE_NAME
- See Also:
-
PERSPECTIVES_FOLDER
-
-
Constructor Details
-
RecordEditorPerspective
public RecordEditorPerspective() -
RecordEditorPerspective
-
RecordEditorPerspective
-
-
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
-