|
|
@ -19,6 +19,7 @@ import xyz.wbsite.dbtool.javafx.po.Project;
|
|
|
|
import xyz.wbsite.dbtool.javafx.po.Table;
|
|
|
|
import xyz.wbsite.dbtool.javafx.po.Table;
|
|
|
|
import xyz.wbsite.dbtool.javafx.po.VueOption;
|
|
|
|
import xyz.wbsite.dbtool.javafx.po.VueOption;
|
|
|
|
import xyz.wbsite.dbtool.javafx.tool.Dialog;
|
|
|
|
import xyz.wbsite.dbtool.javafx.tool.Dialog;
|
|
|
|
|
|
|
|
import xyz.wbsite.dbtool.javafx.tool.Tool;
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.File;
|
|
|
|
import java.io.File;
|
|
|
|
import java.io.FilenameFilter;
|
|
|
|
import java.io.FilenameFilter;
|
|
|
@ -309,12 +310,12 @@ public class ProjectManager {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void save(File file) {
|
|
|
|
public void save(File file) {
|
|
|
|
xmlService.saveAs(file, project);
|
|
|
|
xmlService.saveAs(file, project);
|
|
|
|
// jsonManager.saveAs(new File(file.getAbsolutePath().replaceAll("xml$", "json")), project);
|
|
|
|
// jsonManager.saveAs(file, project);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void save() {
|
|
|
|
public void save() {
|
|
|
|
xmlService.saveAs(path, project);
|
|
|
|
xmlService.saveAs(path, project);
|
|
|
|
// jsonManager.saveAs(new File(path.getAbsolutePath().replaceAll("xml$", "json")), project);
|
|
|
|
// jsonManager.saveAs(path, project);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void delete() {
|
|
|
|
public void delete() {
|
|
|
|