20 package net.sf.gridarta.action;
22 import javax.swing.Action;
28 import net.
sf.japi.swing.action.ActionMethod;
29 import org.jetbrains.annotations.NotNull;
30 import org.jetbrains.annotations.Nullable;
47 public void setAction(@NotNull
final Action action, @NotNull
final String name) {
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
Action action
The Action associated with this editor action.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
boolean doSubFromSelection(final boolean performAction)
Executes the action.
GameObjects are the objects based on Archetypes found on maps.
boolean doSelection(final boolean performAction, @NotNull final SelectionMode mode)
Executes an action for changing the selection.
Abstract base class for actions that change the current selection.
Modes that describe how squares get selected.
SUB
All squares that are preselected get unselected.
An EditorAction that removes the current pre-selection from the selection.
Interface for MapArchObjects.
void subFromSelection()
Removes the current pre-selection from the selection.