FileManager

org.nlogo.app.FileManager
See theFileManager companion object
class FileManager(workspace: AbstractWorkspaceScala, modelLoader: AbstractModelLoader, modelConverter: ModelConversion, dirtyMonitor: DirtyMonitor, modelSaver: ModelSaver, eventRaiser: AnyRef, parent: Container, tabManager: TabManager) extends Handler, Handler

This class manages a number of file operations. Much of the code in here used to live in fileMenu, but it's obviously undesirable to couple the behavior in this class too closely to its presentation (the menu)

Attributes

Companion
object
Source
FileManager.scala
Graph
Supertypes
trait Handler
trait Handler
trait Handler
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def actions: Seq[Action]

Attributes

Source
FileManager.scala

Attributes

Source
FileManager.scala

Attributes

Source
FileManager.scala
def handle(e: OpenModelEvent): Unit

Attributes

Source
FileManager.scala
def handle(e: LoadModelEvent): Unit

Attributes

Source
FileManager.scala
def newModel(): Unit

Attributes

Source
FileManager.scala
def openFromPath(path: String, modelType: ModelType, shouldAutoInstallLibs: Boolean): Unit

opens a model from a file path.

opens a model from a file path.

Attributes

Source
FileManager.scala
def openFromSource(uri: URI, modelSource: String, modelType: ModelType): Unit

Attributes

Source
FileManager.scala
def openFromURI(uri: URI, modelType: ModelType, shouldAutoInstallLibs: Boolean): Unit

Attributes

Source
FileManager.scala
def openModel(uri: URI, model: Model, modelType: ModelType): Unit

Opens a model from the Model object. This must be called from the Swing event dispatch thread.

Opens a model from the Model object. This must be called from the Swing event dispatch thread.

Attributes

Source
FileManager.scala
def quit(): Unit

Attributes

Source
FileManager.scala

Attributes

Source
FileManager.scala

Concrete fields