optimize image saving/loading

This commit is contained in:
bancika
2011-01-26 23:50:48 +00:00
parent 3dd4a4c5e3
commit be7ab3412d
7 changed files with 103 additions and 3 deletions
@@ -64,7 +64,7 @@ public class ProjectFileManager {
V1_COLOR_MAP.put("yellow", Color.yellow);
}
private XStream xStream = new XStream(new DomDriver());
private XStream xStream;
private String currentFileName = null;
private boolean modified = false;
@@ -73,6 +73,8 @@ public class ProjectFileManager {
public ProjectFileManager(MessageDispatcher<EventType> messageDispatcher) {
super();
this.xStream = new XStream(new DomDriver());
xStream.autodetectAnnotations(true);
this.messageDispatcher = messageDispatcher;
}