20 package net.sf.gridarta.gui.mapmenu;
22 import javax.swing.tree.DefaultMutableTreeNode;
23 import javax.swing.tree.MutableTreeNode;
25 import org.jetbrains.annotations.NotNull;
45 public static void removeMap(@NotNull
final MutableTreeNode treeNode, @NotNull
final MapFile mapFile) {
46 for (
int i = treeNode.getChildCount() - 1; i >= 0; i--) {
47 final DefaultMutableTreeNode treeNode2 = (DefaultMutableTreeNode) treeNode.getChildAt(i);
50 final MapMenuEntryMap mapMenuEntryMap = (MapMenuEntryMap) mapMenuEntry;
Base package of all Gridarta classes.
boolean equals(@Nullable final Object obj)
The location of a map file with a map directory.