ucar.unidata.data.imagery
Class McIDASImageDataSource

java.lang.Object
  extended by ucar.unidata.collab.SharableImpl
      extended by ucar.unidata.data.DataSourceImpl
          extended by ucar.unidata.data.imagery.ImageDataSource
              extended by ucar.unidata.data.imagery.McIDASImageDataSource
All Implemented Interfaces:
Sharable, DataSource, DataSourceFactory, XmlPersistable

public class McIDASImageDataSource
extends ImageDataSource

A data source for ADDE images AREA files. This is a thin wrapper (derived class) around the ImageDataSource which does all of the work.

Version:
$Revision: 1.26 $ $Date: 2006/12/01 20:42:05 $
Author:
Don Murray

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.unidata.data.imagery.ImageDataSource
ImageDataSource.ImageDataInfo
 
Field Summary
 
Fields inherited from class ucar.unidata.data.imagery.ImageDataSource
imageList, imageTimes, PROP_BANDINFO, PROP_IMAGETYPE, TYPE_RADAR, TYPE_SATELLITE
 
Fields inherited from class ucar.unidata.data.DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
 
Fields inherited from interface ucar.unidata.data.DataSource
DATAPATH_DATE_FORMAT, DATAPATH_DATE_PATTERN, MOST_RECENT, ordinalNames, PROP_AUTOCREATEDISPLAY, PROP_BASEDIRECTORY, PROP_CACHEABLE, PROP_DATACHOICENAME, PROP_DISPLAYPROPERTIES, PROP_DOCUMENTLINKS, PROP_FILEPATTERN, PROP_GEOLOCATION, PROP_ICON, PROP_NAME, PROP_POLLINFO, PROP_RESOLVERURL, PROP_SERVICE_HTTP, PROP_SUBPROPERTIES, PROP_TIMELABELS, PROP_TITLE
 
Constructor Summary
McIDASImageDataSource()
          The parameterless ctor unpersisting.
McIDASImageDataSource(DataSourceDescriptor descriptor, ArrayList images, Hashtable properties)
          Create a new McIDASImageDataSource with list of AREA files.
McIDASImageDataSource(DataSourceDescriptor descriptor, ImageDataset ids, Hashtable properties)
          Create a new McIDASImageDataSource with a ImageDataset
McIDASImageDataSource(DataSourceDescriptor descriptor, String[] images, Hashtable properties)
          Create a new McIDASImageDataSource with array of AREA files.
McIDASImageDataSource(DataSourceDescriptor descriptor, String image, Hashtable properties)
          Create a new McIDASImageDataSource with a single AREA file.
 
Method Summary
 String getDataName()
          Get the name for the main data object
 String getImageDataSourceName()
          Overwrite base class method to return the name of this class.
 
Methods inherited from class ucar.unidata.data.imagery.ImageDataSource
canCacheDataToDisk, canSaveDataToLocalDisk, doMakeDataChoices, doMakeDateTimes, doRemove, equals, getAllDateTimes, getBandCategories, getBandTimeSeriesCategories, getCacheDataToDisk, getCompositeDataChoices, getDataInner, getDataPaths, getDescriptor, getFullDescription, getImageList, getLocationsForPolling, getSelectedDateTimes, getTwoDCategories, getTwoDTimeSeriesCategories, hashCode, initAfterUnpersistence, initDataFromPollingInfo, isFileBased, makeImage, makeImageDataset, makeImageDescriptors, makeImageSequence, newFileFromPolling, propertiesChanged, reloadData, reloadData, saveDataToLocalDisk, setImageList, setNewFiles, updateState
 
Methods inherited from class ucar.unidata.data.DataSourceImpl
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canAddCurrentName, canChangeData, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initAfterCreation, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFilesFromPolling, notifyDataChange, putCache, putCache, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, writeFieldMaskFile, writeFieldMaskFile
 
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ucar.unidata.data.DataSource
getUniqueId
 

Constructor Detail

McIDASImageDataSource

public McIDASImageDataSource()
The parameterless ctor unpersisting.


McIDASImageDataSource

public McIDASImageDataSource(DataSourceDescriptor descriptor,
                             String image,
                             Hashtable properties)
Create a new McIDASImageDataSource with a single AREA file.

Parameters:
descriptor - The descriptor for this data source.
image - AREA file
properties - The properties for this data source.

McIDASImageDataSource

public McIDASImageDataSource(DataSourceDescriptor descriptor,
                             ArrayList images,
                             Hashtable properties)
Create a new McIDASImageDataSource with list of AREA files.

Parameters:
descriptor - The descriptor for this data source.
images - List of AREA files
properties - The properties for this data source.

McIDASImageDataSource

public McIDASImageDataSource(DataSourceDescriptor descriptor,
                             String[] images,
                             Hashtable properties)
Create a new McIDASImageDataSource with array of AREA files.

Parameters:
descriptor - The descriptor for this data source.
images - Array of AREA files
properties - The properties for this data source.

McIDASImageDataSource

public McIDASImageDataSource(DataSourceDescriptor descriptor,
                             ImageDataset ids,
                             Hashtable properties)
Create a new McIDASImageDataSource with a ImageDataset

Parameters:
descriptor - The descriptor for this data source.
ids - The dataset.
properties - The properties for this data source.
Method Detail

getImageDataSourceName

public String getImageDataSourceName()
Overwrite base class method to return the name of this class.

Specified by:
getImageDataSourceName in class ImageDataSource
Returns:
The name.

getDataName

public String getDataName()
Get the name for the main data object

Overrides:
getDataName in class ImageDataSource
Returns:
name of main data object