public void removeStates(IXmlBBase obj) { int idx = indexOfStates(obj); if (idx >= 0) { deleteStates(idx); NotifyControllers(null); } }