String[] strsNamesExisting = GfrWrpBasTopSynEclPlcs.getInstance().getSortedNamesTlo();
for (int i = 0; i < lst.size(); i++)
{
GfrObjectNamPnt objPntIdCur = lst.get(i);
if (super._blnCanceled)
{
super._blnDoneJob = true;
return;
}
// ---
if (blnShowProgressItems)
{
int intPercentItems = intCountItems * 100 / intTotalItems / 3;
super._lblItems.setText("Processing placemarks, " + intPercentItems + "% done");
super._pbrItems.setValue(intPercentItems);
intCountItems++;
}
else
{
super._lblItems.setText("Processing placemark, please wait ...");
}
// ---
strsUrl[i] = "";
strsDescription[i] = "";
String strNameCur = objPntIdCur.getNameUnique();
String strNameCurCandidate = strNameCur;
String[] strsNamesExistingAndCurs = new String[strsNamesExisting.length + i];
for (int j = 0; j < strsNamesExisting.length; j++)
{
strsNamesExistingAndCurs[j] = strsNamesExisting[j];
}
for (int j = 0; j < i; j++)
{
strsNamesExistingAndCurs[strsNamesExisting.length + j] = strsLabel[j];
}
if (GfrUtlString.s_contains(strsNamesExistingAndCurs, strNameCur))
strNameCurCandidate = GfrUtlString.s_createUniqueNameByNumber(strsNamesExistingAndCurs, strNameCur);
strsLabel[i] = strNameCurCandidate;
p2ds[i] = new Point2D.Double(objPntIdCur.getPoint().x, objPntIdCur.getPoint().y);
// end