Packages

trait CodeView[T <: Txn[T], Out] extends UniverseObjView[T] with Model[Update]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CodeView
  2. Model
  3. UniverseObjView
  4. UniverseView
  5. Cursor
  6. View
  7. Disposable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type C <: Component
    Definition Classes
    View

Abstract Value Members

  1. abstract def addListener(pf: Listener[Update]): pf.type
    Definition Classes
    Model
  2. 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 returns true, it may still be the case that the last saved state was built and thus this method returns true. If the method returns false, it means that the last saved source code is in the "swap" attribute entry.

  3. abstract def component: C
    Definition Classes
    View
  4. abstract val currentText: String
  5. abstract def dirty(implicit tx: TxnLike): Boolean

    Whether the current editor content is dirty, that is unsaved.

  6. abstract def dispose()(implicit tx: T): Unit
    Definition Classes
    Disposable
  7. abstract def isCompiling(implicit tx: TxnLike): Boolean
  8. abstract def obj(implicit tx: T): Obj[T]
    Definition Classes
    CodeViewUniverseObjView
  9. abstract def preview(): Future[Out]
  10. abstract def redoAction: Action
  11. abstract def removeListener(pf: Listener[Update]): Unit
    Definition Classes
    Model
  12. 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

  13. abstract def undoAction: Action
  14. implicit abstract val universe: Universe[T]
    Definition Classes
    UniverseView
  15. abstract def viewState: Set[ViewState]
    Definition Classes
    UniverseView
  16. abstract def visible: Boolean

    Call on EDT outside Txn

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. implicit def cursor: Cursor[T]
    Definition Classes
    UniverseViewCursor
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. 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

    CodeView.attrSwap

  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Model[Update]

Inherited from UniverseObjView[T]

Inherited from UniverseView[T]

Inherited from Cursor[T]

Inherited from View[T]

Inherited from Disposable[T]

Inherited from AnyRef

Inherited from Any

Ungrouped