Gridarta Editor
|
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 |
An EditorAction that opens the "Create New Map" dialog.
Definition at line 35 of file NewMapAction.java.
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.
newMapDialogFactory | the new map dialog factory to use |
Definition at line 47 of file NewMapAction.java.
void net.sf.gridarta.action.NewMapAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.newMap | ( | ) |
Shows a dialog for creating a new map.
Definition at line 55 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, and net.sf.gridarta.gui.dialog.newmap.NewMapDialogFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.showNewMapDialog().
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.
action | the action instance |
name | the name of the action |
Implements net.sf.gridarta.utils.EditorAction.
Definition at line 60 of file NewMapAction.java.
|
private |
The NewMapDialogFactory for opening "Create New Map" dialogs.
Definition at line 41 of file NewMapAction.java.
Referenced by net.sf.gridarta.action.NewMapAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.newMap(), and net.sf.gridarta.action.NewMapAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.NewMapAction().