Packages

final class StatusBar extends Cancelable

Manages sending metals/status notifications to the editor client.

Some design constraints and design decisions: - we should publish no more than status update per second so the user has time to read the notification. - there is only one active status bar notification at each time, in case there are multiple candidates we pick the item with higher priority. - it's acceptable that a low priority notification may never appear in the status bar. - long-running jobs like compilation or "import workspace" are active as long as the attached Future[_] is not completed.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatusBar
  2. Cancelable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StatusBar(client: () => MetalsLanguageClient, time: Time, progressTicks: ProgressTicks = ProgressTicks.braille, clientConfig: ClientConfiguration)(implicit ec: ExecutionContext)

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. def addMessage(message: String): Unit
  5. def addMessage(params: MetalsStatusParams): Unit
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cancel(): Unit
    Definition Classes
    StatusBarCancelable
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. def pendingItems: Iterable[String]
  18. def start(sh: ScheduledExecutorService, initialDelay: Long, period: Long, unit: TimeUnit): Unit
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def tick(): Unit
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def trackBlockingTask[T](message: String)(thunk: => T): T
  23. def trackFuture[T](message: String, value: Future[T], showTimer: Boolean = false, progress: Option[TaskProgress] = None): Future[T]
  24. def trackSlowFuture[T](message: String, thunk: Future[T]): Unit
  25. def trackSlowTask[T](message: String)(thunk: => T): T
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. 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 Cancelable

Inherited from AnyRef

Inherited from Any

Ungrouped