Go to the documentation of this file.
20 package net.sf.gridarta.actions;
22 import java.awt.Point;
23 import java.io.IOException;
24 import javax.swing.Action;
35 import net.
sf.japi.swing.action.ActionMethod;
36 import org.jetbrains.annotations.NotNull;
37 import org.jetbrains.annotations.Nullable;
96 if (mapView ==
null) {
103 if (mapFile ==
null) {
113 final int mapX = cursor.x;
114 final int mapY = cursor.y;
119 }
catch (
final IOException ex) {
132 protected abstract void resetMap(@NotNull String mapPath)
throws IOException;
141 protected abstract void teleportCharacterToMap(@NotNull String mapPath,
int mapX,
int mapY)
throws IOException;
144 public void setAction(@NotNull
final Action action, @NotNull
final String
name) {
boolean save(@NotNull MapControl< G, A, R > mapControl)
abstract void teleportCharacterToMap(@NotNull String mapPath, int mapX, int mapY)
void reportTeleportCharacterError(@NotNull String mapPath, @NotNull String message)
MapView< G, A, R > currentMapView
void mapViewCreated(@NotNull final MapView< G, A, R > mapView)
abstract void resetMap(@NotNull String mapPath)
MapControl< G, A, R > getMapControl()
void setAction(@NotNull final Action action, @NotNull final String name)
AbstractServerActions(@NotNull final FileControl< G, A, R > fileControl)
final FileControl< G, A, R > fileControl
boolean doOpenInClient(final boolean performAction)
void activeMapViewChanged(@Nullable final MapView< G, A, R > mapView)
void mapViewClosing(@NotNull final MapView< G, A, R > mapView)
AbsoluteMapPath getMapPath()
MapModel< G, A, R > getMapModel()
MapCursor< G, A, R > getMapCursor()