c

org.nlogo.workspace

ExtensionPrimitiveManager

class ExtensionPrimitiveManager extends PrimitiveManager

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

Instance Constructors

  1. new ExtensionPrimitiveManager(name: String)

Value Members

  1. def addPrimitive(name: String, prim: Primitive): Unit

    Adds a new primitive.

    Adds a new primitive. The primitive remains effective as long as this model remains loaded.

    name

    the name of the primitive that will be use in NetLogo code

    prim

    an instance of Primitive to associate with name

    Definition Classes
    ExtensionPrimitiveManagerPrimitiveManager
  2. var autoImportPrimitives: Boolean
  3. def getPrimitive(name: String): Primitive

    Returns the primitive associated with a name.

    Returns the primitive associated with a name.

    name

    the name of the primitive

    returns

    the primitive associated with name, or null if there isn't one

  4. def getPrimitiveNames(): Iterator[String]

    Returns the names of all imported primitives.

  5. val name: String