20 package net.sf.gridarta.gui.dialog.plugin.parameter.map;
22 import java.util.List;
23 import javax.swing.DefaultComboBoxModel;
32 import org.jetbrains.annotations.NotNull;
33 import org.jetbrains.annotations.Nullable;
41 public boolean isPickmap() {
42 throw new AssertionError();
48 throw new AssertionError();
53 throw new AssertionError();
58 throw new AssertionError();
63 throw new AssertionError();
67 public void saveAs(@NotNull
final MapFile mapFile) {
68 throw new AssertionError();
72 public void acquire() {
73 throw new AssertionError();
77 public void release() {
78 throw new AssertionError();
82 public int getUseCounter() {
83 throw new AssertionError();
119 final List<MapControl<G, A, R>> maps = mapManager.
getOpenedMaps();
120 if (anObject == currentMap) {
124 for (
int i = 0; i < maps.size(); i++) {
125 if (maps.get(i) == anObject) {
static final long serialVersionUID
MapControl< G, A, R > getElementAt(final int index)
A MapModel reflects the data of a map.
A MapManager manages all opened maps.
final MapManager< G, A, R > mapManager
The map manager to use.
void setSelectedItem(@Nullable final Object anObject)
Base package of all Gridarta classes.
Reflects a game object (object on a map).
final MapControl< G, A, R > currentMap
Interface for listeners listening on changes in MapControl instances.
GameObjects are the objects based on Archetypes found on maps.
int getIndexOf(@NotNull final Object anObject)
Currently nothing more than a marker interface for unification.
MapParameterComboBoxModel(@NotNull final MapManager< G, A, R > mapManager)
Creates a new instance.
List< MapControl< G, A, R > > getOpenedMaps()
Returns all opened maps.
The location of a map file with a map directory.
Interface for MapArchObjects.