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
- Alphabetic
- By Inheritance
Inherited
- StatusBar
- Cancelable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new StatusBar(client: () ⇒ MetalsLanguageClient, time: Time, progressTicks: ProgressTicks = ProgressTicks.braille, clientConfig: ClientConfiguration)(implicit ec: ExecutionContext)
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 addMessage(message: String): Unit
- def addMessage(params: MetalsStatusParams): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cancel(): Unit
- Definition Classes
- StatusBar → Cancelable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pendingItems: Iterable[String]
- def start(sh: ScheduledExecutorService, initialDelay: Long, period: Long, unit: TimeUnit): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def tick(): Unit
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def trackBlockingTask[T](message: String)(thunk: ⇒ T): T
- def trackFuture[T](message: String, value: Future[T], showTimer: Boolean = false, progress: Option[TaskProgress] = None): Future[T]
- def trackSlowFuture[T](message: String, thunk: Future[T]): Unit
- def trackSlowTask[T](message: String)(thunk: ⇒ T): T
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()