public class ModelContentResolver extends FileContentResolver
_handlers, _validExts
Constructor and Description |
---|
ModelContentResolver(MapView mv,
FeatureDataStore2 dataStore) |
Modifier and Type | Method and Description |
---|---|
boolean |
addHandler(FileContentHandler handler,
boolean allowUpdate)
Add a new handler to the cache and notify listeners
|
ModelContentHandler |
getHandler(long fsid)
Get a model handler by its feature set ID
|
void |
removeHandler(java.io.File file)
Remove a file-based content handler
|
addHandler, dispose, getHandler, getHandler, getHandlers, onVisibilityConditions, query
public ModelContentResolver(MapView mv, FeatureDataStore2 dataStore)
public ModelContentHandler getHandler(long fsid)
fsid
- Feature set IDpublic boolean addHandler(FileContentHandler handler, boolean allowUpdate)
FileContentResolver
addHandler
in class FileContentResolver
handler
- File-based content handlerallowUpdate
- True to update existing handlers, false to ignore addpublic void removeHandler(java.io.File file)
FileContentResolver
removeHandler
in class FileContentResolver
file
- File