trait CodeView[T <: Txn[T], Out] extends UniverseObjView[T] with Model[Update]
- Alphabetic
- By Inheritance
- CodeView
- Model
- UniverseObjView
- UniverseView
- Cursor
- View
- Disposable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def addListener(pf: Listener[Update]): pf.type
- Definition Classes
- Model
- abstract def built(implicit tx: TxnLike): Boolean
Whether the saved source code corresponds with the built object.
Whether the saved source code corresponds with the built object. This relates to the clean state, so if
dirty
returnstrue
, it may still be the case that the last saved state was built and thus this method returnstrue
. If the method returnsfalse
, it means that the last saved source code is in the "swap" attribute entry. - abstract def component: C
- Definition Classes
- View
- abstract val currentText: String
- abstract def dirty(implicit tx: TxnLike): Boolean
Whether the current editor content is dirty, that is unsaved.
- abstract def dispose()(implicit tx: T): Unit
- Definition Classes
- Disposable
- abstract def isCompiling(implicit tx: TxnLike): Boolean
- abstract def obj(implicit tx: T): Obj[T]
- Definition Classes
- CodeView → UniverseObjView
- abstract def preview(): Future[Out]
- abstract def redoAction: Action
- abstract def removeListener(pf: Listener[Update]): Unit
- Definition Classes
- Model
- abstract def save(): Future[Unit]
Requests to store the dirty editor content in the source object and update the compiled and built object.
Requests to store the dirty editor content in the source object and update the compiled and built object. If this fails, or the object should not be built, the
saveSwap
method can be used. If this succeeds, the "swap" attribute entry is deleted if it existed.Call this method on EDT outside Txn
- abstract def undoAction: Action
- implicit abstract val universe: Universe[T]
- Definition Classes
- UniverseView
- abstract def viewState: Set[ViewState]
- Definition Classes
- UniverseView
- abstract def visible: Boolean
Call on EDT outside Txn
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- implicit def cursor: Cursor[T]
- Definition Classes
- UniverseView → Cursor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def saveSwap(): Future[Unit]
Requests to store the dirty editor content in the swap entry of the source object's attribute map.
Requests to store the dirty editor content in the swap entry of the source object's attribute map.
Call this method on EDT outside Txn
- See also
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated