returnMessageFormat.format("{0} elements with coordinates, {1} elements with missing coordinates are not displayed",wikiDialog.model.getSize(),Collections.list(wikiDialog.model.elements()).stream().filter(it->it.coordinate==null).count());

}

@Override

publicStringgetToolTipText(){

returnI18n.tr("The Wikipedia/Wikidata layer");

}

@Override

publicvoidmergeFrom(Layerfrom){

thrownewUnsupportedOperationException(MessageFormat.format("Layer of type {0} is not mergable!",WikiLayer.class.getSimpleName()));