Parent Directory
|
Revision Log
* AtlasSTyler-Feature: Improved the GUI * AtlasSTyler-Feature: Import Wizards for SHape, PostGIS and WFS
1 | alfonx | 1161 | package skrueger.geotools.io; |
2 | |||
3 | import javax.swing.DefaultComboBoxModel; | ||
4 | import javax.swing.JComboBox; | ||
5 | |||
6 | public class WfsSettingsJComboBox extends JComboBox { | ||
7 | |||
8 | private final WfsServerList wfsList; | ||
9 | |||
10 | public WfsSettingsJComboBox(WfsServerList wfsList) { | ||
11 | super(wfsList.toArray( new WfsServerSettings[0])); | ||
12 | this.wfsList = wfsList; | ||
13 | } | ||
14 | |||
15 | public WfsServerList getWfsList() { | ||
16 | return wfsList; | ||
17 | } | ||
18 | |||
19 | public void listChanged() { | ||
20 | setModel(new DefaultComboBoxModel(wfsList.toArray(new DbServerSettings[0]))); | ||
21 | } | ||
22 | |||
23 | |||
24 | } |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id URL |
svn:mime-type | text/plain |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |