TempFileModelTracker

org.nlogo.app.DirtyMonitor.TempFileModelTracker

Attributes

Source
DirtyMonitor.scala
Graph
Supertypes
trait ModelTracker
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def getModelFileUri: Option[URI]

Attributes

Definition Classes
Source
DirtyMonitor.scala
override def getModelType: ModelType

Attributes

Definition Classes
Source
DirtyMonitor.scala

Inherited methods

instantly converts the current model to ModelTypeJ.NORMAL. This is used by the __edit command to enable quick saving of library models. It shouldn't be used anywhere else.

instantly converts the current model to ModelTypeJ.NORMAL. This is used by the __edit command to enable quick saving of library models. It shouldn't be used anywhere else.

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

whether the user needs to enter a new filename to save this model. We need to do a "save as" if the model is new, from the models library, or converted.

whether the user needs to enter a new filename to save this model. We need to do a "save as" if the model is new, from the models library, or converted.

Basically, only normal models can get silently saved.

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

returns the full path to the directory from which the current model was loaded. May be null if, for example, this is a new model.

returns the full path to the directory from which the current model was loaded. May be null if, for example, this is a new model.

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

returns the name of the file from which the current model was loaded. May be null if, for example, this is a new model.

returns the name of the file from which the current model was loaded. May be null if, for example, this is a new model.

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

returns the full pathname of the currently loaded model, if any. This may return null in some cases, for instance if this is a new model.

returns the full pathname of the currently loaded model, if any. This may return null in some cases, for instance if this is a new model.

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala
def setModelPath(modelPath: String): Unit

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

Concrete fields

Attributes

Source
DirtyMonitor.scala

Inherited fields

name of the currently loaded model. Will be null if this is a new (unsaved) model. To get a version for display to the user, see modelNameForDisplay(). This is NOT a full path name, however, it does end in ".nlogo".

name of the currently loaded model. Will be null if this is a new (unsaved) model. To get a version for display to the user, see modelNameForDisplay(). This is NOT a full path name, however, it does end in ".nlogo".

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala

Attributes

Inherited from:
ModelTracker
Source
ModelTracker.scala