String filename = openDialog.open();
try {
XMLDecoder decoder = new XMLDecoder(new FileInputStream(filename));
SieveResult sr = (SieveResult)decoder.readObject();
SieveData sd = new SieveData(sr.getTotal());
sd.setSieveResult(sr);
View view = (View) HandlerUtil.getActivePart(event);
view.setSieveData(sd);
decoder.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block