 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.action;
22 import java.awt.Component;
23 import javax.swing.Action;
31 import net.
sf.japi.swing.action.ActionMethod;
32 import org.jetbrains.annotations.NotNull;
33 import org.jetbrains.annotations.Nullable;
91 public void setAction(@NotNull
final Action action, @NotNull
final String
name) {
void showDialog(@NotNull final Component parentComponent)
Opens the dialog.
Base package of all Gridarta classes.
final MapImageCache< G, A, R > mapImageCache
The MapImageCache for creating map previews.
Reflects a game object (object on a map).
void manageBookmarks()
Action method for "manage bookmarks".
Graphical User Interface of Gridarta.
An EditorAction that opens the bookmarks manager.
Caches icon and preview images for map files.
GameObjects are the objects based on Archetypes found on maps.
final MapMenu mapMenu
The MapMenu defining the bookmarks menu entries.
A dialog that displays existing bookmarks and allows to edit or remove them.
final Component parentComponent
The parent component for dialogs.
Interface for MapArchObjects.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
ManageBookmarksDialog< G, A, R > manageBookmarksDialog
The ManageBookmarksDialog instance.
ManageBookmarksAction(@NotNull final MapMenu mapMenu, @NotNull final MapImageCache< G, A, R > mapImageCache, @NotNull final Component parentComponent)
Creates a new instance.