List<TwigNamespaceSetting> twigPaths = new ArrayList<TwigNamespaceSetting>();
for(TwigPath twigPath :this.tableView.getListTableModel().getItems()) {
// only custom and disabled path need to save
if((!twigPath.isEnabled() && twigPath.getRelativePath(this.project) != null) || twigPath.isCustomPath()) {
twigPaths.add(new TwigNamespaceSetting(twigPath.getNamespace(), twigPath.getRelativePath(this.project), twigPath.isEnabled(), twigPath.getNamespaceType(), twigPath.isCustomPath()));
}
}
getSettings().twigNamespaces = twigPaths;
this.changed = false;