Exemplo n.º 1
0
 public void removeReferencedElement(ModelElement x) throws PropertyVetoException {
   if (_referencedElement == null) return;
   fireVetoableChange("referencedElement", _referencedElement, x);
   _referencedElement.removeElement(x);
 }
Exemplo n.º 2
0
 public void addReferencedElement(ModelElement x) throws PropertyVetoException {
   if (_referencedElement == null) _referencedElement = new Vector();
   fireVetoableChange("referencedElement", _referencedElement, x);
   _referencedElement.addElement(x);
 }