File tree 1 file changed +14
-16
lines changed
src/main/kotlin/com/coder/gateway/views/steps
1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -114,22 +114,20 @@ class CoderWorkspaceStepView(
114
114
cbIDE = cell(IDEComboBox (ideComboBoxModel).apply {
115
115
addActionListener {
116
116
nextButton.isEnabled = this .selectedItem != null
117
- ApplicationManager .getApplication().invokeLater {
118
- logger.info(" Selected IDE: ${this .selectedItem} " )
119
- cbIDEComment.foreground = UIUtil .getContextHelpForeground()
120
- when (this .selectedItem?.status) {
121
- IdeStatus .ALREADY_INSTALLED ->
122
- cbIDEComment.text =
123
- CoderGatewayBundle .message(" gateway.connector.view.coder.remoteproject.ide.installed.comment" )
124
-
125
- IdeStatus .DOWNLOAD ->
126
- cbIDEComment.text =
127
- CoderGatewayBundle .message(" gateway.connector.view.coder.remoteproject.ide.download.comment" )
128
-
129
- else ->
130
- cbIDEComment.text =
131
- CoderGatewayBundle .message(" gateway.connector.view.coder.remoteproject.ide.none.comment" )
132
- }
117
+ logger.info(" Selected IDE: ${this .selectedItem} " )
118
+ cbIDEComment.foreground = UIUtil .getContextHelpForeground()
119
+ when (this .selectedItem?.status) {
120
+ IdeStatus .ALREADY_INSTALLED ->
121
+ cbIDEComment.text =
122
+ CoderGatewayBundle .message(" gateway.connector.view.coder.remoteproject.ide.installed.comment" )
123
+
124
+ IdeStatus .DOWNLOAD ->
125
+ cbIDEComment.text =
126
+ CoderGatewayBundle .message(" gateway.connector.view.coder.remoteproject.ide.download.comment" )
127
+
128
+ else ->
129
+ cbIDEComment.text =
130
+ CoderGatewayBundle .message(" gateway.connector.view.coder.remoteproject.ide.none.comment" )
133
131
}
134
132
}
135
133
}).resizableColumn().align(AlignX .FILL ).component
You can’t perform that action at this time.
0 commit comments