return new ActionListener() {
public void actionPerformed(ActionEvent e) {
int selectedModelIndex = modelList.getSelectedIndex();
String desc = (String) modelListModel.get(selectedModelIndex);
IModel model = modelMap.get(desc);
ModelSelectionMessage msg = new ModelSelectionMessage(this,
model);
Mediator.getInstance().getModelSelectionNofitier()
.notifyListeners(msg);
}
};