Gridarta Editor
net.sf.gridarta.action.ValidateMapAction< 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.ValidateMapAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.action.ValidateMapAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

void setAction (@NotNull final Action action, @NotNull final String name)
 
void validateMap ()
 
 ValidateMapAction (@NotNull final DelegatingMapValidator< G, A, R > validators, @NotNull final MapManager< G, A, R > mapManager)
 

Private Member Functions

boolean doValidateMap (final boolean performAction)
 
MapManagerListener< G, A, R > newMapManagerListener ()
 
void updateActions ()
 

Private Attributes

Action action
 
MapControl< G, A, R > currentMapControl
 
final DelegatingMapValidator< G, A, R > validators
 

Detailed Description

An EditorAction that runs the map validator on the current map.

Author
Andreas Kirschbaum

Definition at line 39 of file ValidateMapAction.java.

Constructor & Destructor Documentation

◆ ValidateMapAction()

Member Function Documentation

◆ doValidateMap()

◆ newMapManagerListener()

◆ setAction()

void net.sf.gridarta.action.ValidateMapAction< 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 
)

◆ updateActions()

◆ validateMap()

void net.sf.gridarta.action.ValidateMapAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.validateMap ( )

Runs the map validator on the current map.

Definition at line 108 of file ValidateMapAction.java.

References net.sf.gridarta.action.ValidateMapAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doValidateMap().

+ Here is the call graph for this function:

Member Data Documentation

◆ action

◆ currentMapControl

◆ validators


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