parent
e004e6fdb7
commit
4c3be08ec8
@ -0,0 +1,11 @@
|
|||||||
|
package com.olexyn.ensync.artifacts;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
public class Sync {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public Map<String, SyncMap> syncMaps = new HashMap<>();
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
<syncmap>
|
||||||
|
<name>SyncMap1</name>
|
||||||
|
<syncdirectory>
|
||||||
|
<name>SyncDirectory1</name>
|
||||||
|
<path>/foo/dir</path>
|
||||||
|
</syncdirectory>
|
||||||
|
<syncdirectory>
|
||||||
|
<name>SyncDirectory2</name>
|
||||||
|
<path>/bar/dir</path>
|
||||||
|
</syncdirectory>
|
||||||
|
</syncmap>
|
@ -0,0 +1,39 @@
|
|||||||
|
package com.olexyn.ensync.ui;
|
||||||
|
|
||||||
|
import javafx.application.Application;
|
||||||
|
import javafx.fxml.FXMLLoader;
|
||||||
|
import javafx.scene.Parent;
|
||||||
|
import javafx.scene.Scene;
|
||||||
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
|
|
||||||
|
public class UI extends Application {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void start(Stage primaryStage) throws Exception {
|
||||||
|
Parent root = FXMLLoader.load(getClass().getResource("layout.fxml"));
|
||||||
|
Scene scene = new Scene(root, 500, 500);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
primaryStage.setTitle("EnSync");
|
||||||
|
primaryStage.setScene(scene);
|
||||||
|
primaryStage.show();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
UI.launch(args);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue