sealed trait PreviewCommands extends ModelSaveable
A model's "preview commands" are the commands that are used to
generate the preview that appears in the Models Library dialog,
the NetLogo website (http://ccl.northwestern.edu/netlogo/models/),
the Modeling Commons (http://www.modelingcommons.org/) and potentially
other places. By default, they're just setup repeat 75 [ go ]
but
they can be customized. Some models require manually generated previews.
Preview commands are always run in a fresh headless workspace with
random-seed 0
called before opening the model. The startup
procedure, if present, runs before the preview commands.
- Source
- PreviewCommands.scala
- Alphabetic
- By Inheritance
- PreviewCommands
- ModelSaveable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Concrete Value Members
-
def
toString(): String
- Definition Classes
- PreviewCommands → AnyRef → Any
-
def
updateModel(m: Model): Model
- Definition Classes
- PreviewCommands → ModelSaveable