ModelsLibrary

org.nlogo.workspace.ModelsLibrary
object ModelsLibrary

Attributes

Source
ModelsLibrary.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class JNode(val name: String, val path: String, val isFolder: Boolean) extends DefaultMutableTreeNode

Attributes

Source
ModelsLibrary.scala
Supertypes
class DefaultMutableTreeNode
trait Serializable
trait MutableTreeNode
trait TreeNode
trait Cloneable
class Object
trait Matchable
class Any
Show all
case class Leaf(name: String, path: String) extends Node

Attributes

Source
ModelsLibrary.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
class Object
trait Matchable
class Any
Show all

Attributes

Source
ModelsLibrary.scala
Supertypes
trait Ordering[String]
trait Equiv[String]
trait Serializable
trait Comparator[String]
class Object
trait Matchable
class Any
Show all
Self type
sealed trait Node

Attributes

Source
ModelsLibrary.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Leaf
class Tree
case class Tree(name: String, path: String, children: Seq[Node])(implicit childOrdering: Ordering[String]) extends Node

Attributes

Companion
object
Source
ModelsLibrary.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
class Object
trait Matchable
class Any
Show all
object Tree

Attributes

Companion
class
Source
ModelsLibrary.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Tree.type

Value members

Concrete methods

def findModelsBySubstring(targetName: String): Seq[String]

Attributes

Source
ModelsLibrary.scala
def getImagePath(filePath: String): String

Attributes

Source
ModelsLibrary.scala
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.

Value parameters

targetName

the name of the model to scan for, not including the ".nlogox(3d)" extension.

Attributes

Returns

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

Source
ModelsLibrary.scala

Attributes

Source
ModelsLibrary.scala
def getModelPaths(exclusive: Boolean): Array[String]

Attributes

Source
ModelsLibrary.scala
def getModelPaths(exclusive: Boolean, useExtensionExamples: Boolean): Array[String]

Attributes

Source
ModelsLibrary.scala

Attributes

Source
ModelsLibrary.scala

Attributes

Source
ModelsLibrary.scala

Attributes

Source
ModelsLibrary.scala
def scanForModels(exclusive: Boolean): Unit

Attributes

Source
ModelsLibrary.scala
def scanForModels(exclusive: Boolean, useExtensionExamples: Boolean): Unit

Attributes

Source
ModelsLibrary.scala
def scanForModelsAtRoot(path: String, exclusive: Boolean): Option[Node]

Attributes

Source
ModelsLibrary.scala

Concrete fields

Attributes

Source
ModelsLibrary.scala