@Override
protected Collection<Analyzer> doInBackground() throws Exception {
XSModel xsmodel = model.getSchemaModel();
final XsModelWalker walker = new XsModelWalker();
final PropertyChangeListener changeListener = new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
setDetailMessage(RunMultipleDialog.this.getMessage("visualProgressWorker.detailMessage", new Object[] { evt.getNewValue()}));
}
};
walker.addPropertyChangeListener(changeListener);
for (Analyzer analyzer : getSelectedAnalyzers()) {
analyzer.setup(model);
walker.addWorkers(analyzer.getWorkers());
}
walker.walkModel(xsmodel);
for (Analyzer analyzer : getSelectedAnalyzers()) {
analyzer.setResult(model);
}