|
Gridarta Editor
|
Manages all opened pickmaps. More...
Inheritance diagram for net.sf.gridarta.model.mapmanager.DefaultPickmapManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.model.mapmanager.DefaultPickmapManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Public Member Functions | |
| DefaultPickmapManager (@NotNull final MapReaderFactory< G, A > mapReaderFactory, @NotNull final MapControlFactory< G, A, R > mapControlFactory, @NotNull final ProjectSettings projectSettings, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final PathManager pathManager) | |
| Create a new map manager. More... | |
Public Member Functions inherited from net.sf.gridarta.model.mapmanager.AbstractMapManager< G, A, R > | |
| void | addMapManagerListener ( @NotNull final MapManagerListener< G, A, R > listener) |
| void | closeMap ( @NotNull final MapControl< G, A, R > mapControl) |
| MapControl< G, A, R > | getCurrentMap () |
| Returns the current top map we are working with. More... | |
| File | getLocalMapDir () |
| List< MapControl< G, A, R > > | getOpenedMaps () |
| MapControl< G, A, R > | getOpenMap () |
| MapControl< G, A, R > | newMap ( @Nullable final List< G > objects, @NotNull final A mapArchObject, @Nullable final MapFile mapFile, final boolean interactive) |
| MapControl< G, A, R > | openMapFile ( @NotNull final MapFile mapFile, final boolean interactive) throws IOException |
| MapControl< G, A, R > | openMapFile ( @NotNull final File file, final boolean interactive) throws IOException |
| void | release ( @NotNull final MapControl< G, A, R > mapControl) |
| void | removeMapManagerListener ( @NotNull final MapManagerListener< G, A, R > listener) |
| void | revert ( @NotNull final MapControl< G, A, R > mapControl) throws IOException |
| void | setCurrentMap ( @Nullable final MapControl< G, A, R > mapControl) |
| void | setFileControl ( @NotNull final FileControl< G, A, R > fileControl) |
Protected Member Functions | |
| MapControl< G, A, R > | createMapControl (@Nullable final List< G > objects, @NotNull final A mapArchObject, @Nullable final MapFile mapFile) |
Protected Member Functions inherited from net.sf.gridarta.model.mapmanager.AbstractMapManager< G, A, R > | |
| AbstractMapManager ( @NotNull final MapReaderFactory< G, A > mapReaderFactory, @NotNull final ProjectSettings projectSettings, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final PathManager pathManager) | |
| Create a new map manager. More... | |
| abstract MapControl< G, A, R > | createMapControl ( @Nullable List< G > objects, @NotNull A mapArchObject, @Nullable MapFile mapFile) |
| Creates a new MapControl instance. More... | |
Private Attributes | |
| final MapControlFactory< G, A, R > | mapControlFactory |
| The MapControlFactory instance. More... | |
Manages all opened pickmaps.
Definition at line 40 of file DefaultPickmapManager.java.
| net.sf.gridarta.model.mapmanager.DefaultPickmapManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.DefaultPickmapManager | ( | @NotNull final MapReaderFactory< G, A > | mapReaderFactory, |
| @NotNull final MapControlFactory< G, A, R > | mapControlFactory, | ||
| @NotNull final ProjectSettings | projectSettings, | ||
| @NotNull final FaceObjectProviders | faceObjectProviders, | ||
| @NotNull final PathManager | pathManager | ||
| ) |
Create a new map manager.
| mapReaderFactory | the map reader factory instance |
| mapControlFactory | the map control factory instance |
| projectSettings | the project settings instance |
| faceObjectProviders | the face object providers |
| pathManager | the path manager for converting file instances |
Definition at line 56 of file DefaultPickmapManager.java.
|
protected |
|
private |
The MapControlFactory instance.
Definition at line 46 of file DefaultPickmapManager.java.