@Override
 public void customEventOccurred(CustomEvent event) {
   TagMask tagMask = (TagMask) event.getSource();
   model.setTagMask(tagMask);
 } // customEventOccurred
 @Override
 public void customEventOccurred(CustomEvent event) {
   Plant plant = (Plant) event.getSource();
   model.setPlant(plant);
 } // customEventOccurred