Class AnalysisOpGraphEditorModel
java.lang.Object
ca.phon.opgraph.app.GraphEditorModel
ca.phon.app.opgraph.editor.OpgraphEditorModel
ca.phon.app.opgraph.analysis.AnalysisOpGraphEditorModel
opgraph editor model for analysis graphs.
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.phon.app.opgraph.editor.OpgraphEditorModel
OpgraphEditorModel.ViewLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JComponentGet 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 WizardExtensionbooleanisInitiallyMinimized(String viewName) voidsetupContext(ca.phon.opgraph.OpContext context) Called just before starting debuging.booleanvalidate()Validate document before saving.Methods inherited from class ca.phon.app.opgraph.editor.OpgraphEditorModel
getAvailableViewNames, getCanvas, getLibraryView, getNodeSettings, getScriptNodeEditor, getViewMethods 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:OpgraphEditorModelReturn the noun associated with the type of graph. The first element of theTupleis the singleton version, while the second element is the plural. String should be returned as all lower case.- Specified by:
getNounin classOpgraphEditorModel- Returns:
- Tupleinvalid input: '<'String, String>
-
getViewMap
- Overrides:
getViewMapin classOpgraphEditorModel
-
getDebugSettings
-
getViewMinimizeLocation
Description copied from class:OpgraphEditorModelGet the minimize location for the given view- Overrides:
getViewMinimizeLocationin classOpgraphEditorModel- Parameters:
viewName-- Returns:
- minimize location for view
-
getIconForView
Description copied from class:OpgraphEditorModelGet the view icon- Overrides:
getIconForViewin classOpgraphEditorModel- Parameters:
viewName-- Returns:
- icon for view
-
getInitialViewBounds
Description copied from class:OpgraphEditorModelGet initial view location as a rectangle.- Overrides:
getInitialViewBoundsin classOpgraphEditorModel- Parameters:
viewName-- Returns:
- initial view rect
-
isInitiallyMinimized
- Overrides:
isInitiallyMinimizedin classOpgraphEditorModel
-
getDefaultFolder
Description copied from class:OpgraphEditorModelGet the default folder when displaying the open/save dialog.- Overrides:
getDefaultFolderin classOpgraphEditorModel- Returns:
- folder path
-
getTitle
Description copied from class:OpgraphEditorModelReturn the editor title for the given model.- Specified by:
getTitlein classOpgraphEditorModel- Returns:
- title
-
validate
public boolean validate()Description copied from class:OpgraphEditorModelValidate document before saving.- Overrides:
validatein classOpgraphEditorModel- Returns:
trueif document (graph) is valid,falseotherwise
-
setupContext
public void setupContext(ca.phon.opgraph.OpContext context) Description copied from class:OpgraphEditorModelCalled just before starting debuging.- Overrides:
setupContextin classOpgraphEditorModel- Parameters:
context-
-