|
Gridarta Editor
|
Inheritance diagram for net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Public Member Functions | |
| void | deleteArch () |
| DeleteArchAction (@NotNull final MapViewSettings mapViewSettings) | |
| void | setAction (@NotNull final Action action, @NotNull final String name) |
Public Member Functions inherited from net.sf.gridarta.action.AbstractMapCursorAction< G, A, R > | |
| 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 () |
Protected Member Functions inherited from net.sf.gridarta.action.AbstractMapCursorAction< G, A, R > | |
| MapCursor< G, A, R > | getActiveMapCursor () |
| MapView< G, A, R > | getActiveMapView () |
| abstract void | updateAction () |
Private Member Functions | |
| boolean | doDeleteArch (final boolean performAction) |
Private Attributes | |
| Action | action |
| final MapViewSettings | mapViewSettings |
An EditorAction that deletes the currently selected game object.
Definition at line 37 of file DeleteArchAction.java.
| net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.DeleteArchAction | ( | @NotNull final MapViewSettings | mapViewSettings | ) |
Creates a new instance.
| mapViewSettings | the map view settings for querying options |
Definition at line 56 of file DeleteArchAction.java.
| void net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.deleteArch | ( | ) |
Action method for "delete arch".
Definition at line 70 of file DeleteArchAction.java.
Here is the call graph for this function:
|
private |
Executes the "delete arch" action.
| performAction | whether the action should be performed |
Definition at line 79 of file DeleteArchAction.java.
References net.sf.gridarta.model.mapcursor.MapCursor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.deleteSelectedGameObject(), net.sf.gridarta.action.AbstractMapCursorAction< G, A, R >.getActiveMapCursor(), net.sf.gridarta.model.mapviewsettings.MapViewSettings.isAutojoin(), and net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapViewSettings.
Referenced by net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.deleteArch(), and net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateAction().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.action.DeleteArchAction< 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 61 of file DeleteArchAction.java.
References net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.action, and net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateAction().
Here is the call graph for this function:
|
protected |
Definition at line 85 of file DeleteArchAction.java.
References net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.action, and net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doDeleteArch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The Action associated with this editor action. Set to
if no action is associated.
Definition at line 50 of file DeleteArchAction.java.
Referenced by net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setAction(), and net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateAction().
|
private |
The MapViewSettings for querying options.
Definition at line 43 of file DeleteArchAction.java.
Referenced by net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.DeleteArchAction(), and net.sf.gridarta.action.DeleteArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doDeleteArch().