Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ object DevSpacesIcons {

private val WORKSPACE_STARTING = IconLoader.getIcon("/icons/starting.svg", javaClass)
private val WORKSPACE_STARTED = IconLoader.getIcon("/icons/started.svg", javaClass)
private val WORKSPACE_STOPPING = IconLoader.getIcon("/icons/stopping.svg", javaClass)
private val WORKSPACE_STOPPED = IconLoader.getIcon("/icons/stopped.svg", javaClass)
private val WORKSPACE_TERMINATING = IconLoader.getIcon("/icons/stopping.svg", javaClass)
private val WORKSPACE_FAILED = IconLoader.getIcon("/icons/failed.svg", javaClass)

fun getWorkspacePhaseIcon(phase: String): Icon? {
Expand All @@ -32,6 +34,8 @@ object DevSpacesIcons {
"Starting" -> WORKSPACE_STARTING
"Running" -> WORKSPACE_STARTED
"Stopped" -> WORKSPACE_STOPPED
"Stopping" -> WORKSPACE_STOPPING
"Terminating" -> WORKSPACE_TERMINATING
"Failed", "Failing", "Error" -> WORKSPACE_FAILED
else -> null
}
Expand Down
56 changes: 56 additions & 0 deletions src/main/resources/icons/stopping.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading