if (ftsNum < 1) {
MessageDialog.openWarning(getShell(), Messages.SimplePolygonEditorPage_1, Messages.SimplePolygonEditorPage_2);
style = oldStyleCopy;
setStyle(oldStyleCopy);
layer.revertAll();
layer.apply();
StyleEditorDialog dialog = (StyleEditorDialog) getContainer();
dialog.getCurrentPage().refresh();
return;
}