object TempFileModelTracker extends ModelTracker
- Source
- DirtyMonitor.scala
- Alphabetic
- By Inheritance
- TempFileModelTracker
- ModelTracker
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
_modelFileName: String
name of the currently loaded model.
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".
- Definition Classes
- ModelTracker
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
compiler: PresentationCompilerInterface
- Definition Classes
- TempFileModelTracker → ModelTracker
-
def
convertToNormal(): String
instantly converts the current model to ModelTypeJ.NORMAL.
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.
- Definition Classes
- ModelTracker
- Annotations
- @throws( classOf[IOException] )
- val delegate: ModelTracker
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
fileManager: nvm.FileManager
- Definition Classes
- ModelTracker
-
def
forceSaveAs: Boolean
whether the user needs to enter a new filename to save this model.
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.
- Definition Classes
- ModelTracker
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getExtensionManager(): ExtensionManager
- Definition Classes
- TempFileModelTracker → ModelTracker
-
def
getModelDir: String
returns the full path to the directory from which the current model was loaded.
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.
- Definition Classes
- ModelTracker
-
def
getModelFileName: String
returns the name of the file from which the current model was loaded.
returns the name of the file from which the current model was loaded. May be null if, for example, this is a new model.
- Definition Classes
- ModelTracker
-
def
getModelFileUri: Option[URI]
- Definition Classes
- TempFileModelTracker → ModelTracker
-
def
getModelPath: String
returns the full pathname of the currently loaded model, if any.
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.
- Definition Classes
- ModelTracker
-
def
getModelType: ModelType
- Definition Classes
- TempFileModelTracker → ModelTracker
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
modelFileName: String
- Definition Classes
- ModelTracker
-
def
modelNameForDisplay: String
- Definition Classes
- ModelTracker
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
setModelPath(modelPath: String): Unit
- Definition Classes
- ModelTracker
-
def
setModelType(tpe: ModelType): Unit
- Definition Classes
- ModelTracker
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )