|
Gridarta Editor
|
Abstract base class for actions that change the current selection. More...
Inheritance diagram for net.sf.gridarta.action.AbstractSelectionAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.action.AbstractSelectionAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Protected Member Functions | |
| boolean | doSelection (final boolean performAction, @NotNull final SelectionMode mode) |
| Executes an action for changing the selection. More... | |
Protected Member Functions inherited from net.sf.gridarta.action.AbstractMapCursorAction< G, A, R > | |
| MapCursor< G, A, R > | getActiveMapCursor () |
| Return the map cursor of the current map view if it is active. More... | |
| MapView< G, A, R > | getActiveMapView () |
| Return the current map view. More... | |
| abstract void | updateAction () |
| Called whenever the current map cursor has changed. More... | |
Additional Inherited Members | |
Public Member Functions inherited from net.sf.gridarta.action.AbstractMapCursorAction< G, A, R > | |
| void | activeMapViewChanged ( @Nullable final MapView< G, A, R > mapView) |
| This event handler is called when the current map view has changed. More... | |
| void | mapCursorChangedGameObject ( @Nullable final MapSquare< G, A, R > mapSquare, @Nullable final G gameObject) |
| NoopMethodInAbstractClass More... | |
| void | mapCursorChangedMode () |
| This event handler is called when MapCursor changes mode (drag, select). More... | |
| void | mapCursorChangedPos ( @NotNull final Point location) |
| This event handler is called when MapCursor has moved. More... | |
| void | mapCursorChangedSize () |
| NoopMethodInAbstractClass More... | |
| void | mapViewClosing ( @NotNull final MapView< G, A, R > mapView) |
| NoopMethodInAbstractClass More... | |
| void | mapViewCreated ( @NotNull final MapView< G, A, R > mapView) |
| NoopMethodInAbstractClass More... | |
Abstract base class for actions that change the current selection.
Definition at line 33 of file AbstractSelectionAction.java.
|
protected |
Executes an action for changing the selection.
| performAction | whether the action should be performed |
| mode | the type of action to perform |
Definition at line 41 of file AbstractSelectionAction.java.