예제 #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();
   }
 }
예제 #3
0
 /** @param evt Event */
 private void formatComboBoxActionPerformed(final ActionEvent evt) {
   PluginConnector selected = (PluginConnector) formatComboBox.getSelectedItem();
   formatDescriptionTextArea.setText(selected.getDescription());
   formatDescriptionTextArea.setCaretPosition(0);
 }