summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Chernyavsky <mikhail.chernyavsky@jetbrains.com>2024-01-08 18:19:59 +0100
committerMikhail Chernyavsky <mikhail.chernyavsky@jetbrains.com>2024-01-08 18:19:59 +0100
commit90c9f6ef263783d31dee7d65d3e3bdf788a1a5ba (patch)
treeeea91cf9525458bd1020a28730dc0b42c4493205
parentbbc2a858b3c651ccabe29cd3d996c658d4facfcc (diff)
downloadintellij-rust-90c9f6ef263783d31dee7d65d3e3bdf788a1a5ba.tar.gz
Cleanup
-rw-r--r--src/241/main/kotlin/org/rust/ide/feedback/RsFeedbackDialogBase.kt15
-rw-r--r--src/241/main/kotlin/org/rust/ide/feedback/compatUtils.kt29
2 files changed, 0 insertions, 44 deletions
diff --git a/src/241/main/kotlin/org/rust/ide/feedback/RsFeedbackDialogBase.kt b/src/241/main/kotlin/org/rust/ide/feedback/RsFeedbackDialogBase.kt
deleted file mode 100644
index c67182103..000000000
--- a/src/241/main/kotlin/org/rust/ide/feedback/RsFeedbackDialogBase.kt
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Use of this source code is governed by the MIT license that can be
- * found in the LICENSE file.
- */
-
-package org.rust.ide.feedback
-
-import com.intellij.openapi.project.Project
-import com.intellij.platform.feedback.dialog.BlockBasedFeedbackDialogWithEmail
-
-@Suppress("UnstableApiUsage")
-abstract class RsFeedbackDialogBase(
- project: Project?,
- forTest: Boolean
-) : BlockBasedFeedbackDialogWithEmail<CommonFeedbackSystemData>(project, forTest)
diff --git a/src/241/main/kotlin/org/rust/ide/feedback/compatUtils.kt b/src/241/main/kotlin/org/rust/ide/feedback/compatUtils.kt
deleted file mode 100644
index a02432176..000000000
--- a/src/241/main/kotlin/org/rust/ide/feedback/compatUtils.kt
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Use of this source code is governed by the MIT license that can be
- * found in the LICENSE file.
- */
-
-@file:Suppress("UnstableApiUsage")
-
-package org.rust.ide.feedback
-
-import com.intellij.openapi.project.Project
-import com.intellij.ui.dsl.builder.Panel
-
-
-typealias CommonFeedbackSystemData = com.intellij.platform.feedback.dialog.CommonFeedbackSystemData
-typealias ThanksForFeedbackNotification = com.intellij.platform.feedback.impl.notification.ThanksForFeedbackNotification
-
-typealias DescriptionBlock = com.intellij.platform.feedback.dialog.uiBlocks.DescriptionBlock
-typealias FeedbackBlock = com.intellij.platform.feedback.dialog.uiBlocks.FeedbackBlock
-typealias JsonDataProvider = com.intellij.platform.feedback.dialog.uiBlocks.JsonDataProvider
-typealias RatingBlock = com.intellij.platform.feedback.dialog.uiBlocks.RatingBlock
-typealias TextAreaBlock = com.intellij.platform.feedback.dialog.uiBlocks.TextAreaBlock
-typealias TextDescriptionProvider = com.intellij.platform.feedback.dialog.uiBlocks.TextDescriptionProvider
-typealias TopLabelBlock = com.intellij.platform.feedback.dialog.uiBlocks.TopLabelBlock
-
-fun showFeedbackSystemInfoDialog(
- project: Project?,
- systemInfoData: CommonFeedbackSystemData,
- addSpecificRows: Panel.() -> Unit = {}
-) = com.intellij.platform.feedback.dialog.showFeedbackSystemInfoDialog(project, systemInfoData, addSpecificRows)