Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv20330/src/net/sourceforge/bprocessor/gui
Modified Files:
GUI.java
Log Message:
Index: GUI.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/GUI.java,v
retrieving revision 1.119
retrieving revision 1.120
diff -C2 -d -r1.119 -r1.120
*** GUI.java 20 May 2010 10:58:40 -0000 1.119
--- GUI.java 31 Aug 2010 13:48:06 -0000 1.120
***************
*** 32,41 ****
import net.sourceforge.bprocessor.model.Item;
import net.sourceforge.bprocessor.model.modellor.Modellor;
- import net.sourceforge.bprocessor.model.sense.DataReader;
- import net.sourceforge.bprocessor.model.sense.SensorItem;
- import java.text.ParseException;
import java.util.Collection;
- import java.util.List;
import java.util.Set;
import java.util.HashSet;
--- 32,37 ----
***************
*** 55,59 ****
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
- import java.io.IOException;
import java.io.OutputStream;
--- 51,54 ----
***************
*** 621,635 ****
int state = chooser.showOpenDialog(null);
File file = chooser.getSelectedFile();
- DataReader reader = new DataReader();
- try {
- List<SensorItem> data = reader.read(file);
- Project.getInstance().setMeasures(data);
- } catch (IOException e1) {
- // TODO Auto-generated catch block
- e1.printStackTrace();
- } catch (ParseException e1) {
- // TODO Auto-generated catch block
- e1.printStackTrace();
- }
}
});
--- 616,619 ----
|