Components

org.nlogo.workspace.Components
trait Components extends AbstractWorkspace

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
Graph
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

Members list

Value members

Concrete methods

def addComponent[A <: AnyRef](componentClass: Class[A], component: A): Unit

Attributes

Source
Components.scala
def addLifecycle[A <: AnyRef](lifecycle: ComponentLifecycle[A]): Unit

Attributes

Source
Components.scala
def dispose(): Unit

Attributes

Source
Components.scala
def getComponent[A <: AnyRef](componentClass: Class[A]): Option[A]

Attributes

Source
Components.scala

Inherited methods

def addCustomShapes(filename: String): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def addJobFromJobThread(x$0: Job): Unit

Attributes

Inherited from:
AbstractWorkspace
def auxRNG(): MersenneTwisterFast

Attributes

Inherited from:
AbstractWorkspace
def beep(): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def breathe(x$0: Context): Unit

Attributes

Inherited from:
AbstractWorkspace
def compileForRun(x$0: String, x$1: Context, x$2: Boolean): Procedure

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Returns

plotCompilationErrorAction action to take if a plot compilation error occurs

Inherited from:
Controllable
Source
Controllable.scala

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace
def guessExportName(x$0: String): String

Attributes

Inherited from:
AbstractWorkspace
def halt(): Unit

Attributes

Inherited from:
AbstractWorkspace
def importDrawing(x$0: String): Unit

Attributes

Inherited from:
AbstractWorkspace
def importExtensionData(x$0: String, x$1: List[Array[String]], x$2: ImportErrorHandler): Unit

Attributes

Inherited from:
AbstractWorkspace
def importWorld(x$0: Reader): Unit

Attributes

Inherited from:
AbstractWorkspace
def importWorld(x$0: String): Unit

Attributes

Inherited from:
AbstractWorkspace
def isExtensionName(x$0: String): Boolean

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace
def mainRNG(): MersenneTwisterFast

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def open(path: String): Unit

Attributes

Inherited from:
Controllable
Source
Controllable.scala
def openModel(model: Model): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace
def setOutputAreaContents(x$0: String): Unit

Attributes

Inherited from:
AbstractWorkspace

Value parameters

plotCompilationErrorAction

action to take if a plot compilation error occurs Throw - Throw the first error Output - Output all errors Ignore - Do nothing

Attributes

Inherited from:
Controllable
Source
Controllable.scala

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace
def updateUI(): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def userOneOf(msg: String, xs: LogoList): Option[AnyRef]

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def warningMessage(x$0: String): Boolean

Attributes

Inherited from:
AbstractWorkspace

Inherited and Abstract methods

Attributes

Inherited from:
AbstractWorkspace
def attachModelDir(filePath: String): String

Attributes

Inherited from:
ExtendableWorkspace
Source
ExtendableWorkspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def benchmark(minTime: Int, maxTime: Int): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def breathe(): Unit

Attributes

Inherited from:
AbstractWorkspace
def changeTopology(wrapX: Boolean, wrapY: Boolean): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala
def clearAll(): Unit

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def clearOutput(): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def clearTicks(): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def command(source: String): Unit

Attributes

Inherited from:
Controllable
Source
Controllable.scala
def compileCommands(source: String, agentKind: AgentKind): Procedure

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
AbstractWorkspace

completedActivations is used by __thunk-did-finish

completedActivations is used by __thunk-did-finish

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
EditorWorkspace
Source
Workspace.scala
def currentPlot(plot: String): Unit

Attributes

Inherited from:
ImporterUser
Source
ImporterUser.scala

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala
def evaluateCommands(owner: JobOwner, source: String, agents: AgentSet, waitForCompletion: Boolean): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def evaluateCommands(owner: JobOwner, source: String, agent: Agent, waitForCompletion: Boolean): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def evaluateCommands(owner: JobOwner, source: String, waitForCompletion: Boolean): Unit

Attributes

Inherited from:
Controllable
Source
Controllable.scala
def evaluateCommands(owner: JobOwner, source: String): Unit

Attributes

Inherited from:
Controllable
Source
Controllable.scala
def evaluateReporter(owner: JobOwner, source: String, agents: AgentSet): AnyRef

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def evaluateReporter(owner: JobOwner, source: String, agent: Agent): AnyRef

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def evaluateReporter(owner: JobOwner, source: String): AnyRef

Attributes

Inherited from:
Controllable
Source
Controllable.scala
def exportAllPlots(path: String): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def exportDrawing(path: String, format: String): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def exportOutput(path: String): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def exportPlot(plotName: String, path: String): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def exportView: BufferedImage

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def exportView(path: String, format: String): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def exportWorld(writer: PrintWriter): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def exportWorld(path: String): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
ExtendableWorkspace
Source
ExtendableWorkspace.scala
def fontSize: Int

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala
def getAndCreateDrawing(): BufferedImage

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
ImporterUser
Source
ImporterUser.scala
def getTokenAtPosition(source: String, position: Int): Token

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def hubNetRunning_=(running: Boolean): Unit

Attributes

Inherited from:
HubNetWorkspaceInterface
Source
HubNetWorkspaceInterface.scala
def init(): Unit

Attributes

Inherited from:
AbstractWorkspace
def inspectAgent(agentKind: AgentKind, agent: Agent, radius: Double): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def inspectAgent(agent: Agent, radius: Double): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

lastRunTimes is used by every to track how long ago a job ran

lastRunTimes is used by every to track how long ago a job ran

Attributes

Inherited from:
AbstractWorkspace
def magicOpen(x$0: String): Unit

Attributes

Inherited from:
AbstractWorkspace
def makeCommandThunk(code: String, jobOwnerName: String, rng: MersenneTwisterFast): CommandLogoThunk

Attributes

Inherited from:
LogoThunkFactory
Source
LogoThunkFactory.scala
def makeCommandThunk(code: String, jobOwnerName: String): CommandLogoThunk

Attributes

Inherited from:
LogoThunkFactory
Source
LogoThunkFactory.scala
def makeReporterThunk(code: String, jobOwnerName: String): ReporterLogoThunk

Attributes

Inherited from:
LogoThunkFactory
Source
LogoThunkFactory.scala
def open(modelPath: String, shouldAutoInstallLibs: Boolean): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def openModel(model: Model, shouldAutoInstallLibs: Boolean): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def openString(x$0: String): Unit

Attributes

Inherited from:
AbstractWorkspace
def outputObject(obj: AnyRef, owner: AnyRef, addNewline: Boolean, readable: Boolean, destination: OutputDestination): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def ownerFinished(owner: JobOwner): Unit

Attributes

Inherited from:
JobManagerOwner
Source
JobManagerOwner.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def patchSize(patchSize: Double): Unit

Attributes

Inherited from:
WorldResizer
Source
WorldResizer.scala

Attributes

Inherited from:
JobManagerOwner
Source
JobManagerOwner.scala

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala
def plotRNG: MersenneTwisterFast

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def procedures(): ListMap[String, Procedure]

Attributes

Inherited from:
AbstractWorkspace
def procedures_=(procedures: ProceduresMap): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def readFromString(path: String): AnyRef

Attributes

Inherited from:
ExtendableWorkspace
Source
ExtendableWorkspace.scala
def readNumberFromString(source: String): Double

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def report(source: String): AnyRef

Attributes

Inherited from:
Controllable
Source
Controllable.scala

Attributes

Inherited from:
AbstractWorkspace
def resetTicks(c: Context): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def resizeView(): Unit

Attributes

Inherited from:
WorldResizer
Source
WorldResizer.scala
def runCompiledCommands(owner: JobOwner, procedure: Procedure): Boolean

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def runCompiledReporter(owner: JobOwner, procedure: Procedure): AnyRef

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def runtimeError(owner: JobOwner, context: Context, instruction: Instruction, ex: Exception): Unit

Attributes

Inherited from:
JobManagerOwner
Source
JobManagerOwner.scala
def seedRNGs(seed: Int): Unit

Attributes

Inherited from:
RandomServices
Source
RandomServices.scala
def sendOutput(x$0: OutputObject, x$1: Boolean): Unit

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def setDimensions(dim: WorldDimensions, patchSize: Double): Unit

Attributes

Inherited from:
WorldResizer
Source
WorldResizer.scala

Attributes

Inherited from:
WorldResizer
Source
WorldResizer.scala
def setModelPath(path: String): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def setProcedures(x$0: ListMap[String, Procedure]): Unit

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
ExtendableWorkspace
Source
ExtendableWorkspace.scala
def setupPlots(c: Context): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def tick(c: Context, originalInstruction: Instruction): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
CompilerServices
Source
CompilerServices.scala
def updateDisplay(haveWorldLockAlready: Boolean): Unit

Attributes

Inherited from:
JobManagerOwner
Source
JobManagerOwner.scala
def updatePlots(c: Context): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala

Attributes

Inherited from:
ViewSettings
Source
ViewSettings.scala
def waitFor(runnable: CommandRunnable): Unit

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def waitForResult[T](runnable: ReporterRunnable[T]): T

Attributes

Inherited from:
Workspace
Source
Workspace.scala
def world: World

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Attributes

Inherited from:
Workspace
Source
Workspace.scala

Deprecated and Inherited methods

def plotManager: AnyRef

Attributes

Deprecated
[Since version 6.1.2] Use `realPlotManager`
Inherited from:
Workspace
Source
Workspace.scala

Inherited fields

final val _world: World

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace
final val evaluator: Evaluator

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace

Attributes

Inherited from:
AbstractWorkspace