org.nlogo.workspace

Members list

Type members

Classlikes

Attributes

Source
AbstractWorkspaceScala.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Benchmarker

Attributes

Source
Benchmarker.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class BufferedReaderImporter(val filename: String)

Attributes

Source
BufferedReaderImporter.scala
Supertypes
class Object
trait Matchable
class Any
object Checksummer

Attributes

Source
Checksummer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Compiling extends CompilerServices

Attributes

Source
Compiling.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
AbstractWorkspace
trait ComponentLifecycle[A <: AnyRef]

Attributes

Source
ComponentLifecycle.scala
Supertypes
class Object
trait Matchable
class Any
class ComponentPair[A <: AnyRef](klass: Class[A], lifecycle: Option[ComponentLifecycle[A]], var component: Option[A])

Attributes

Source
Components.scala
Supertypes
class Object
trait Matchable
class Any
trait Components extends AbstractWorkspace

Components manages components which are dynamically registered with the Workspace

Components manages components which are dynamically registered with the Workspace

At the moment, it just holds and returns those components. Perhaps in the future we could have a more advanced component lifecycle where components could be initialized, disposed, and made aware of workspace events (like ticks)

Attributes

Source
Components.scala
Supertypes
class AbstractWorkspace
trait Workspace
trait Workspace
trait Controllable
trait ViewSettings
trait ImporterUser
trait WorldResizer
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Controllable

Interface provides access to the NetLogo controlling API's report and command methods found in methods independent of App.app and headless.HeadlessWorkspace. This is useful for making java software that can run NetLogo in both GUI and Headless mode.

Interface provides access to the NetLogo controlling API's report and command methods found in methods independent of App.app and headless.HeadlessWorkspace. This is useful for making java software that can run NetLogo in both GUI and Headless mode.

Attributes

Source
Controllable.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class App
trait Evaluating

Attributes

Source
Evaluating.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
AbstractWorkspace
class Evaluator(workspace: AbstractWorkspace)

Attributes

Companion
object
Source
Evaluator.scala
Supertypes
class Object
trait Matchable
class Any
object Evaluator

Attributes

Companion
class
Source
Evaluator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Evaluator.type
object ExportOutput

Attributes

Source
ExportOutput.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
Exporting.scala
Supertypes
trait ModelTracker
trait Plotting
class Object
trait Matchable
class Any
Known subtypes
Self type
AbstractWorkspace

Attributes

Source
ExtendableWorkspace.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
ExtensionInstaller.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Some simple notes on loading and unloading extensions:

Some simple notes on loading and unloading extensions:

  • The load method is called when an extension appears in the extensions block when it wasn't there in the last compilation
  • The unload method is called when an extension is removed from the extensions block

ExtensionManager lifecycle call chart. In [square brackets] are methods called on the extension manager. In {curly braces} are the methods called on the class manager of the extension. Conditions are specified in (parens)

[startFullCompilation] // called by compiler | | (no exts) (ext foo) | | | v | [importExtension(foo)] // called by compiler | | | | (foo loaded) (foo not loaded) | | | | v v | {unload} {runOnce} | | | | v v | +-----{load} | | | // return control to compiler |(foo:bar not used) (foo:bar used) | | | | | v | | [replaceIdentifer(foo:bar)] // foo added to live set | | | | | | v v v [finishFullCompilation] | | | (no ext) (foo live) (foo not live) | | | --- --- v {unload} | ---

Attributes

Companion
class
Source
ExtensionManager.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class ExtensionManager(val workspace: ExtendableWorkspace, loader: ExtensionLoader) extends ExtensionManager

Attributes

Companion
object
Source
ExtensionManager.scala
Supertypes
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ExtensionManagerException.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class ExtensionManagerException(message: String, val cause: Cause) extends Exception

Attributes

Companion
object
Source
ExtensionManagerException.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Source
ExtensionPrimitiveManager.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
AbstractWorkspaceScala.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JarLoader(workspace: ExtendableWorkspace) extends ExtensionLoader

Attributes

Source
JarLoader.scala
Supertypes
class Object
trait Matchable
class Any
trait ModelTracker

This trait holds the state of the workspace with respect to various facets related to (but external from) the model. These include:

This trait holds the state of the workspace with respect to various facets related to (but external from) the model. These include:

  • the model path
  • the model file name
  • the model type (new, library, "normal")

At some point in the future this trait could be modified to hold the model itself. At the moment, that bit of state is handled by ModelSaver, but only because nothing in the workspace needs it directly. RG 5/12/16

Attributes

Source
ModelTracker.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ModelsLibrary

Attributes

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

Attributes

Companion
trait
Source
OpenModel.scala
Supertypes
class Object
trait Matchable
class Any
Self type
OpenModel.type
trait OpenModel[OpenParameter]

Attributes

Companion
object
Source
OpenModel.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object OpenModelFromSource extends OpenModel[(URI, String)]

Attributes

Source
OpenModel.scala
Supertypes
trait OpenModel[(URI, String)]
class Object
trait Matchable
class Any
Self type
object OpenModelFromURI extends OpenModel[URI]

Attributes

Source
OpenModel.scala
Supertypes
trait OpenModel[URI]
class Object
trait Matchable
class Any
Self type
trait Plotting

Attributes

Source
Plotting.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
AbstractWorkspace

Attributes

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

Attributes

Companion
object
Source
PreviewCommandsRunner.scala
Supertypes
class Object
trait Matchable
class Any
trait SaveModel

Attributes

Companion
object
Source
SaveModel.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SaveModel
object SaveModelAs
object SaveModel extends SaveModel

Attributes

Companion
trait
Source
SaveModel.scala
Supertypes
trait SaveModel
class Object
trait Matchable
class Any
Self type
SaveModel.type
object SaveModelAs extends SaveModel

Attributes

Source
SaveModel.scala
Supertypes
trait SaveModel
class Object
trait Matchable
class Any
Self type

Attributes

Source
WorkspaceFactory.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class WorldLoader

Attributes

Source
WorldLoader.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class WorldLoader3D extends WorldLoader

Attributes

Source
WorldLoader.scala
Supertypes
class WorldLoader
class Object
trait Matchable
class Any

Attributes

Source
WorldLoaderInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes