use of com.extjs.gxt.ui.client.data.BaseModelData in project activityinfo by bedatadriven.
the class BaseMapDialog method googleThumb.
private ModelData googleThumb(GoogleBaseMap baseMap, String name) {
BaseModelData thumb = new BaseModelData();
thumb.set("id", baseMap.getId());
thumb.set("name", name);
thumb.set("path", GWT.getModuleBaseURL() + "basemaps/" + baseMap.getId() + ".png");
return thumb;
}
use of com.extjs.gxt.ui.client.data.BaseModelData in project activityinfo by bedatadriven.
the class BaseMapDialog method tileThumb.
private ModelData tileThumb(BaseMap baseMap) {
BaseModelData thumb = new BaseModelData();
thumb.set("id", baseMap.getId());
thumb.set("name", ((TileBaseMap) baseMap).getName());
thumb.set("path", ((TileBaseMap) baseMap).getThumbnailUrl());
return thumb;
}
Aggregations