Gridarta Editor
net.sf.gridarta.action.SaveAllMapsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R > Class Template Reference
+ Inheritance diagram for net.sf.gridarta.action.SaveAllMapsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.action.SaveAllMapsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

void saveAllMaps ()
 
 SaveAllMapsAction (@NotNull final DefaultFileControl< G, A, R > fileControl)
 
void setAction (@NotNull final Action action, @NotNull final String name)
 

Private Attributes

final DefaultFileControl< G, A, R > fileControl
 

Detailed Description

An EditorAction that saves all modified maps.

Author
Andreas Kirschbaum

Definition at line 35 of file SaveAllMapsAction.java.

Constructor & Destructor Documentation

◆ SaveAllMapsAction()

net.sf.gridarta.action.SaveAllMapsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.SaveAllMapsAction ( @NotNull final DefaultFileControl< G, A, R >  fileControl)

Creates a new instance.

Parameters
fileControlthe global file control instance

Definition at line 47 of file SaveAllMapsAction.java.

References net.sf.gridarta.action.SaveAllMapsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fileControl.

Member Function Documentation

◆ saveAllMaps()

◆ setAction()

void net.sf.gridarta.action.SaveAllMapsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setAction ( @NotNull final Action  action,
@NotNull final String  name 
)

Sets the Action instance for this editor action.

Parameters
actionthe action instance
namethe name of the action

Implements net.sf.gridarta.utils.EditorAction.

Definition at line 60 of file SaveAllMapsAction.java.

Member Data Documentation

◆ fileControl


The documentation for this class was generated from the following file: