mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
[R-1567] move InlayProgressStatus and InlayProgressBarUI to R plugin
GitOrigin-RevId: 266088b8b6b712ba67b8613779625bb5b1725966
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7e59ef46f1
commit
d9ebc32f7f
@@ -1,15 +0,0 @@
|
||||
package org.jetbrains.plugins.notebooks.visualization.r.inlays.components.progress
|
||||
|
||||
import com.intellij.ide.ui.laf.darcula.ui.DarculaProgressBarUI
|
||||
import com.intellij.ui.JBColor
|
||||
import java.awt.Color
|
||||
import javax.swing.JComponent
|
||||
|
||||
class InlayProgressBarUI(private val status: ProgressStatus) : DarculaProgressBarUI() {
|
||||
override fun getFinishedColor(c: JComponent): Color = if (status == ProgressStatus.STOPPED_OK) {
|
||||
JBColor.GRAY
|
||||
}
|
||||
else {
|
||||
JBColor.RED
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
package org.jetbrains.plugins.notebooks.visualization.r.inlays.components.progress
|
||||
|
||||
import org.jetbrains.annotations.Nls
|
||||
|
||||
data class InlayProgressStatus(val progress: ProgressStatus, @Nls val statusText: String = "")
|
||||
Reference in New Issue
Block a user