}
}
private void removeTakstolArticle(WindowInterface window,
PresentationModel presentationModel) {
ApplicationParam param = (ApplicationParam) listTakstolArticleSelectionList
.getSelection();
if (param != null) {
if (Util.showConfirmDialog(window, "Slette",
"Vil du virkelig slette?")) {
listTakstolArticles.remove(param);
presentationModel.setBufferedValue(
ApplicationParamModel.PROPERTY_TAKSTOL_ARTICLE_PARAMS,
listTakstolArticles);
String articleName = param.getParamValue();
notPackageParam = (ApplicationParam) presentationModel
.getBufferedValue(ApplicationParamModel.PROPERTY_NOT_PACKAGE_PARAM);
String notPackageValue = notPackageParam.getParamValue();
notPackageValue = notPackageValue.replaceAll(articleName, "");
notPackageValue = notPackageValue.replaceAll(";;", ";");