org.jmeterplugins.repository.PluginsList Maven / Gradle / Ivy
package org.jmeterplugins.repository;
import org.apache.commons.lang3.StringUtils;
import org.apache.jorphan.logging.LoggingManager;
import org.apache.log.Logger;
import org.jmeterplugins.repository.util.PlaceholderTextField;
import javax.imageio.ImageIO;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.*;
import java.util.List;
public class PluginsList extends JPanel implements ListSelectionListener, HyperlinkListener {
private static final long serialVersionUID = 295116233618658217L;
private static final Logger log = LoggingManager.getLoggerForClass();
private final JTextPane description = new JTextPane();
protected final PlaceholderTextField searchField = new PlaceholderTextField();
private final DefaultListModel searchResults = new DefaultListModel<>();
protected JList list = new CheckBoxList<>(5);
private DefaultListModel listModel = new DefaultListModel<>();
protected final JComboBox version = new JComboBox<>();
private ItemListener itemListener = new VerChoiceChanged();
private GenericCallback