Package ca.phon.app.opgraph.analysis
Class AnalysisOpGraphEditorModel
java.lang.Object
ca.phon.opgraph.app.GraphEditorModel
ca.phon.app.opgraph.editor.OpgraphEditorModel
ca.phon.app.opgraph.analysis.AnalysisOpGraphEditorModel
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.phon.app.opgraph.editor.OpgraphEditorModel
OpgraphEditorModel.ViewLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected JComponent
Get the default folder when displaying the open/save dialog.getIconForView
(String viewName) Get the view icongetInitialViewBounds
(String viewName) Get initial view location as a rectangle.getNoun()
Return the noun associated with the type of graph.getTitle()
Return the editor title for the given model.protected Map<String,
JComponent> getViewMinimizeLocation
(String viewName) Get the minimize location for the given viewprotected WizardExtension
boolean
isInitiallyMinimized
(String viewName) void
setupContext
(ca.phon.opgraph.OpContext context) Called just before starting debuging.boolean
validate()
Validate document before saving.Methods inherited from class ca.phon.app.opgraph.editor.OpgraphEditorModel
getAvailableViewNames, getCanvas, getLibraryView, getNodeSettings, getScriptNodeEditor, getView
Methods inherited from class ca.phon.opgraph.app.GraphEditorModel
getBreadcrumb, getConsolePanel, getDebugInfoPanel, getDocument, getGraphOutline, getMenuProviders, getNodeFieldsPanel, getNodeLibrary
-
Constructor Details
-
AnalysisOpGraphEditorModel
public AnalysisOpGraphEditorModel() -
AnalysisOpGraphEditorModel
public AnalysisOpGraphEditorModel(ca.phon.opgraph.OpGraph opgraph)
-
-
Method Details
-
getParticipantSelector
-
getWizardExtension
-
getNoun
Description copied from class:OpgraphEditorModel
Return the noun associated with the type of graph. The first element of theTuple
is the singleton version, while the second element is the plural. String should be returned as all lower case.- Specified by:
getNoun
in classOpgraphEditorModel
- Returns:
- Tupleinvalid input: '<'String, String>
-
getViewMap
- Overrides:
getViewMap
in classOpgraphEditorModel
-
getDebugSettings
-
getViewMinimizeLocation
Description copied from class:OpgraphEditorModel
Get the minimize location for the given view- Overrides:
getViewMinimizeLocation
in classOpgraphEditorModel
- Returns:
- minimize location for view
-
getIconForView
Description copied from class:OpgraphEditorModel
Get the view icon- Overrides:
getIconForView
in classOpgraphEditorModel
- Returns:
- icon for view
-
getInitialViewBounds
Description copied from class:OpgraphEditorModel
Get initial view location as a rectangle.- Overrides:
getInitialViewBounds
in classOpgraphEditorModel
- Returns:
- initial view rect
-
isInitiallyMinimized
- Overrides:
isInitiallyMinimized
in classOpgraphEditorModel
-
getDefaultFolder
Description copied from class:OpgraphEditorModel
Get the default folder when displaying the open/save dialog.- Overrides:
getDefaultFolder
in classOpgraphEditorModel
- Returns:
- folder path
-
getTitle
Description copied from class:OpgraphEditorModel
Return the editor title for the given model.- Specified by:
getTitle
in classOpgraphEditorModel
- Returns:
- title
-
validate
public boolean validate()Description copied from class:OpgraphEditorModel
Validate document before saving.- Overrides:
validate
in classOpgraphEditorModel
- Returns:
true
if document (graph) is valid,false
otherwise
-
setupContext
public void setupContext(ca.phon.opgraph.OpContext context) Description copied from class:OpgraphEditorModel
Called just before starting debuging.- Overrides:
setupContext
in classOpgraphEditorModel
-