20 package net.sf.gridarta.action;
22 import java.awt.Component;
23 import javax.swing.Action;
24 import javax.swing.ImageIcon;
34 import net.
sf.japi.swing.action.ActionMethod;
35 import org.jetbrains.annotations.NotNull;
59 public BrowseArchetypesAction(@NotNull
final Component parent, @NotNull
final ArchetypeChooserControl<G, A, R> archetypeChooserControl, @NotNull
final ObjectChooser<G, A, R> objectChooser, @NotNull
final ArchetypeSet<G, A, R> archetypeSet, @NotNull
final ImageIcon closingIcon) {
72 public void setAction(@NotNull
final Action action, @NotNull
final String name) {
A dialog manager for the browse archetypes dialog.
Graphical User Interface of Gridarta.
Reading and writing of Atrinik maps.
void browseArchetypes()
Shows the browse archetypes dialog.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
Abstract base class for classes managing a single dialog instance.
GameObjects are the objects based on Archetypes found on maps.
abstract void showDialog()
Displays the dialog.
An EditorAction that displays the browse archetypes dialog.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
BrowseArchetypesAction(@NotNull final Component parent, @NotNull final ArchetypeChooserControl< G, A, R > archetypeChooserControl, @NotNull final ObjectChooser< G, A, R > objectChooser, @NotNull final ArchetypeSet< G, A, R > archetypeSet, @NotNull final ImageIcon closingIcon)
Creates a new instance.
Interface that captures similarities between different ArchetypeSet implementations.
Common base interface for ObjectChoosers.
That control of the archetype chooser.
Interface for MapArchObjects.
final AbstractDialogManager dialogManager
The browse archetypes dialog manager.