|
Gridarta Editor
|
Encapsulates actions and related functions. More...
Inheritance diagram for net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Public Member Functions | |
| void | activeMapViewChanged (@Nullable final MapView< G, A, R > mapView) |
| This event handler is called when the current map view has changed. More... | |
| void | clear () |
| "Clear" was selected from the Edit menu. More... | |
| void | copy () |
| "Copy" was selected from the Edit menu. More... | |
| void | cut () |
| "Cut" was selected from the Edit menu. More... | |
| void | expandEmptySelection () |
| Invoked when the user wants to expand the selection of empty map squares to surrounding empty map squares. More... | |
| void | fillAbove () |
| "Fill above" was selected from the Edit menu. More... | |
| void | fillAuto () |
| "Fill" was selected from the Edit menu. More... | |
| void | fillBelow () |
| "Fill below" was selected from the Edit menu. More... | |
| void | find () |
| "Find" was selected from the Edit menu. More... | |
| void | findNext () |
| "Find next" was selected from the Edit menu. More... | |
| void | findPrev () |
| "Find previous" was selected from the Edit menu. More... | |
| void | floodFill () |
| "Flood fill" was selected from the Edit menu. More... | |
| void | invertSelection () |
| Invoked when the user wants to invert all selected squares from a map. More... | |
| MainActions (@NotNull final FindDialogManager< G, A, R > findDialogManager, @NotNull final ReplaceDialogManager< G, A, R > replaceDialogManager, @NotNull final JFrame parent, @NotNull final MapViewSettings mapViewSettings, @NotNull final ArchetypeSet< G, A, R > archetypeSet, @NotNull final CopyBuffer< G, A, R > copyBuffer, @NotNull final ObjectChooser< G, A, R > objectChooser, @NotNull final MapManager< G, A, R > mapManager, @NotNull final InsertionModeSet< G, A, R > insertionModeSet) | |
| Create a new instance. More... | |
| void | mapViewClosing (@NotNull final MapView< G, A, R > mapView) |
| This event handler is called when a map view is to be closed. More... | |
| void | mapViewCreated (@NotNull final MapView< G, A, R > mapView) |
| This event handler is called when a map view was created. More... | |
| void | massChange () |
| "Mass change" was selected from the Edit menu. More... | |
| void | paste () |
| "Paste" was selected from the Edit menu. More... | |
| void | pasteTiled () |
| "Paste Tiled" was selected from the Edit menu. More... | |
| void | randFillAbove () |
| "Random fill above" was selected from the Edit menu. More... | |
| void | randFillAuto () |
| "Random fill" was selected from the Edit menu. More... | |
| void | randFillBelow () |
| "Random fill below" was selected from the Edit menu. More... | |
| void | replace () |
| "Replace" was selected from the Edit menu. More... | |
| void | selectAll () |
| Invoked when the user wants to select all squares from a map. More... | |
| void | setAction (@NotNull final Action action, @NotNull final String name) |
| Sets the Action instance for this editor action. More... | |
| void | shiftEast () |
| "Shift East" was selected from the Edit menu. More... | |
| void | shiftNorth () |
| "Shift North" was selected from the Edit menu. More... | |
| void | shiftNorthEast () |
| "Shift North East" was selected from the Edit menu. More... | |
| void | shiftNorthWest () |
| "Shift North West" was selected from the Edit menu. More... | |
| void | shiftSouth () |
| "Shift South" was selected from the Edit menu. More... | |
| void | shiftSouthEast () |
| "Shift South East" was selected from the Edit menu. More... | |
| void | shiftSouthWest () |
| "Shift South West" was selected from the Edit menu. More... | |
| void | shiftWest () |
| "Shift West" was selected from the Edit menu. More... | |
| void | tileStretchingClear () |
| Invoked when the user wants to clear tile stretching on the selected map squares. More... | |
| void | tileStretchingDecrease () |
| Invoked when the user wants to decrease tile stretching on the selected map squares. More... | |
| void | tileStretchingIncrease () |
| Invoked when the user wants to increase tile stretching on the selected map squares. More... | |
| void | tileStretchingSet () |
| Invoked when the user wants to set tile stretching on the selected map squares. More... | |
Private Member Functions | |
| boolean | doClear (final boolean performAction) |
| Executes the "clear" action. More... | |
| boolean | doCopy (final boolean performAction) |
| Executes the "copy" action. More... | |
| boolean | doCut (final boolean performAction) |
| Executes the "cut" action. More... | |
| boolean | doExpandEmptySelection (final boolean performAction) |
| Executes the "expand empty selection" action. More... | |
| boolean | doFillAbove (final boolean performAction) |
| Executes the "fill above" action. More... | |
| boolean | doFillAuto (final boolean performAction) |
| Executes the "fill auto" action. More... | |
| boolean | doFillBelow (final boolean performAction) |
| Executes the "fill below" action. More... | |
| boolean | doFind (final boolean performAction) |
| Executes the "find" action. More... | |
| boolean | doFindNext (final boolean performAction) |
| Executes the "find next" action. More... | |
| boolean | doFindPrev (final boolean performAction) |
| Executes the "find prev" action. More... | |
| boolean | doFloodFill (final boolean performAction) |
| Executes the "flood fill" action. More... | |
| boolean | doInvertSelection (final boolean performAction) |
| Executes the "invert selection" action. More... | |
| boolean | doMassChange (final boolean performAction) |
| Executes the "mass change" actions. More... | |
| boolean | doPaste (final boolean performAction) |
| Executes the "paste" action. More... | |
| boolean | doPasteTiled (final boolean performAction) |
| Executes the "paste tiled" action. More... | |
| boolean | doRandFillAbove (final boolean performAction) |
| Executes the "rand fill above" action. More... | |
| boolean | doRandFillAuto (final boolean performAction) |
| Executes the "rand fill auto" action. More... | |
| boolean | doRandFillBelow (final boolean performAction) |
| Executes the "rand fill below" action. More... | |
| boolean | doReplace (final boolean performAction) |
| Executes the "replace" action. More... | |
| boolean | doSelectAll (final boolean performAction) |
| Executes the "select all" action. More... | |
| boolean | doShift (final boolean performAction, @NotNull final Direction direction) |
| Executes the "shift" action. More... | |
| boolean | doTileStretchingChange (final boolean performAction, final int heightValue, final boolean isAbsolute) |
| Executes one of the "tile stretching clear/increase/decrease" actions. More... | |
| boolean | doTileStretchingChangeSet (final boolean performAction) |
| Executes one of the "tile stretching" actions. More... | |
| void | fill (@NotNull final MapView< G, A, R > mapView, @NotNull final InsertionMode< G, A, R > insertionMode) |
| "Fill" was selected from the Edit menu. More... | |
| void | fillRandom (@NotNull final MapView< G, A, R > mapView, @NotNull final InsertionMode< G, A, R > insertionMode) |
| "RandomFill" was selected from the Edit menu. More... | |
| MapView< G, A, R > | getSelection () |
| Determine if the current map has a selection. More... | |
| MapManagerListener< G, A, R > | newMapManagerListener () |
| Creates a new MapManagerListener that refreshes the actions when the current map changes. More... | |
| MapModelListener< G, A, R > | newMapModelListener () |
| Creates a new MapModelListener that refreshes the actions when the map contents change. More... | |
| void | refreshMenus () |
| Enable/disable menu entries based on the current state. More... | |
| void | tileStretching (@NotNull final MapView< G, A, R > mapView, final int heightValue, final boolean isAbsolute, @Nullable final Integer[] subLayers) |
| Performs one of the "tile stretching" actions. More... | |
Private Attributes | |
| Action | aClear |
| Action called for "clear". More... | |
| Action | aCopy |
| Action called for "copy". More... | |
| Action | aCut |
| Action called for "cut". More... | |
| Action | aExpandEmptySelection |
| Action called for "grow empty selection". More... | |
| Action | aFillAbove |
| Action called for "fill above". More... | |
| Action | aFillAuto |
| Action called for "fill". More... | |
| Action | aFillBelow |
| Action called for "fill below". More... | |
| Action | aFind |
| Action called for "find". More... | |
| Action | aFindNext |
| Action called for "find next". More... | |
| Action | aFindPrev |
| Action called for "find prev". More... | |
| Action | aFloodFill |
| Action called for "flood fill". More... | |
| Action | aInvertSelection |
| Action called for "invert selection". More... | |
| Action | aMassChange |
| Action called for "mass change". More... | |
| Action | aPaste |
| Action called for "paste". More... | |
| Action | aPasteTiled |
| Action called for "paste tiled". More... | |
| Action | aRandFillAbove |
| Action called for "random fill above". More... | |
| Action | aRandFillAuto |
| Action called for "random fill". More... | |
| Action | aRandFillBelow |
| Action called for "random fill below". More... | |
| Action | aReplace |
| Action called for "replace". More... | |
| Action | aSelectAll |
| Action called for "select all". More... | |
| Action | aShiftEast |
| Action called for "shift east". More... | |
| Action | aShiftNorth |
| Action called for "shift north". More... | |
| Action | aShiftNorthEast |
| Action called for "shift north east". More... | |
| Action | aShiftNorthWest |
| Action called for "shift north west". More... | |
| Action | aShiftSouth |
| Action called for "shift south". More... | |
| Action | aShiftSouthEast |
| Action called for "shift south east". More... | |
| Action | aShiftSouthWest |
| Action called for "shift south west". More... | |
| Action | aShiftWest |
| Action called for "shift west". More... | |
| Action | aTileStretchingClear |
| Action called for "tile stretching -> clear Z". More... | |
| Action | aTileStretchingDecrease |
| Action called for "tile stretching -> decrease Z". More... | |
| Action | aTileStretchingIncrease |
| Action called for "tile stretching -> increase Z". More... | |
| Action | aTileStretchingSet |
| Action called for "tile stretching -> set Z". More... | |
| final CopyBuffer< G, A, R > | copyBuffer |
| The copy buffer instance. More... | |
| MapControl< G, A, R > | currentMapControl |
| The last known active map, or. More... | |
| MapView< G, A, R > | currentMapView |
| The last known active map view, or. More... | |
| final FindDialogManager< G, A, R > | findDialogManager |
| The find dialog manager to use. More... | |
| final InsertionModeSet< G, A, R > | insertionModeSet |
| The InsertionModeSet to use. More... | |
| final MapGridListener | mapGridListener |
| The map grid listener used to detect map grid changes. More... | |
| final MapViewSettings | mapViewSettings |
| The map view settings instance. More... | |
| final MassChangeDialog | massChangeDialog = new MassChangeDialog() |
| The MassChangeDialog instance. More... | |
| final ObjectChooser< G, A, R > | objectChooser |
| The ObjectChooser instance to use. More... | |
| final JFrame | parent |
| The parent component for dialog windows. More... | |
| final RandomFillDialog | randomFillDialog = new RandomFillDialog() |
| The RandomFillDialog instance. More... | |
| final ReplaceDialogManager< G, A, R > | replaceDialogManager |
| The replace dialog manager to use. More... | |
| final TileStretchingDialog | tileStretchingDialog = new TileStretchingDialog() |
| The TileStretchingDialog instance. More... | |
Encapsulates actions and related functions.
Definition at line 73 of file MainActions.java.
| net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.MainActions | ( | @NotNull final FindDialogManager< G, A, R > | findDialogManager, |
| @NotNull final ReplaceDialogManager< G, A, R > | replaceDialogManager, | ||
| @NotNull final JFrame | parent, | ||
| @NotNull final MapViewSettings | mapViewSettings, | ||
| @NotNull final ArchetypeSet< G, A, R > | archetypeSet, | ||
| @NotNull final CopyBuffer< G, A, R > | copyBuffer, | ||
| @NotNull final ObjectChooser< G, A, R > | objectChooser, | ||
| @NotNull final MapManager< G, A, R > | mapManager, | ||
| @NotNull final InsertionModeSet< G, A, R > | insertionModeSet | ||
| ) |
Create a new instance.
| findDialogManager | the find dialog manager to use |
| replaceDialogManager | the replace dialog manager to use |
| parent | the parent component for dialog windows |
| mapViewSettings | the map view settings instance |
| archetypeSet | the archetype set |
| copyBuffer | the copy buffer instance |
| objectChooser | the animation objects instance to use |
| mapManager | the map manager instance |
| insertionModeSet | the insertion mode set to use |
Definition at line 369 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.copyBuffer, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.findDialogManager, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.insertionModeSet, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapViewSettings, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.newMapManagerListener(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.newMapModelListener(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.objectChooser, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.parent, and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.replaceDialogManager.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.activeMapViewChanged | ( | @Nullable final MapView< G, A, R > | mapView | ) |
This event handler is called when the current map view has changed.
| mapView | the new map view or null |
Definition at line 1543 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.clear | ( | ) |
"Clear" was selected from the Edit menu.
Definition at line 598 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.copy | ( | ) |
"Copy" was selected from the Edit menu.
Definition at line 614 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.cut | ( | ) |
"Cut" was selected from the Edit menu.
Definition at line 606 of file MainActions.java.
Here is the call graph for this function:
|
private |
Executes the "clear" action.
| performAction | whether the action should be performed |
Definition at line 925 of file MainActions.java.
References net.sf.gridarta.gui.copybuffer.CopyBuffer< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.clear(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, and net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapGrid().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.clear(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "copy" action.
| performAction | whether the action should be performed |
Definition at line 971 of file MainActions.java.
References net.sf.gridarta.gui.copybuffer.CopyBuffer< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.copy(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, and net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapGrid().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.copy(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "cut" action.
| performAction | whether the action should be performed |
Definition at line 948 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, net.sf.gridarta.gui.copybuffer.CopyBuffer< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.cut(), and net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapGrid().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.cut(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "expand empty selection" action.
| performAction | whether the action should be performed |
Definition at line 1314 of file MainActions.java.
References net.sf.gridarta.model.mapgrid.SelectionMode.ADD, net.sf.gridarta.model.mapgrid.MapGrid.beginTransaction(), net.sf.gridarta.model.mapgrid.MapGrid.endTransaction(), net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapArchObject(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapControl(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapGrid(), net.sf.gridarta.model.mapcontrol.MapControl< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapModel(), net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapSquare(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelectedSquares(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection(), net.sf.gridarta.model.baseobject.GameObjectContainer< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.isEmpty(), net.sf.gridarta.model.maparchobject.MapArchObject< A extends MapArchObject< A >.isPointValid(), net.sf.gridarta.model.mapgrid.MapGrid.select(), and net.sf.gridarta.model.mapgrid.MapGrid.unSelect().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.expandEmptySelection(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "fill above" action.
| performAction | whether the action should be performed |
Definition at line 1098 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fill(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection(), and net.sf.gridarta.model.mapmodel.InsertionModeSet< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getTopmostInsertionMode().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillAbove(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "fill auto" action.
| performAction | whether the action should be performed |
Definition at line 1080 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fill(), net.sf.gridarta.model.mapmodel.InsertionModeSet< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getAutoInsertionMode(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillAuto(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "fill below" action.
| performAction | whether the action should be performed |
Definition at line 1116 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fill(), net.sf.gridarta.model.mapmodel.InsertionModeSet< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getBottommostInsertionMode(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillBelow(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "find" action.
| performAction | whether the action should be performed |
Definition at line 869 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, and net.sf.gridarta.gui.dialog.find.FindDialogManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.showDialog().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.find(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "find next" action.
| performAction | whether the action should be performed |
Definition at line 887 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, and net.sf.gridarta.gui.dialog.find.FindDialogManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.findNext().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.findNext(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "find prev" action.
| performAction | whether the action should be performed |
Definition at line 897 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, and net.sf.gridarta.gui.dialog.find.FindDialogManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.findPrev().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.findPrev(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "flood fill" action.
| performAction | whether the action should be performed |
Definition at line 1188 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, net.sf.gridarta.model.mapcursor.MapCursor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getLocation(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapControl(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapCursor(), net.sf.gridarta.model.mapcontrol.MapControl< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapModel(), net.sf.gridarta.gui.panel.objectchooser.ObjectChooser< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelections(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.insertionModeSet.
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.floodFill(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "invert selection" action.
| performAction | whether the action should be performed |
Definition at line 1297 of file MainActions.java.
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.invertSelection(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "mass change" actions.
| performAction | whether the action should be performed |
Definition at line 1207 of file MainActions.java.
References net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.beginTransaction(), net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.endTransaction(), net.sf.gridarta.mainactions.MassChangeDialog.getArchNames(), net.sf.gridarta.mainactions.MassChangeDialog.getChanges(), net.sf.gridarta.mainactions.MassChangeDialog.getLayers(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapControl(), net.sf.gridarta.model.mapcontrol.MapControl< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapModel(), net.sf.gridarta.mainactions.MassChangeDialog.getNames(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelectedSquares(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection(), net.sf.gridarta.mainactions.MassChangeDialog.getSubLayers(), and net.sf.gridarta.mainactions.MassChangeDialog.showMassChangeDialog().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.massChange(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "paste" action.
| performAction | whether the action should be performed |
Definition at line 994 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, net.sf.gridarta.model.mapcursor.MapCursor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getLocation(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapCursor(), net.sf.gridarta.gui.copybuffer.CopyBuffer< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.isEmpty(), and net.sf.gridarta.gui.copybuffer.CopyBuffer< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.paste().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.paste(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "paste tiled" action.
| performAction | whether the action should be performed |
Definition at line 1017 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, net.sf.gridarta.model.mapcursor.MapCursor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getLocation(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapCursor(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapGrid(), net.sf.gridarta.model.mapgrid.MapGrid.getSelectedRec(), net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelectedSquares(), net.sf.gridarta.gui.copybuffer.CopyBuffer< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.isEmpty(), and net.sf.gridarta.gui.copybuffer.CopyBuffer< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.pasteTiled().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.pasteTiled(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "rand fill above" action.
| performAction | whether the action should be performed |
Definition at line 1152 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillRandom(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection(), and net.sf.gridarta.model.mapmodel.InsertionModeSet< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getTopmostInsertionMode().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.randFillAbove(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "rand fill auto" action.
| performAction | whether the action should be performed |
Definition at line 1134 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillRandom(), net.sf.gridarta.model.mapmodel.InsertionModeSet< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getAutoInsertionMode(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.randFillAuto(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "rand fill below" action.
| performAction | whether the action should be performed |
Definition at line 1170 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillRandom(), net.sf.gridarta.model.mapmodel.InsertionModeSet< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getBottommostInsertionMode(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.randFillBelow(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "replace" action.
| performAction | whether the action should be performed |
Definition at line 907 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, and net.sf.gridarta.gui.dialog.replace.ReplaceDialogManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.showDialog().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.replace().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "select all" action.
| performAction | whether the action should be performed |
Definition at line 1280 of file MainActions.java.
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.selectAll().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes the "shift" action.
| performAction | whether the action should be performed |
| direction | the direction to shift |
Definition at line 1052 of file MainActions.java.
References net.sf.gridarta.gui.misc.ShiftProcessor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.canShift(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapControl, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, net.sf.gridarta.model.mapcontrol.MapControl< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapModel(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.insertionModeSet, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapViewSettings, and net.sf.gridarta.gui.misc.ShiftProcessor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shift().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftEast(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftNorth(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftNorthEast(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftNorthWest(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftSouth(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftSouthEast(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftSouthWest(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftWest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes one of the "tile stretching clear/increase/decrease" actions.
| performAction | whether the action should be performed |
| heightValue | height value change to perform |
| isAbsolute | whether the height value is absolute |
Definition at line 1410 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretching().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingClear(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingDecrease(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingIncrease().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Executes one of the "tile stretching" actions.
| performAction | whether the action should be performed |
Definition at line 1383 of file MainActions.java.
References net.sf.gridarta.mainactions.TileStretchingDialog.getHeightValue(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection(), net.sf.gridarta.mainactions.TileStretchingDialog.getSubLayers(), net.sf.gridarta.mainactions.TileStretchingDialog.isTileStretchingAbsolute(), net.sf.gridarta.mainactions.TileStretchingDialog.showTileStretchingDialog(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretching().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingSet().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.expandEmptySelection | ( | ) |
Invoked when the user wants to expand the selection of empty map squares to surrounding empty map squares.
Definition at line 815 of file MainActions.java.
Here is the call graph for this function:
|
private |
"Fill" was selected from the Edit menu.
| mapView | the map view to fill |
| insertionMode | the insertion mode to use |
Definition at line 1428 of file MainActions.java.
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillAbove(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillAuto(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillBelow().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillAbove | ( | ) |
"Fill above" was selected from the Edit menu.
Definition at line 742 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillAuto | ( | ) |
"Fill" was selected from the Edit menu.
Definition at line 734 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillBelow | ( | ) |
"Fill below" was selected from the Edit menu.
Definition at line 750 of file MainActions.java.
Here is the call graph for this function:
|
private |
"RandomFill" was selected from the Edit menu.
| mapView | the map view to fill |
| insertionMode | the insertion mode to use |
Definition at line 1437 of file MainActions.java.
References net.sf.gridarta.mainactions.RandomFillDialog.getFillDensity(), net.sf.gridarta.gui.panel.objectchooser.ObjectChooser< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelections(), net.sf.gridarta.mainactions.RandomFillDialog.isRandomFillSkipAdjacentSquares(), and net.sf.gridarta.mainactions.RandomFillDialog.showRandomFillDialog().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillAbove(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillAuto(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillBelow().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.find | ( | ) |
"Find" was selected from the Edit menu.
Definition at line 702 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.findNext | ( | ) |
"Find next" was selected from the Edit menu.
Definition at line 710 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.findPrev | ( | ) |
"Find previous" was selected from the Edit menu.
Definition at line 718 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.floodFill | ( | ) |
"Flood fill" was selected from the Edit menu.
Definition at line 782 of file MainActions.java.
Here is the call graph for this function:
|
private |
Determine if the current map has a selection.
Definition at line 860 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView, and net.sf.gridarta.gui.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapGrid().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doExpandEmptySelection(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillAbove(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillAuto(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillBelow(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doMassChange(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillAbove(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillAuto(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillBelow(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doTileStretchingChange(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doTileStretchingChangeSet().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.invertSelection | ( | ) |
Invoked when the user wants to invert all selected squares from a map.
Definition at line 806 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapViewClosing | ( | @NotNull final MapView< G, A, R > | mapView | ) |
This event handler is called when a map view is to be closed.
| mapView | the map view that is to be closed |
Definition at line 1554 of file MainActions.java.
| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapViewCreated | ( | @NotNull final MapView< G, A, R > | mapView | ) |
This event handler is called when a map view was created.
| mapView | the created map view |
Definition at line 1549 of file MainActions.java.
| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.massChange | ( | ) |
"Mass change" was selected from the Edit menu.
Definition at line 790 of file MainActions.java.
Here is the call graph for this function:
|
private |
Creates a new MapManagerListener that refreshes the actions when the current map changes.
Definition at line 391 of file MainActions.java.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Creates a new MapModelListener that refreshes the actions when the map contents change.
Definition at line 424 of file MainActions.java.
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.paste | ( | ) |
"Paste" was selected from the Edit menu.
Definition at line 622 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.pasteTiled | ( | ) |
"Paste Tiled" was selected from the Edit menu.
Definition at line 630 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.randFillAbove | ( | ) |
"Random fill above" was selected from the Edit menu.
Definition at line 766 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.randFillAuto | ( | ) |
"Random fill" was selected from the Edit menu.
Definition at line 758 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.randFillBelow | ( | ) |
"Random fill below" was selected from the Edit menu.
Definition at line 774 of file MainActions.java.
Here is the call graph for this function:
|
private |
Enable/disable menu entries based on the current state.
Definition at line 463 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doClear(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doCopy(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doCut(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doExpandEmptySelection(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillAbove(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillAuto(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFillBelow(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFind(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFindNext(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFindPrev(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFloodFill(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doInvertSelection(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doMassChange(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doPaste(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doPasteTiled(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillAbove(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillAuto(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doRandFillBelow(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doReplace(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doSelectAll(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doTileStretchingChange(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doTileStretchingChangeSet(), net.sf.gridarta.model.direction.Direction.EAST, net.sf.gridarta.model.direction.Direction.NORTH, net.sf.gridarta.model.direction.Direction.NORTH_EAST, net.sf.gridarta.model.direction.Direction.NORTH_WEST, net.sf.gridarta.model.direction.Direction.SOUTH, net.sf.gridarta.model.direction.Direction.SOUTH_EAST, net.sf.gridarta.model.direction.Direction.SOUTH_WEST, and net.sf.gridarta.model.direction.Direction.WEST.
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.activeMapViewChanged(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.newMapManagerListener(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.newMapModelListener(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setAction().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.replace | ( | ) |
"Replace" was selected from the Edit menu.
Definition at line 726 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.selectAll | ( | ) |
Invoked when the user wants to select all squares from a map.
Definition at line 798 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< 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 1471 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftEast | ( | ) |
"Shift East" was selected from the Edit menu.
Definition at line 654 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.model.direction.Direction.EAST.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftNorth | ( | ) |
"Shift North" was selected from the Edit menu.
Definition at line 638 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.model.direction.Direction.NORTH.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftNorthEast | ( | ) |
"Shift North East" was selected from the Edit menu.
Definition at line 646 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.model.direction.Direction.NORTH_EAST.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftNorthWest | ( | ) |
"Shift North West" was selected from the Edit menu.
Definition at line 694 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.model.direction.Direction.NORTH_WEST.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftSouth | ( | ) |
"Shift South" was selected from the Edit menu.
Definition at line 670 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.model.direction.Direction.SOUTH.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftSouthEast | ( | ) |
"Shift South East" was selected from the Edit menu.
Definition at line 662 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.model.direction.Direction.SOUTH_EAST.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftSouthWest | ( | ) |
"Shift South West" was selected from the Edit menu.
Definition at line 678 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.model.direction.Direction.SOUTH_WEST.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.shiftWest | ( | ) |
"Shift West" was selected from the Edit menu.
Definition at line 686 of file MainActions.java.
References net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.model.direction.Direction.WEST.
Here is the call graph for this function:
|
private |
Performs one of the "tile stretching" actions.
| mapView | the map view to change |
| heightValue | height value |
| isAbsolute | whether the height value is absolute |
| subLayers | sub-layers to affect or null |
Definition at line 1455 of file MainActions.java.
References net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.beginTransaction(), and net.sf.gridarta.model.mapmodel.MapModel< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.endTransaction().
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doTileStretchingChange(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doTileStretchingChangeSet().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingClear | ( | ) |
Invoked when the user wants to clear tile stretching on the selected map squares.
Definition at line 833 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingDecrease | ( | ) |
Invoked when the user wants to decrease tile stretching on the selected map squares.
Definition at line 851 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingIncrease | ( | ) |
Invoked when the user wants to increase tile stretching on the selected map squares.
Definition at line 842 of file MainActions.java.
Here is the call graph for this function:| void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingSet | ( | ) |
Invoked when the user wants to set tile stretching on the selected map squares.
Definition at line 824 of file MainActions.java.
Here is the call graph for this function:
|
private |
Action called for "clear".
Definition at line 121 of file MainActions.java.
|
private |
Action called for "copy".
Definition at line 133 of file MainActions.java.
|
private |
Action called for "cut".
Definition at line 127 of file MainActions.java.
|
private |
Action called for "grow empty selection".
Definition at line 283 of file MainActions.java.
|
private |
Action called for "fill above".
Definition at line 229 of file MainActions.java.
|
private |
Action called for "fill".
Definition at line 223 of file MainActions.java.
|
private |
Action called for "fill below".
Definition at line 235 of file MainActions.java.
|
private |
Action called for "find".
Definition at line 199 of file MainActions.java.
|
private |
Action called for "find next".
Definition at line 205 of file MainActions.java.
|
private |
Action called for "find prev".
Definition at line 211 of file MainActions.java.
|
private |
Action called for "flood fill".
Definition at line 259 of file MainActions.java.
|
private |
Action called for "invert selection".
Definition at line 277 of file MainActions.java.
|
private |
Action called for "mass change".
Definition at line 265 of file MainActions.java.
|
private |
Action called for "paste".
Definition at line 187 of file MainActions.java.
|
private |
Action called for "paste tiled".
Definition at line 193 of file MainActions.java.
|
private |
Action called for "random fill above".
Definition at line 247 of file MainActions.java.
|
private |
Action called for "random fill".
Definition at line 241 of file MainActions.java.
|
private |
Action called for "random fill below".
Definition at line 253 of file MainActions.java.
|
private |
Action called for "replace".
Definition at line 217 of file MainActions.java.
|
private |
Action called for "select all".
Definition at line 271 of file MainActions.java.
|
private |
Action called for "shift east".
Definition at line 151 of file MainActions.java.
|
private |
Action called for "shift north".
Definition at line 139 of file MainActions.java.
|
private |
Action called for "shift north east".
Definition at line 145 of file MainActions.java.
|
private |
Action called for "shift north west".
Definition at line 181 of file MainActions.java.
|
private |
Action called for "shift south".
Definition at line 163 of file MainActions.java.
|
private |
Action called for "shift south east".
Definition at line 157 of file MainActions.java.
|
private |
Action called for "shift south west".
Definition at line 169 of file MainActions.java.
|
private |
Action called for "shift west".
Definition at line 175 of file MainActions.java.
|
private |
Action called for "tile stretching -> clear Z".
Definition at line 295 of file MainActions.java.
|
private |
Action called for "tile stretching -> decrease Z".
Definition at line 307 of file MainActions.java.
|
private |
Action called for "tile stretching -> increase Z".
Definition at line 301 of file MainActions.java.
|
private |
Action called for "tile stretching -> set Z".
Definition at line 289 of file MainActions.java.
|
private |
The copy buffer instance.
Definition at line 103 of file MainActions.java.
|
private |
The last known active map, or.
if no map is active.
Definition at line 331 of file MainActions.java.
|
private |
The last known active map view, or.
if no map is active.
Definition at line 337 of file MainActions.java.
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doClear(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doCopy(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doCut(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFind(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFindNext(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFindPrev(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFloodFill(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doPaste(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doPasteTiled(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doReplace(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection().
|
private |
The find dialog manager to use.
Definition at line 79 of file MainActions.java.
|
private |
The InsertionModeSet to use.
Definition at line 115 of file MainActions.java.
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFloodFill(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.MainActions().
|
private |
The map grid listener used to detect map grid changes.
Definition at line 343 of file MainActions.java.
|
private |
The map view settings instance.
Definition at line 97 of file MainActions.java.
Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.MainActions().
|
private |
The MassChangeDialog instance.
Definition at line 325 of file MainActions.java.
|
private |
The ObjectChooser instance to use.
Definition at line 109 of file MainActions.java.
|
private |
The parent component for dialog windows.
Definition at line 91 of file MainActions.java.
|
private |
The RandomFillDialog instance.
Definition at line 313 of file MainActions.java.
|
private |
The replace dialog manager to use.
Definition at line 85 of file MainActions.java.
|
private |
The TileStretchingDialog instance.
Definition at line 319 of file MainActions.java.