public class MapMenuManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Constructor and Description |
---|
MapMenuManager(MapMenu mapMenu,
MapViewsManager<?,?,?> mapViewsManager,
FileControl<?,?,?> fileControl,
MapImageCache<?,?,?> mapImageCache)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
initRecent()
Initializes the recent state.
|
void |
setMenu(javax.swing.JMenu recentMenu)
Sets the menu to update.
|
public MapMenuManager(@NotNull MapMenu mapMenu, @NotNull MapViewsManager<?,?,?> mapViewsManager, @NotNull FileControl<?,?,?> fileControl, @NotNull MapImageCache<?,?,?> mapImageCache)
mapMenu
- the map menu to usemapViewsManager
- the map views manager for opening map filesfileControl
- the file control for reporting errorsmapImageCache
- the map image cache to query