public class ActionFactory
extends java.lang.Object
MapMenuAction
instances.Constructor and Description |
---|
ActionFactory(MapViewsManager<?,?,?> mapViewsManager,
FileControl<?,?,?> fileControl,
MapImageCache<?,?,?> mapImageCache)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
begin()
Begins a lookup sequence.
|
void |
end()
Ends a lookup sequence.
|
javax.swing.Action |
getAction(MapMenuEntryMap mapMenuEntryMap)
Returns an
Action for a MapMenuEntryMap instance. |
public ActionFactory(@NotNull MapViewsManager<?,?,?> mapViewsManager, @NotNull FileControl<?,?,?> fileControl, @NotNull MapImageCache<?,?,?> mapImageCache)
mapViewsManager
- the map views manager for opening map filesfileControl
- the file control for reporting errorsmapImageCache
- the map image cache to querypublic void begin()
public void end()
begin()
are deleted.@NotNull public javax.swing.Action getAction(@NotNull MapMenuEntryMap mapMenuEntryMap)
Action
for a MapMenuEntryMap
instance.mapMenuEntryMap
- the instance