package jalview.jbgui;
import jalview.gui.Desktop;
-import jalview.gui.PDBFetchPanel.PDBSearchOptionList;
import jalview.util.MessageManager;
-import jalview.ws.uimodel.PDBSummaryListModel;
+import jalview.ws.dbsources.PDBRestClient.PDBDocField;
+import jalview.ws.uimodel.PDBSearchResponse.PDBResponseSummary;
import java.awt.BorderLayout;
import java.awt.Dimension;
protected JInternalFrame mainFrame = new JInternalFrame(frameTitle);
- protected JComboBox<PDBSearchOptionList> searchTargetOptions = new JComboBox<PDBSearchOptionList>();
+ protected JComboBox<PDBDocField> searchTargetOptions = new JComboBox<PDBDocField>();
protected JButton ok = new JButton();
protected JTextField search = new JTextField(20);
- protected JList<PDBSummaryListModel> jListSearchResult = new JList<PDBSummaryListModel>();
+ protected JList<PDBResponseSummary> jListSearchResult = new JList<PDBResponseSummary>();
protected JScrollPane searchResultScroller = new JScrollPane(
jListSearchResult);
private BorderLayout mainLayout = new BorderLayout();
-
-
public GPDBFetchPanel()
{
try
}
});
- populateSearchOptionCombo();
+ populateSearchOptionComboBox();
search.setFont(new java.awt.Font("Verdana", 0, 12));
search.getDocument().addDocumentListener(new DocumentListener()
inputPanel.add(searchTargetOptions);
inputPanel.add(search);
-
this.setLayout(mainLayout);
this.add(inputPanel, java.awt.BorderLayout.NORTH);
this.add(resultPanel, java.awt.BorderLayout.CENTER);
public abstract void cancelActionPerformed();
- protected abstract void populateSearchOptionCombo();
+ protected abstract void populateSearchOptionComboBox();
}