Unidata IDV Workshop for version 6.2u2 > Java Developer Topics > Data Choosers
5.4.0 Overview of Data Choosers
Data Choosers allow users to select data of a particular type/format
an bring them into the IDV. The ucar.unidata.idv.chooser
package holds the core choosers.
Some of the IDV choosers are:
- FileChooser - for selecting files
- PollingFileChooser - chooser that supports polling files in a directory
- ImageChooser - IDV ADDE Image chooser
- Level2RadarChooser - NEXRAD Level II files
- RadarChooser - ADDE Level III Radar Chooser
- PointChooser - ADDE Point obs chooser
- RaobPointChooser - subclass for ADDE Upper Air point data
- ProfilerChooser - ADDE Profiler chooser
- RaobChooser - Upper Air Sounding Chooser
- XmlChooser - chooser for XML documents like THREDDS catalog and WMS servers
- UrlChooser - chooser for data residing at URL's
Choosers generally extend from the IdvChooser class and need to
implement the following methods:
- doMakeContents() - makes the UI
- doLoadInThread() - handles the adding of the data
Once a chooser class is created, it can be added to the IDV by
creating a choosers.xml file. Let's look at the sample
here.
Unidata IDV Workshop for version 6.2u2 > Java Developer Topics > Data Choosers