NetLogo API
version 3.1.5

org.nlogo.api
Interface PrimitiveManager


public interface PrimitiveManager

PrimitiveManager ships extension primitives and associated names to NetLogo.


Method Summary
 void addConfigurable(Configurable config)
           
 void addPrimitive(String name, Primitive prim)
          Adds a new primitive.
 Iterator getConfigurables()
           
 

Method Detail

addPrimitive

void addPrimitive(String name,
                  Primitive prim)
Adds a new primitive. The primitive remains effective as long as this model remains loaded.

Parameters:
name - the name of the primitive that will be use in NetLogo code
prim - an instance of Primitive to associate with name

addConfigurable

void addConfigurable(Configurable config)

getConfigurables

Iterator getConfigurables()

NetLogo API
version 3.1.5