20 package net.sf.gridarta.action;
22 import java.awt.Component;
23 import javax.swing.Action;
27 import net.
sf.japi.swing.action.ActionMethod;
28 import org.jetbrains.annotations.NotNull;
29 import org.jetbrains.annotations.Nullable;
60 if (spellsUtils != null) {
66 public void setAction(@NotNull
final Action action, @NotNull
final String name) {
Graphical User Interface of Gridarta.
void importSpells(@NotNull final File dir, @NotNull final Component parent)
Opens a file chooser to select the spell list file, then import spells.
Settings that apply to a project.
final SpellsUtils spellsUtils
final ProjectSettings projectSettings
Base package of all Gridarta classes.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
void collectSpells()
The action method for "collectSpells".
File getConfigurationDirectory()
Returns the configuration directory which is used to load configuration information like types...
CollectSpellsAction(@Nullable final SpellsUtils spellsUtils, @NotNull final ProjectSettings projectSettings, @NotNull final Component parent)
Creates a new instance.