示例#1
0
 public final void setInitialSelection() {
   Iterator<PluginConnector> i = validConnectors.iterator();
   while (i.hasNext()) {
     PluginConnector pc = i.next();
     if (pc.getJobDataExportClass().equals(data.getClass())) {
       formatComboBox.setSelectedItem(pc);
     }
   }
 }
示例#2
0
 /** @param evt Event */
 private void nextButtonActionPerformed(final ActionEvent evt) {
   PluginConnector plugin = (PluginConnector) formatComboBox.getSelectedItem();
   if (data != null & data.getClass().equals(plugin.getClass())) {
     plugin.getNewExportJobsWindow(data).setVisible(true);
     dispose();
   } else {
     plugin.getNewExportJobsWindow().setVisible(true);
     dispose();
   }
 }