java.lang.Object org.nlogo.api.DefaultClassManager
public abstract class DefaultClassManager
An abstract, partial implementation of ClassManager that implements
runOnce()
and unload()
with empty methods.
ClassManager
Constructor Summary | |
---|---|
DefaultClassManager()
|
Method Summary | |
---|---|
abstract void |
load(PrimitiveManager primManager)
Loads the primitives in the extension. |
ExtensionObject |
readExtensionObject(ExtensionManager em,
String typeName,
String value)
Return a new NetLogo ExtensionObject instance of the specified typeName, initialized by stringrep |
void |
runOnce(ExtensionManager em)
Empty implementation. |
void |
unload()
Empty implementation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultClassManager()
Method Detail |
---|
public void runOnce(ExtensionManager em) throws ExtensionException
runOnce
in interface ClassManager
ExtensionException
public abstract void load(PrimitiveManager primManager) throws ExtensionException
load
in interface ClassManager
primManager
- The manager to transport the primitives to NetLogo
ExtensionException
public void unload() throws ExtensionException
unload
in interface ClassManager
ExtensionException
public ExtensionObject readExtensionObject(ExtensionManager em, String typeName, String value) throws ExtensionException
ClassManager
readExtensionObject
in interface ClassManager
ExtensionException