class FileManager extends Handler with 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)
- Source
- FileManager.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FileManager
- Handler
- Handler
- Handler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FileManager(workspace: AbstractWorkspaceScala, modelLoader: ModelLoader, modelConverter: ModelConversion, dirtyMonitor: DirtyMonitor, modelSaver: ModelSaver, eventRaiser: AnyRef, parent: Container)
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
- def actions: Seq[Action]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- val controller: FileController
- def convertTabAction(t: TemporaryCodeTab): Action
- def currentModel: Model
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
handle(e: LoadModelEvent): Unit
- Definition Classes
- FileManager → Handler
-
def
handle(e: OpenModelEvent): Unit
- Definition Classes
- FileManager → Handler
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newModel(): Unit
- Annotations
- @throws( classOf[UserCancelException] ) @throws( classOf[IOException] )
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
openFromPath(path: String, modelType: ModelType, shouldAutoInstallLibs: Boolean = false): Unit
opens a model from a file path.
- def openFromSource(uri: URI, modelSource: String, modelType: ModelType): Unit
- def openFromURI(uri: URI, modelType: ModelType, shouldAutoInstallLibs: Boolean = false): Unit
-
def
openModel(uri: URI, model: Model, modelType: ModelType): Unit
Opens a model from the Model object.
Opens a model from the Model object. This must be called from the Swing event dispatch thread.
-
def
quit(): Unit
- Annotations
- @throws( classOf[UserCancelException] )
- def saveModelActions(parent: Component): Seq[ExceptionCatchingAction with MenuAction]
-
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( ... )