From 6f21ee018a90fca50dcff86c5e5eed536878dea6 Mon Sep 17 00:00:00 2001 From: Eugene Petrenko Date: Tue, 22 Jun 2021 18:48:29 +0200 Subject: [PATCH] WIP plugins: cleanup code GitOrigin-RevId: c2c9b67874f1298afb3c19af8901639a75c181d6 --- .../org/PluginManagerConfigurableForOrg.kt | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/ide/plugins/org/PluginManagerConfigurableForOrg.kt b/platform/platform-impl/src/com/intellij/ide/plugins/org/PluginManagerConfigurableForOrg.kt index c8f3fc475a3d..c62e39e0a679 100644 --- a/platform/platform-impl/src/com/intellij/ide/plugins/org/PluginManagerConfigurableForOrg.kt +++ b/platform/platform-impl/src/com/intellij/ide/plugins/org/PluginManagerConfigurableForOrg.kt @@ -31,29 +31,5 @@ class PluginManagerConfigurableForOrg { } fun allowInstallFromDisk(): Boolean = false - - fun foo() { - BorderLayoutPanel().apply { - val customLine = when { - SystemInfo.isWindows -> JBUI.Borders.customLine(JBColor.border(), 1, 0, 1, 0) - else -> JBUI.Borders.customLineBottom(JBColor.border()) - } - border = JBUI.Borders.merge(JBUI.Borders.empty(10), customLine, true) - background = JBUI.CurrentTheme.Notification.BACKGROUND - foreground = JBUI.CurrentTheme.Notification.FOREGROUND - - addToCenter(JBLabel().apply { - icon = AllIcons.General.Warning - verticalTextPosition = SwingConstants.TOP - text = HtmlChunk - .html() - .addText(LangBundle.message("dialog.label.choose.ide.runtime.warn", ApplicationInfo.getInstance().shortCompanyName)) - .toString() - }) - - withPreferredWidth(400) - } - - } }