Gridarta Editor
|
Public Member Functions | |
void | goLocation () |
GoLocationAction (@NotNull final MapViewManager< G, A, R > mapViewManager) | |
void | setAction (@NotNull final Action action, @NotNull final String name) |
![]() | |
void | activeMapViewChanged ( @Nullable final MapView< G, A, R > mapView) |
void | mapCursorChangedGameObject ( @Nullable final MapSquare< G, A, R > mapSquare, @Nullable final G gameObject) |
void | mapCursorChangedMode () |
void | mapCursorChangedPos ( @NotNull final Point location) |
void | mapCursorChangedSize () |
void | mapViewClosing ( @NotNull final MapView< G, A, R > mapView) |
void | mapViewCreated ( @NotNull final MapView< G, A, R > mapView) |
Protected Member Functions | |
void | updateAction () |
![]() | |
MapCursor< G, A, R > | getActiveMapCursor () |
MapView< G, A, R > | getActiveMapView () |
abstract void | updateAction () |
Private Member Functions | |
boolean | doGoLocation (final boolean performAction) |
Private Attributes | |
Action | action |
final AbstractPerMapDialogManager< G, A, R, GoLocationDialog< G, A, R > > | goLocationDialogManager |
An EditorAction that openes the "go location" dialog.
Definition at line 40 of file GoLocationAction.java.
net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.GoLocationAction | ( | @NotNull final MapViewManager< G, A, R > | mapViewManager | ) |
Creates a new instance.
mapViewManager | the map view manager |
Definition at line 60 of file GoLocationAction.java.
|
private |
Executes the "go location" action.
performAction | whether the action should be performed |
Definition at line 90 of file GoLocationAction.java.
References net.sf.gridarta.action.AbstractMapCursorAction< G, A, R >.getActiveMapView(), net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.goLocationDialogManager, and net.sf.gridarta.gui.map.AbstractPerMapDialogManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, D >.showDialog().
Referenced by net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.goLocation(), and net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateAction().
void net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.goLocation | ( | ) |
Opens the "go location" dialog.
Definition at line 74 of file GoLocationAction.java.
void net.sf.gridarta.action.GoLocationAction< 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 65 of file GoLocationAction.java.
References net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.action, and net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateAction().
|
protected |
Definition at line 79 of file GoLocationAction.java.
References net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.action, and net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doGoLocation().
|
private |
The Action associated with this editor action. Set to
if no action is associated.
Definition at line 54 of file GoLocationAction.java.
Referenced by net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setAction(), and net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateAction().
|
private |
The AbstractPerMapDialogManager to track go location dialog instances.
Definition at line 47 of file GoLocationAction.java.
Referenced by net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doGoLocation(), and net.sf.gridarta.action.GoLocationAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.GoLocationAction().