Package net.sf.gridarta.gui.mapfiles
Class Loader<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.gui.mapfiles.Loader<G,A,R>
-
public class Loader<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.ObjectLoader for pickmaps from a directory.
-
-
Constructor Summary
Constructors Constructor Description Loader(@NotNull ErrorView errorView, @NotNull MapFolderTree<G,A,R> mapFolderTree, @NotNull MapReaderFactory<G,A> mapReaderFactory, @NotNull MapManager<G,A,R> pickmapManager, @NotNull MapViewsManager<G,A,R> mapViewsManager)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload()Loads all pickmap files from a directory and its sub-directories.
-
-
-
Constructor Detail
-
Loader
public Loader(@NotNull @NotNull ErrorView errorView, @NotNull @NotNull MapFolderTree<G,A,R> mapFolderTree, @NotNull @NotNull MapReaderFactory<G,A> mapReaderFactory, @NotNull @NotNull MapManager<G,A,R> pickmapManager, @NotNull @NotNull MapViewsManager<G,A,R> mapViewsManager)Creates a new instance.- Parameters:
errorView- the error view for reporting error messagesmapFolderTree- the model to add the loaded pickmaps tomapReaderFactory- the map reader factory to loading map filespickmapManager- the map manager for loading pickmapsmapViewsManager- the map views manager
-
-