Wizard: remove unused project tags
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ class TemplateDescriptionComponent : Component() {
|
||||
}
|
||||
|
||||
fun setTemplate(template: ProjectTemplate) {
|
||||
descriptionLabel.text = template.htmlDescription
|
||||
descriptionLabel.text = template.description
|
||||
}
|
||||
|
||||
override val component: JComponent = descriptionLabel
|
||||
|
||||
-10
@@ -1,6 +1,5 @@
|
||||
package org.jetbrains.kotlin.tools.projectWizard.wizard.ui
|
||||
|
||||
import TemplateTag
|
||||
import com.intellij.icons.AllIcons
|
||||
import com.intellij.ide.plugins.newui.TagComponent
|
||||
import com.intellij.openapi.actionSystem.ActionManager
|
||||
@@ -181,15 +180,6 @@ fun <C : JComponent> C.addBorder(border: Border): C = apply {
|
||||
this.border = BorderFactory.createCompoundBorder(border, this.border)
|
||||
}
|
||||
|
||||
class TemplateTagUIComponent(tag: TemplateTag) : TagComponent(tag.text) {
|
||||
override fun isInClickableArea(pt: Point?) = false
|
||||
|
||||
init {
|
||||
RelativeFont.TINY.install(this)
|
||||
tag.tooltip?.let { toolTipText = it }
|
||||
}
|
||||
}
|
||||
|
||||
fun <T> runWithProgressBar(title: String, action: () -> T): T =
|
||||
ProgressManager.getInstance().runProcessWithProgressSynchronously(
|
||||
ThrowableComputable<T, Exception> { action() },
|
||||
|
||||
Reference in New Issue
Block a user