Gridarta Editor
net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R > Class Template Reference

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)
 Creates 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 insertionMode)
 "Fill" was selected from the Edit menu. More...
 
void fillRandom (@NotNull final MapView< G, A, R > mapView, @NotNull final InsertionMode 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 ()
 Enables/disables menu entries based on the current state. More...
 
void tileStretching (@NotNull final MapView< G, A, R > mapView, final int heightValue, final boolean isAbsolute, @NotNull final Integer @Nullable[] 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...
 

Detailed Description

Encapsulates actions and related functions.

Author
Andreas Kirschbaum

Definition at line 73 of file MainActions.java.

Constructor & Destructor Documentation

◆ MainActions()

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 
)

Creates a new instance.

Parameters
findDialogManagerthe find dialog manager to use
replaceDialogManagerthe replace dialog manager to use
parentthe parent component for dialog windows
mapViewSettingsthe map view settings instance
archetypeSetthe archetype set
copyBufferthe copy buffer instance
objectChooserthe animation objects instance to use
mapManagerthe map manager instance
insertionModeSetthe insertion mode set to use

Definition at line 369 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 >.addMapModelListener(), 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 >.currentMapControl, 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:

Member Function Documentation

◆ activeMapViewChanged()

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)

◆ clear()

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 566 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().

+ Here is the call graph for this function:

◆ copy()

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 582 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 >.doCopy().

+ Here is the call graph for this function:

◆ cut()

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 574 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 >.doCut().

+ Here is the call graph for this function:

◆ doClear()

◆ doCopy()

◆ doCut()

◆ doExpandEmptySelection()

boolean net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doExpandEmptySelection ( final boolean  performAction)
private

Executes the "expand empty selection" action.

Parameters
performActionwhether the action should be performed
Returns
whether the action was or can be performed

Definition at line 1282 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:

◆ doFillAbove()

◆ doFillAuto()

◆ doFillBelow()

◆ doFind()

◆ doFindNext()

◆ doFindPrev()

◆ doFloodFill()

boolean net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doFloodFill ( final boolean  performAction)
private

Executes the "flood fill" action.

Parameters
performActionwhether the action should be performed
Returns
whether the action was or can be performed

Definition at line 1156 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.floodfill.FillUtils.floodFill(), 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(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.insertionModeSet, and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.objectChooser.

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:

◆ doInvertSelection()

◆ doMassChange()

boolean net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doMassChange ( final boolean  performAction)
private

Executes the "mass change" actions.

Parameters
performActionwhether the action should be performed
Returns
whether the action was or can be performed

Definition at line 1175 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(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.massChangeDialog, name, 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.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:

◆ doPaste()

boolean net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doPaste ( final boolean  performAction)
private

◆ doPasteTiled()

boolean net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doPasteTiled ( final boolean  performAction)
private

Executes the "paste tiled" action.

Parameters
performActionwhether the action should be performed
Returns
whether the action was or can be performed

Definition at line 985 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 >.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:

◆ doRandFillAbove()

◆ doRandFillAuto()

◆ doRandFillBelow()

◆ doReplace()

◆ doSelectAll()

◆ doShift()

boolean net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doShift ( final boolean  performAction,
@NotNull final Direction  direction 
)
private

Executes the "shift" action.

Parameters
performActionwhether the action should be performed
directionthe direction to shift
Returns
whether the action was or can be performed

Definition at line 1020 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:

◆ doTileStretchingChange()

boolean net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doTileStretchingChange ( final boolean  performAction,
final int  heightValue,
final boolean  isAbsolute 
)
private

◆ doTileStretchingChangeSet()

boolean net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doTileStretchingChangeSet ( final boolean  performAction)
private

Executes one of the "tile stretching" actions.

Parameters
performActionwhether the action should be performed
Returns
whether the action was or can be performed

Definition at line 1351 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.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.parent, net.sf.gridarta.mainactions.TileStretchingDialog.showTileStretchingDialog(), net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretching(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretchingDialog.

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:

◆ expandEmptySelection()

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 783 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 >.doExpandEmptySelection().

+ Here is the call graph for this function:

◆ fill()

◆ fillAbove()

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 710 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 >.doFillAbove().

+ Here is the call graph for this function:

◆ fillAuto()

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 702 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 >.doFillAuto().

+ Here is the call graph for this function:

◆ fillBelow()

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 718 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 >.doFillBelow().

+ Here is the call graph for this function:

◆ fillRandom()

void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fillRandom ( @NotNull final MapView< G, A, R >  mapView,
@NotNull final InsertionMode  insertionMode 
)
private

"RandomFill" was selected from the Edit menu.

Parameters
mapViewthe map view to fill
insertionModethe insertion mode to use

Definition at line 1405 of file MainActions.java.

References net.sf.gridarta.model.floodfill.FillUtils.fill(), 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(), 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, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.randomFillDialog, 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:

◆ find()

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 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 >.doFind().

+ Here is the call graph for this function:

◆ findNext()

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 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 >.doFindNext().

+ Here is the call graph for this function:

◆ findPrev()

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 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 >.doFindPrev().

+ Here is the call graph for this function:

◆ floodFill()

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 750 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 >.doFloodFill().

+ Here is the call graph for this function:

◆ getSelection()

MapView<G, A, R> net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getSelection ( )
private

Determine if the current map has a selection.

Returns
the map view if a selection exists, or
null
otherwise

Definition at line 828 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.map.mapview.MapView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.getMapGrid(), and net.sf.gridarta.model.mapgrid.MapGrid.getSelectedRec().

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:

◆ invertSelection()

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 774 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 >.doInvertSelection().

+ Here is the call graph for this function:

◆ mapViewClosing()

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)

◆ mapViewCreated()

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)

◆ massChange()

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 758 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 >.doMassChange().

+ Here is the call graph for this function:

◆ newMapManagerListener()

◆ newMapModelListener()

MapModelListener<G, A, R> net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.newMapModelListener ( )
private

Creates a new MapModelListener that refreshes the actions when the map contents change.

Returns
the map model listener

Definition at line 424 of file MainActions.java.

References errors, and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus().

Referenced by net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.MainActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ paste()

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 590 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 >.doPaste().

+ Here is the call graph for this function:

◆ pasteTiled()

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 598 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 >.doPasteTiled().

+ Here is the call graph for this function:

◆ randFillAbove()

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 734 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 >.doRandFillAbove().

+ Here is the call graph for this function:

◆ randFillAuto()

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 726 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 >.doRandFillAuto().

+ Here is the call graph for this function:

◆ randFillBelow()

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 742 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 >.doRandFillBelow().

+ Here is the call graph for this function:

◆ refreshMenus()

void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refreshMenus ( )
private

Enables/disables 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 >.aClear, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aCopy, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aCut, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aExpandEmptySelection, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFillAbove, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFillAuto, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFillBelow, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFind, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFindNext, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFindPrev, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFloodFill, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aInvertSelection, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aMassChange, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aPaste, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aPasteTiled, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aRandFillAbove, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aRandFillAuto, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aRandFillBelow, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aReplace, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aSelectAll, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftEast, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftNorth, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftNorthEast, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftNorthWest, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftSouth, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftSouthEast, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftSouthWest, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftWest, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aTileStretchingClear, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aTileStretchingDecrease, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aTileStretchingIncrease, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aTileStretchingSet, 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:

◆ replace()

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 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 >.doReplace().

+ Here is the call graph for this function:

◆ selectAll()

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 766 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 >.doSelectAll().

+ Here is the call graph for this function:

◆ setAction()

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.

Parameters
actionthe action instance
namethe name of the action

Implements net.sf.gridarta.utils.EditorAction.

Definition at line 1439 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 >.aClear, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aCopy, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aCut, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aExpandEmptySelection, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFillAbove, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFillAuto, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFillBelow, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFind, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFindNext, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFindPrev, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aFloodFill, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aInvertSelection, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aMassChange, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aPaste, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aPasteTiled, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aRandFillAbove, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aRandFillAuto, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aRandFillBelow, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aReplace, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aSelectAll, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftEast, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftNorth, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftNorthEast, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftNorthWest, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftSouth, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftSouthEast, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftSouthWest, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aShiftWest, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aTileStretchingClear, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aTileStretchingDecrease, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aTileStretchingIncrease, net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.aTileStretchingSet, name, 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:

◆ shiftEast()

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 622 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:

◆ shiftNorth()

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 606 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:

◆ shiftNorthEast()

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 614 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:

◆ shiftNorthWest()

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 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.NORTH_WEST.

+ Here is the call graph for this function:

◆ shiftSouth()

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 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.SOUTH.

+ Here is the call graph for this function:

◆ shiftSouthEast()

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 630 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:

◆ shiftSouthWest()

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 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.SOUTH_WEST.

+ Here is the call graph for this function:

◆ shiftWest()

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 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.WEST.

+ Here is the call graph for this function:

◆ tileStretching()

void net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.tileStretching ( @NotNull final MapView< G, A, R >  mapView,
final int  heightValue,
final boolean  isAbsolute,
@NotNull final Integer @Nullable[]  subLayers 
)
private

◆ tileStretchingClear()

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 801 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 >.doTileStretchingChange().

+ Here is the call graph for this function:

◆ tileStretchingDecrease()

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 819 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 >.doTileStretchingChange().

+ Here is the call graph for this function:

◆ tileStretchingIncrease()

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 810 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 >.doTileStretchingChange().

+ Here is the call graph for this function:

◆ tileStretchingSet()

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 792 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 >.doTileStretchingChangeSet().

+ Here is the call graph for this function:

Member Data Documentation

◆ aClear

◆ aCopy

◆ aCut

◆ aExpandEmptySelection

◆ aFillAbove

◆ aFillAuto

◆ aFillBelow

◆ aFind

◆ aFindNext

◆ aFindPrev

◆ aFloodFill

◆ aInvertSelection

◆ aMassChange

◆ aPaste

◆ aPasteTiled

◆ aRandFillAbove

◆ aRandFillAuto

◆ aRandFillBelow

◆ aReplace

◆ aSelectAll

◆ aShiftEast

◆ aShiftNorth

◆ aShiftNorthEast

◆ aShiftNorthWest

◆ aShiftSouth

◆ aShiftSouthEast

◆ aShiftSouthWest

◆ aShiftWest

◆ aTileStretchingClear

◆ aTileStretchingDecrease

◆ aTileStretchingIncrease

◆ aTileStretchingSet

◆ copyBuffer

◆ currentMapControl

◆ currentMapView

MapView<G, A, R> net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.currentMapView
private

The last known active map view, or.

null

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 >.activeMapViewChanged(), 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 >.doInvertSelection(), 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 >.doSelectAll(), 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().

◆ findDialogManager

◆ insertionModeSet

final InsertionModeSet<G, A, R> net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.insertionModeSet
private

◆ mapGridListener

final MapGridListener net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapGridListener
private
Initial value:
= new MapGridListener() {
@Override
public void mapGridChanged(@NotNull final MapGridEvent e) {
}
@Override
public void mapGridResized(@NotNull final MapGridEvent e) {
}
}

The map grid listener used to detect map grid changes.

Definition at line 343 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 >.mapViewClosing(), and net.sf.gridarta.mainactions.MainActions< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapViewCreated().

◆ mapViewSettings

◆ massChangeDialog

◆ objectChooser

◆ parent

◆ randomFillDialog

◆ replaceDialogManager

◆ tileStretchingDialog


The documentation for this class was generated from the following file:
net.sf.gridarta.mainactions.MainActions.refreshMenus
void refreshMenus()
Enables/disables menu entries based on the current state.
Definition: MainActions.java:463