ModelFormat

org.nlogo.api.ModelFormat
trait ModelFormat[Section, Format <: ModelFormat[Section, Format]]

Attributes

Source
ModelFormat.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def codeComponent: ComponentSerialization[Section, Format]

Attributes

Source
ModelFormat.scala
def infoComponent: ComponentSerialization[Section, Format]

Attributes

Source
ModelFormat.scala

Attributes

Source
ModelFormat.scala
def isCompatible(source: String): Boolean

Attributes

Source
ModelFormat.scala
def isCompatible(location: URI): Boolean

Attributes

Source
ModelFormat.scala
def isCompatible(model: Model): Boolean

Attributes

Source
ModelFormat.scala

Attributes

Source
ModelFormat.scala
def name: String

Attributes

Source
ModelFormat.scala
def readExperiments(source: String, editNames: Boolean, existingNames: Set[String]): Try[(Seq[LabProtocol], Set[String])]

Attributes

Source
ModelFormat.scala
def sections(location: URI): Try[Map[String, Section]]

Attributes

Source
ModelFormat.scala
def sectionsFromSource(source: String): Try[Map[String, Section]]

Attributes

Source
ModelFormat.scala
def sectionsToSource(sections: Map[String, Section]): Try[String]

Attributes

Source
ModelFormat.scala
def shapesComponent: ComponentSerialization[Section, Format]

Attributes

Source
ModelFormat.scala
def version: ComponentSerialization[Section, Format]

Attributes

Source
ModelFormat.scala
def writeExperiments(experiments: Seq[LabProtocol], writer: Writer): Try[Unit]

Attributes

Source
ModelFormat.scala
def writeSections(sections: Map[String, Section], location: URI): Try[URI]

Attributes

Source
ModelFormat.scala

Concrete methods

Attributes

Source
ModelFormat.scala
def constructModel(components: Seq[ComponentSerialization[Section, Format]], sections: Map[String, Section]): Try[Model]

Attributes

Source
ModelFormat.scala

Attributes

Source
ModelFormat.scala
def emptyModel(optionalComponents: Seq[ComponentSerialization[Section, Format]]): Model

Attributes

Source
ModelFormat.scala
def load(source: String, optionalComponents: Seq[ComponentSerialization[Section, Format]]): Try[Model]

Attributes

Source
ModelFormat.scala
def load(location: URI, optionalComponents: Seq[ComponentSerialization[Section, Format]]): Try[Model]

Attributes

Source
ModelFormat.scala
def save(model: Model, uri: URI, optionalComponents: Seq[ComponentSerialization[Section, Format]]): Try[URI]

Attributes

Source
ModelFormat.scala
def sourceString(model: Model, optionalComponents: Seq[ComponentSerialization[Section, Format]]): Try[String]

Attributes

Source
ModelFormat.scala