From: <jm...@us...> - 2012-08-12 16:28:14
|
Revision: 3186 http://eulergui.svn.sourceforge.net/eulergui/?rev=3186&view=rev Author: jmvanel Date: 2012-08-12 16:28:05 +0000 (Sun, 12 Aug 2012) Log Message: ----------- To achieve a consistent behavior between old (current) XML format and new N3 format, it's better to populate first the KB from the old format, and forget completely the objects Project and N3Source that were created when reading the old XML format (they are re-created from rules in project-java-rules.n3 ). So use, in case of reading the old XML format , the equivalent of recoverProjectObjectsFromKB() : public Project insertProjectInKB(Project project2) TODO : must have a common API to update the KB and the GUI at project loading , or when adding a N3 source (from command line or menu) Modified Paths: -------------- trunk/eulergui/src/main/java/eulergui/gui/controller/ApplicationKB.java trunk/eulergui/src/main/java/eulergui/gui/main/ProjectGUI.java trunk/eulergui/src/main/java/eulergui/project/Project.java trunk/eulergui/src/main/java/eulergui/project/ProjectFactory.java trunk/eulergui/src/main/resources/eulergui/gui/controller/project-java-rules.n3 trunk/eulergui/src/test/java/eulergui/gui/TestEulerGUITooltip.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |