semanticTypeIdentifier = semanticTypeIdentifier.concat(paletteName.toLowerCase());
//create the classification function, if necessary
if (classifierModified) {
//TODO: add other classifiers
FunctionName fn = null;
boolean createClassifier = true;
if (getCombo(COMBO_BREAKTYPE).getText().equalsIgnoreCase(Messages.StyleEditor_theme_uniques))
fn = UniqueIntervalFunction.NAME;
else if (getCombo(COMBO_BREAKTYPE).getText().equalsIgnoreCase(Messages.StyleEditor_theme_equalInterval))
fn = EqualIntervalFunction.NAME;
else if (getCombo(COMBO_BREAKTYPE).getText().equalsIgnoreCase(Messages.StyleEditor_theme_quantile))
fn = QuantileFunction.NAME;
else if (getCombo(COMBO_BREAKTYPE).getText().equalsIgnoreCase(Messages.StyleEditor_theme_standardDeviation))
fn = StandardDeviationFunction.NAME;
else if (getCombo(COMBO_BREAKTYPE).getText().equalsIgnoreCase(Messages.StyleEditor_theme_custom)){
classifier = customBreak;
createClassifier = false;
}else{
return;
}
if (createClassifier) {
function = (ClassificationFunction) ff.function(fn.getFunctionName(), new Expression[fn.getArgumentCount()]);
ProgressListener cancelProgress = ((StyleEditorDialog) getContainer()).getProgressListener();
function.setProgressListener((org.geotools.util.ProgressListener) cancelProgress);
numClasses = new Integer(getCombo(COMBO_CLASSES).getText()).intValue();