Search in sources :

Example 1 with DetectedPluginsPanel

use of com.intellij.openapi.updateSettings.impl.DetectedPluginsPanel in project intellij-community by JetBrains.

the class PluginsAdvertiserDialog method createCenterPanel.

@Nullable
@Override
protected JComponent createCenterPanel() {
    final DetectedPluginsPanel foundPluginsPanel = new DetectedPluginsPanel() {

        @Override
        protected Set<String> getSkippedPlugins() {
            return mySkippedPlugins;
        }
    };
    for (PluginDownloader uploadedPlugin : myUploadedPlugins) {
        foundPluginsPanel.add(uploadedPlugin);
    }
    TableUtil.ensureSelectionExists(foundPluginsPanel.getEntryTable());
    return foundPluginsPanel;
}
Also used : PluginDownloader(com.intellij.openapi.updateSettings.impl.PluginDownloader) DetectedPluginsPanel(com.intellij.openapi.updateSettings.impl.DetectedPluginsPanel) Nullable(org.jetbrains.annotations.Nullable)

Aggregations

DetectedPluginsPanel (com.intellij.openapi.updateSettings.impl.DetectedPluginsPanel)1 PluginDownloader (com.intellij.openapi.updateSettings.impl.PluginDownloader)1 Nullable (org.jetbrains.annotations.Nullable)1