Examples of firePostChangeEvent()


Examples of org.biojava.utils.ChangeSupport.firePostChangeEvent()

          cs.firePreChangeEvent(ce);
          terms.remove(name);
          if (t instanceof Triple) {
            removeTriple((Triple) t);
          }
          cs.firePostChangeEvent(ce);
        }
      }
    }

    public boolean containsTerm(String name) {
View Full Code Here

Examples of org.biojava.utils.ChangeSupport.firePostChangeEvent()

        ChangeSupport cs = getChangeSupport(Ontology.TRIPLE);
        synchronized(cs) {
          cs.firePreChangeEvent(ce);
          addTerm(t);
          addTriple(t);
          cs.firePostChangeEvent(ce);
        }
      }
      return t;
    }
View Full Code Here

Examples of org.biojava.utils.ChangeSupport.firePostChangeEvent()

      );
      ChangeSupport cs = getChangeSupport(Annotation.PROPERTY);
      synchronized(cs) {
        cs.firePreChangeEvent(ce);
        properties.put(key, value);
        cs.firePostChangeEvent(ce);
      }
    }
  }

  public void removeProperty(Object key)
View Full Code Here

Examples of org.biojava.utils.ChangeSupport.firePostChangeEvent()

      );
      ChangeSupport cs = getChangeSupport(Annotation.PROPERTY);
      synchronized(cs) {
        cs.firePreChangeEvent(ce);
        properties.remove(key);
        cs.firePostChangeEvent(ce);
      }
    }
  }

  public boolean containsProperty(Object key) {
View Full Code Here

Examples of org.biojava.utils.ChangeSupport.firePostChangeEvent()

        );
        ChangeSupport cs = getChangeSupport(Ontology.TERM);
        synchronized(cs) {
          cs.firePreChangeEvent(ce);
          terms.put(t.getName(), t);
          cs.firePostChangeEvent(ce);
        }
      }
    }

    public Term createTerm(String name)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.