private List<OtherStoreDescription> getOtherStores() { List<OtherStoreDescription> stores = new ArrayList<OtherStoreDescription>(); ResourceReference wmsIcon = new ResourceReference(GeoServerApplication.class, "img/icons/geosilk/server_map.png"); stores.add(new OtherStoreDescription("wms", wmsIcon, WMSStoreNewPage.class)); return stores; }
private List<OtherStoreDescription> getOtherStores() { List<OtherStoreDescription> stores = new ArrayList<OtherStoreDescription>(); PackageResourceReference wmsIcon = new PackageResourceReference( GeoServerApplication.class, "img/icons/geosilk/server_map.png"); stores.add(new OtherStoreDescription("wms", wmsIcon, WMSStoreNewPage.class)); stores.add(new OtherStoreDescription("wmts", wmsIcon, WMTSStoreNewPage.class)); return stores; }