Example #1
0
 @Override
 protected void startListening() {
   super.startListening();
   if (m_condition != null) {
     m_condition.addPropertyListener(this);
   }
 }
 protected void startListening() {
   super.startListening();
   if (m_list != null) {
     m_list.addPropertyListener(this);
     if (m_list.get() != null) {
       ((edu.cmu.cs.stage3.alice.core.Element) m_list.get()).name.addPropertyListener(this);
       nameListening = true;
     }
   }
   if (m_each != null) {
     m_each.addPropertyListener(this);
   }
   listenToChildren(this.m_components);
 }