Moved the main file into outer folder
parent
2bf78f7c73
commit
d575eaf1d2
|
@ -1,9 +1,10 @@
|
||||||
package meerkat.voting.gui.managment;
|
package meerkat.voting.gui;
|
||||||
|
|
||||||
import javafx.application.Application;
|
import javafx.application.Application;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
import meerkat.voting.gui.configuration.VotingBoothConfiguration;
|
import meerkat.voting.gui.configuration.VotingBoothConfiguration;
|
||||||
import meerkat.voting.gui.configuration.VotingBoothConfigurationCreator;
|
import meerkat.voting.gui.configuration.VotingBoothConfigurationCreator;
|
||||||
|
import meerkat.voting.gui.managment.ChainBuilder;
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -22,7 +22,7 @@ import java.util.Map;
|
||||||
* ChainBuilder builds all the two way nodes that are in current project (voting-booth-gui)
|
* ChainBuilder builds all the two way nodes that are in current project (voting-booth-gui)
|
||||||
* and connects between all of them so they can keep their flow
|
* and connects between all of them so they can keep their flow
|
||||||
*/
|
*/
|
||||||
class ChainBuilder {
|
public class ChainBuilder {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates all the twoWayNodes and connects between them
|
* Creates all the twoWayNodes and connects between them
|
||||||
|
@ -45,7 +45,7 @@ class ChainBuilder {
|
||||||
* and the previous this way the flow between will be easy .
|
* and the previous this way the flow between will be easy .
|
||||||
* The Build method creates all the screens and connect between them
|
* The Build method creates all the screens and connect between them
|
||||||
*/
|
*/
|
||||||
static Map<String, TwoWayNode> Build(Stage primaryStage, VotingBoothConfiguration configuration) throws IOException {
|
public static Map<String, TwoWayNode> Build(Stage primaryStage, VotingBoothConfiguration configuration) throws IOException {
|
||||||
VotersBallot votersBallot = new VotersBallot();
|
VotersBallot votersBallot = new VotersBallot();
|
||||||
|
|
||||||
WelcomeSplashLoader welcomeSplashLoader = new WelcomeSplashLoader(primaryStage, configuration);
|
WelcomeSplashLoader welcomeSplashLoader = new WelcomeSplashLoader(primaryStage, configuration);
|
||||||
|
|
Loading…
Reference in New Issue