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(@NotNull MapMenu mapMenu,
@NotNull MapViewsManager<?,?,?> mapViewsManager,
@NotNull FileControl<?,?,?> fileControl,
@NotNull MapImageCache<?,?,?> mapImageCache)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
initRecent()
Initializes the recent state.
|
void |
setMenu(@Nullable javax.swing.JMenu recentMenu)
Sets the menu to update.
|
public MapMenuManager(@NotNull @NotNull MapMenu mapMenu, @NotNull @NotNull MapViewsManager<?,?,?> mapViewsManager, @NotNull @NotNull FileControl<?,?,?> fileControl, @NotNull @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