public class SaveAllMapsAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
EditorAction
that saves all modified maps.Constructor and Description |
---|
SaveAllMapsAction(@NotNull DefaultFileControl<G,A,R> fileControl)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
saveAllMaps()
Saves all modified maps.
|
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
public SaveAllMapsAction(@NotNull @NotNull DefaultFileControl<G,A,R> fileControl)
fileControl
- the global file control instance@ActionMethod public void saveAllMaps()
public void setAction(@NotNull @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)
EditorAction
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action