o

org.nlogo.workspace

ModelsLibrary

object ModelsLibrary

Source
ModelsLibrary.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModelsLibrary
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class JNode extends DefaultMutableTreeNode
  2. case class Leaf(name: String, path: String) extends Node with Product with Serializable
  3. sealed trait Node extends AnyRef
  4. case class Tree(name: String, path: String, children: Seq[Node])(implicit childOrdering: Ordering[String]) extends Node with Product with Serializable

Value Members

  1. def findModelsBySubstring(targetName: String): Seq[String]
  2. def getImagePath(filePath: String): String
  3. def getModelPath(targetName: String): Option[String]

    scans for and returns the full path name to the given model in the models library.

    scans for and returns the full path name to the given model in the models library.

    targetName

    the name of the model to scan for, not including the ".nlogo" extension.

    returns

    the path to the model, or None if no such model is in the library.

  4. def getModelPaths(exclusive: Boolean, useExtensionExamples: Boolean): Array[String]
  5. def getModelPaths(exclusive: Boolean): Array[String]
  6. def getModelPaths: Array[String]
  7. def getModelPathsAtRoot(path: String): Array[String]
  8. def modelsRoot: String
  9. def needsModelScan: Boolean
  10. var rootNode: Option[Node]
  11. def scanForModels(exclusive: Boolean, useExtensionExamples: Boolean): Unit
  12. def scanForModels(exclusive: Boolean): Unit
  13. def scanForModelsAtRoot(path: String, exclusive: Boolean): Option[Node]
  14. object NLogoModelOrdering extends Ordering[String]
  15. object Tree extends Serializable