class XYZMantleController extends DataRegistryListenerAdapter<XYZTileLayerInfo> {

    @Override
    public void allValuesRemoved(Object source)
    {
        List<Long> idsToRemove = New.list(myLayerGroups.keySet());
        for (Long id : idsToRemove)
        {
            removeLayer(id);
        }
    }

    public  XYZMantleController(Toolbox toolbox);

}