Example #1
0
 @Override
 public void empty() {
   Elements.setVisible(empty.asElement(), true);
   for (Element element : elements) {
     Elements.setVisible(element, false);
   }
 }
Example #2
0
 @Override
 public void setMacros(Iterable<Macro> macros) {
   Elements.setVisible(empty.asElement(), false);
   for (Element element : elements) {
     Elements.setVisible(element, true);
   }
   macroList.setItems(macros);
 }