Class SimpleEditor

All Implemented Interfaces:
IExtendable, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class SimpleEditor extends CommonModuleFrame
UI for creating new OpgraphEditor documents using existing documents. This UI is used for both OpGraph analysis and report document types.
See Also:
  • Constructor Details

    • SimpleEditor

      public SimpleEditor(Project project, OpGraphLibrary library, EditorModelInstantiator modelInstantiator, ca.phon.opgraph.library.instantiators.Instantiator<ca.phon.opgraph.nodes.general.MacroNode> nodeInstantiator, BiFunction<QueryScript,ca.phon.opgraph.OpGraph,ca.phon.opgraph.nodes.general.MacroNode> queryNodeInstantiator, BiFunction<ca.phon.opgraph.OpGraph,Project,Runnable> runFactory)
    • SimpleEditor

      public SimpleEditor(Project project, OpGraphLibrary library, ca.phon.opgraph.OpGraph graph, EditorModelInstantiator modelInstantiator, ca.phon.opgraph.library.instantiators.Instantiator<ca.phon.opgraph.nodes.general.MacroNode> nodeInstantiator, BiFunction<QueryScript,ca.phon.opgraph.OpGraph,ca.phon.opgraph.nodes.general.MacroNode> queryNodeInstantiator, BiFunction<ca.phon.opgraph.OpGraph,Project,Runnable> runFactory)
      Constructor
      Parameters:
      project - if null project graphs will not be displayed
      library - library display in add item dialog
      graph - the graph to be used
      modelInstantiator - the editor model instantiator
      nodeInstantiator - instantiator for nodes created by adding documents from the library
      queryNodeInstantiator - instantiator for nodes created by adding queries to the doucment
      runFactory - factory for runnables used to execute graphs
  • Method Details