Search in sources :

Example 6 with PluginDownloader

use of com.intellij.openapi.updateSettings.impl.PluginDownloader 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

PluginDownloader (com.intellij.openapi.updateSettings.impl.PluginDownloader)6 PluginId (com.intellij.openapi.extensions.PluginId)3 IOException (java.io.IOException)3 IdeaPluginDescriptor (com.intellij.ide.plugins.IdeaPluginDescriptor)2 InstalledPluginsState (com.intellij.ide.plugins.InstalledPluginsState)1 AbstractProgressIndicatorExBase (com.intellij.openapi.progress.util.AbstractProgressIndicatorExBase)1 VerticalFlowLayout (com.intellij.openapi.ui.VerticalFlowLayout)1 DetectedPluginsPanel (com.intellij.openapi.updateSettings.impl.DetectedPluginsPanel)1 BuildNumber (com.intellij.openapi.util.BuildNumber)1 ProgressIndicatorEx (com.intellij.openapi.wm.ex.ProgressIndicatorEx)1 CustomLineBorder (com.intellij.ui.border.CustomLineBorder)1 JBScrollPane (com.intellij.ui.components.JBScrollPane)1 LinkLabel (com.intellij.ui.components.labels.LinkLabel)1 LinkListener (com.intellij.ui.components.labels.LinkListener)1 MultiMap (com.intellij.util.containers.MultiMap)1 ActionEvent (java.awt.event.ActionEvent)1 ActionListener (java.awt.event.ActionListener)1 LinkedHashMap (java.util.LinkedHashMap)1 Map (java.util.Map)1 CompoundBorder (javax.swing.border.CompoundBorder)1