public void removeElements(IXmlBBase obj) { int idx = indexOfElements(obj); if (idx >= 0) { deleteElements(idx); NotifyControllers(null); } }