public class WmsDataSource extends DataSourceImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_BOUNDS
request property
|
static java.lang.String |
PROP_ICONPATH
request property
|
static java.lang.String |
PROP_IMAGEHEIGHT
request property
|
static java.lang.String |
PROP_IMAGEWIDTH
request property
|
static java.lang.String |
PROP_LAYER
request property
|
static java.lang.String |
PROP_LAYERS
request property
|
static java.lang.String |
PROP_RESOLUTION
request property
|
static java.lang.String |
PROP_WRITEFILE
request property
|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
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_TIMESTRIDE, PROP_TITLE
Constructor and Description |
---|
WmsDataSource()
Dummy constructor so this object can get unpersisted.
|
WmsDataSource(DataSourceDescriptor descriptor,
java.util.List selections,
java.util.Hashtable properties)
Create a WmsDataSource from the specification given.
|
WmsDataSource(DataSourceDescriptor descriptor,
java.lang.String filename,
java.util.Hashtable properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
applyProperties()
_more_
|
protected void |
doMakeDataChoices()
Create the data choices associated with this source.
|
protected java.util.List |
doMakeDateTimes()
Create a list of times for this data source.
|
boolean |
equals(java.lang.Object o)
overwrite
|
protected visad.Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
java.util.Hashtable requestProperties)
Actually get the data identified by the given DataChoce.
|
java.lang.String |
getFullDescription()
Get the description.
|
java.util.List |
getLayerList()
_more_
|
boolean |
getMaintainRatio()
Get the MaintainRatio property.
|
void |
getPropertiesComponents(java.util.List comps)
_more_
|
java.util.List |
getWmsSelections()
Get the WmsSelections property.
|
void |
initAfterUnpersistence()
Initialize after we have been unpersisted
|
void |
setMaintainRatio(boolean value)
Set the MaintainRatio property.
|
void |
setWmsSelections(java.util.List value)
Set the WmsSelections property.
|
protected boolean |
shouldCache(visad.Data data)
See if this DataSource should cache or not
|
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canSaveDataToLocalDisk, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, doRemove, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPaths, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getLocationsForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, 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, newFileFromPolling, newFilesFromPolling, notifyDataChange, propertiesChanged, putCache, putCache, reloadData, reloadData, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setNewFiles, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, updateState, writeFieldMaskFile, writeFieldMaskFile
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUniqueId
public static final java.lang.String PROP_BOUNDS
public static final java.lang.String PROP_ICONPATH
public static final java.lang.String PROP_WRITEFILE
public static final java.lang.String PROP_RESOLUTION
public static final java.lang.String PROP_IMAGEWIDTH
public static final java.lang.String PROP_IMAGEHEIGHT
public static final java.lang.String PROP_LAYER
public static final java.lang.String PROP_LAYERS
public WmsDataSource()
public WmsDataSource(DataSourceDescriptor descriptor, java.util.List selections, java.util.Hashtable properties) throws visad.VisADException
descriptor
- descriptor for the data sourceselections
- The selectionsproperties
- extra propertiesvisad.VisADException
- some problem occurred creating datapublic WmsDataSource(DataSourceDescriptor descriptor, java.lang.String filename, java.util.Hashtable properties) throws java.io.IOException
java.io.IOException
public java.util.List getLayerList()
public void initAfterUnpersistence()
initAfterUnpersistence
in interface DataSource
initAfterUnpersistence
in class DataSourceImpl
protected void doMakeDataChoices()
doMakeDataChoices
in class DataSourceImpl
protected visad.Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
getDataInner
in class DataSourceImpl
dataChoice
- The data choice that identifies the requested
data.category
- The data category of the request.dataSelection
- Identifies any subsetting of the data.requestProperties
- Hashtable that holds any detailed request
properties.java.rmi.RemoteException
- Java RMI problemvisad.VisADException
- VisAD problempublic void getPropertiesComponents(java.util.List comps)
getPropertiesComponents
in class DataSourceImpl
comps
- _more_public boolean applyProperties()
applyProperties
in class DataSourceImpl
public java.lang.String getFullDescription()
getFullDescription
in interface DataSource
getFullDescription
in class DataSourceImpl
protected boolean shouldCache(visad.Data data)
shouldCache
in class DataSourceImpl
data
- Data to cacheprotected java.util.List doMakeDateTimes()
doMakeDateTimes
in class DataSourceImpl
public void setWmsSelections(java.util.List value)
value
- The new value for WmsSelectionspublic java.util.List getWmsSelections()
public boolean equals(java.lang.Object o)
equals
in class DataSourceImpl
o
- objectpublic void setMaintainRatio(boolean value)
value
- The new value for MaintainRatiopublic boolean getMaintainRatio()