private void importFiles(String fileName)
{
// IMPORTING DATA
final LoadFiles loadFiles = new LoadFiles();
try
{
loadFiles.loadFromListFile(fileName + ".txt");
}
catch (FileFormatException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
catch (IOException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
IDataFilter filter = null;
// GENERATING VENN DIAGRAMS
params = new AllParameters();
vennArrsOptim = new VennArrangementsOptimizer();
vennArrsOptim.setParameters(params);
venn = new VennPanel(vennArrsOptim);
venn.setDataModel(loadFiles.getSourceDataModel());
model = loadFiles.getSourceDataModel();
venn.setDataModel(filter == null ? model : new VennFilteredDataModel(model, filter));
}