metricList = ApplicationParamUtil.findParamListByType("Betegnelse");
}
public JXList getListArticles(boolean useSingleSelection) {
JXList listArticles = new JXList(
getObjectSelectionList(new ArticleTypeComparator()));
listArticles.setName("ListArticles");
if (useSingleSelection) {
listArticles.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
listArticles.setSelectionModel(new SingleListSelectionAdapter(
objectSelectionList.getSelectionIndexHolder()));
}
listArticles.addMouseListener(getListDoubleClickHandler(window));
return listArticles;
}