Example #1
0
 /**
  * Constructor
  *
  * @throws java.io.IOException
  * @throws java.lang.ClassNotFoundException
  */
 public SaveGroup() throws IOException, ClassNotFoundException {
   super();
   setAlignment(Pos.CENTER_LEFT);
   setSpacing(10);
   this.registries = new ArrayList<>();
   FileEngineRelation.INSTANCE.addObserver(this);
   buildRegistries();
   getChildren().addAll(this.registries);
 }
Example #2
0
 /** Set up the save registries */
 private void buildRegistries() throws IOException, ClassNotFoundException {
   for (Engine e : FileEngineRelation.INSTANCE.values()) setUpRegistry(e);
 }