Packages

t

org.nlogo.api

ExtensionManager

trait ExtensionManager extends core.ExtensionManager

ExtensionManager provides some methods that can be used in runOnce

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

Abstract Value Members

  1. abstract def anyExtensionsLoaded: Boolean
    Definition Classes
    ExtensionManager
  2. abstract def dumpExtensionPrimitives(): String
  3. abstract def dumpExtensions: String
  4. abstract def finishFullCompilation(): Unit
    Definition Classes
    ExtensionManager
  5. abstract def importExtension(jarPath: String, errors: ErrorSource): Unit
    Definition Classes
    ExtensionManager
  6. abstract def loadedExtensions: Iterable[ClassManager]

    uses java.lang.Iterable for easy access from Java

  7. abstract def readExtensionObject(extname: String, typeName: String, value: String): ExtensionObject
    Definition Classes
    ExtensionManager → ExtensionManager
  8. abstract def readFromString(src: String): AnyRef
  9. abstract def replaceIdentifier(name: String): Primitive
    Definition Classes
    ExtensionManager
  10. abstract def reset(): Unit

    Instructs any loaded extensions to unload.

    Instructs any loaded extensions to unload. Should be called previous to a new model load.

  11. abstract def retrieveObject: AnyRef

    returns

    the stored object

  12. abstract def startFullCompilation(): Unit
    Definition Classes
    ExtensionManager
  13. abstract def storeObject(obj: AnyRef): Unit

    Stores an object for the extension that can be retrieved in runOnce if the extension is loaded again.

    Stores an object for the extension that can be retrieved in runOnce if the extension is loaded again. This is useful if the extension has initialization it needs to perform that should only happen once, even if the extension is loaded multiple times.

    obj

    the object to be stored