Example #1
0
 public void fillAppearanceWidgets(
     Set<MapWidgetRegInfo> widgets, String category, ArrayList<Object> registry) {
   for (MapWidgetRegInfo w : widgets) {
     if (Algorithms.objectEquals(w.getCategory(), category)) {
       registry.add(w);
     }
   }
 }
Example #2
0
 public Set<String> getSpecificVisibleCategories(Set<MapWidgetRegInfo> m) {
   Set<String> s = new LinkedHashSet<String>();
   for (MapWidgetRegInfo ms : m) {
     if (ms.getCategory() != null) {
       s.add(ms.getCategory());
     }
   }
   return s;
 }