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

Public Member Functions

void newMap ()
 
 NewMapAction (@NotNull final NewMapDialogFactory< G, A, R > newMapDialogFactory)
 
void setAction (@NotNull final Action action, @NotNull final String name)
 

Private Attributes

final NewMapDialogFactory< G, A, R > newMapDialogFactory
 

Detailed Description

An EditorAction that opens the "Create New Map" dialog.

Author
Andreas Kirschbaum

Definition at line 35 of file NewMapAction.java.

Constructor & Destructor Documentation

◆ NewMapAction()

net.sf.gridarta.action.NewMapAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.NewMapAction ( @NotNull final NewMapDialogFactory< G, A, R >  newMapDialogFactory)

Creates a new instance.

Parameters
newMapDialogFactorythe new map dialog factory to use

Definition at line 47 of file NewMapAction.java.

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

Member Function Documentation

◆ newMap()

◆ setAction()

void net.sf.gridarta.action.NewMapAction< 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 NewMapAction.java.

Member Data Documentation

◆ newMapDialogFactory


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