public class ActionFactory
extends java.lang.Object
MapMenuAction
instances.Constructor and Description |
---|
ActionFactory(@NotNull MapViewsManager<?,?,?> mapViewsManager,
@NotNull FileControl<?,?,?> fileControl,
@NotNull MapImageCache<?,?,?> mapImageCache)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
begin()
Begins a lookup sequence.
|
void |
end()
Ends a lookup sequence.
|
@NotNull javax.swing.Action |
getAction(@NotNull MapMenuEntryMap mapMenuEntryMap)
Returns an
Action for a MapMenuEntryMap instance. |
public ActionFactory(@NotNull @NotNull MapViewsManager<?,?,?> mapViewsManager, @NotNull @NotNull FileControl<?,?,?> fileControl, @NotNull @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 @NotNull javax.swing.Action getAction(@NotNull @NotNull MapMenuEntryMap mapMenuEntryMap)
Action
for a MapMenuEntryMap
instance.mapMenuEntryMap
- the instance