Revision 43574
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/impl/DefaultMapContextManager.java | ||
---|---|---|
721 | 721 |
|
722 | 722 |
@Override |
723 | 723 |
public String getIconLayer(DataStore store) { |
724 |
return this.getIconLayer(store.getProviderName()); |
|
725 |
} |
|
726 |
|
|
727 |
@Override |
|
728 |
public String getIconLayer(String providerName) { |
|
724 | 729 |
String name = null; |
725 | 730 |
try { |
726 |
name = (String) iconLayers.get(store.getProviderName().trim().toLowerCase());
|
|
731 |
name = (String) iconLayers.get(providerName.trim().toLowerCase());
|
|
727 | 732 |
} catch(Throwable th) { |
728 | 733 |
// Do nothing |
729 | 734 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/MapContextManager.java | ||
---|---|---|
459 | 459 |
void registerIconLayer(String store, String iconName); |
460 | 460 |
|
461 | 461 |
String getIconLayer(DataStore store); |
462 |
|
|
462 |
String getIconLayer(String providerName); |
|
463 |
|
|
463 | 464 |
// TODO: |
464 | 465 |
// DynObjectModel getFeatureTypeUIModel(DataStore store, |
465 | 466 |
// FeatureType featureType); |
Also available in: Unified diff