@Override protected List<StyleInfo> load() { List<StyleInfo> styles = new ArrayList<StyleInfo>(GeoServerApplication.get().getCatalog().getStyles()); Collections.sort(styles, new StyleNameComparator()); return styles; } }
@Override protected Object load() { List<StyleInfo> styles = new ArrayList<StyleInfo>(GeoServerApplication.get().getCatalog().getStyles()); Collections.sort(styles, new StyleNameComparator()); return styles; }