/[schmitzm]/branches/2.4.x/src/skrueger/geotools/io/WfsSettingsJComboBox.java
ViewVC logotype

Diff of /branches/2.4.x/src/skrueger/geotools/io/WfsSettingsJComboBox.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1294 by alfonx, Sun Oct 24 22:55:43 2010 UTC revision 1295 by alfonx, Mon Nov 22 15:09:59 2010 UTC
# Line 8  public class WfsSettingsJComboBox extend Line 8  public class WfsSettingsJComboBox extend
8          private final WfsServerList wfsList;          private final WfsServerList wfsList;
9    
10          public WfsSettingsJComboBox(WfsServerList wfsList) {          public WfsSettingsJComboBox(WfsServerList wfsList) {
11                  super(wfsList.toArray(new WfsServerSettings[0]));                  super(wfsList.toArray(new GtWfsServerSettings[0]));
12                  this.wfsList = wfsList;                  this.wfsList = wfsList;
13          }          }
14    
# Line 17  public class WfsSettingsJComboBox extend Line 17  public class WfsSettingsJComboBox extend
17          }          }
18    
19          public void listChanged() {          public void listChanged() {
20                  WfsServerSettings[] array = wfsList                  GtWfsServerSettings[] array = wfsList
21                                  .toArray(new WfsServerSettings[wfsList.size()]);                                  .toArray(new GtWfsServerSettings[wfsList.size()]);
22                  setModel(new DefaultComboBoxModel(array));                  setModel(new DefaultComboBoxModel(array));
23          }          }
24    

Legend:
Removed from v.1294  
changed lines
  Added in v.1295

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26