Gridarta Editor
|
Public Member Functions | |
void | collectSpells () |
CollectSpellsAction (@Nullable final SpellsUtils spellsUtils, @NotNull final ProjectSettings projectSettings, @NotNull final Component parent) | |
void | setAction (@NotNull final Action action, @NotNull final String name) |
Private Attributes | |
final Component | parent |
final ProjectSettings | projectSettings |
final SpellsUtils | spellsUtils |
Definition at line 34 of file CollectSpellsAction.java.
net.sf.gridarta.action.CollectSpellsAction.CollectSpellsAction | ( | @Nullable final SpellsUtils | spellsUtils, |
@NotNull final ProjectSettings | projectSettings, | ||
@NotNull final Component | parent | ||
) |
Creates a new instance.
Definition at line 48 of file CollectSpellsAction.java.
References net.sf.gridarta.action.CollectSpellsAction.parent, net.sf.gridarta.action.CollectSpellsAction.projectSettings, and net.sf.gridarta.action.CollectSpellsAction.spellsUtils.
void net.sf.gridarta.action.CollectSpellsAction.collectSpells | ( | ) |
The action method for "collectSpells". Opens the dialog to import spell definitions.
Definition at line 59 of file CollectSpellsAction.java.
References net.sf.gridarta.model.settings.ProjectSettings.getConfigurationDirectory(), net.sf.gridarta.gui.spells.SpellsUtils.importSpells(), net.sf.gridarta.action.CollectSpellsAction.parent, net.sf.gridarta.action.CollectSpellsAction.projectSettings, and net.sf.gridarta.action.CollectSpellsAction.spellsUtils.
void net.sf.gridarta.action.CollectSpellsAction.setAction | ( | @NotNull final Action | action, |
@NotNull final String | name | ||
) |
Sets the Action instance for this editor action.
action | the action instance |
name | the name of the action |
Implements net.sf.gridarta.utils.EditorAction.
Definition at line 66 of file CollectSpellsAction.java.
|
private |
Definition at line 43 of file CollectSpellsAction.java.
Referenced by net.sf.gridarta.action.CollectSpellsAction.collectSpells(), and net.sf.gridarta.action.CollectSpellsAction.CollectSpellsAction().
|
private |
Definition at line 40 of file CollectSpellsAction.java.
Referenced by net.sf.gridarta.action.CollectSpellsAction.collectSpells(), and net.sf.gridarta.action.CollectSpellsAction.CollectSpellsAction().
|
private |
Definition at line 37 of file CollectSpellsAction.java.
Referenced by net.sf.gridarta.action.CollectSpellsAction.collectSpells(), and net.sf.gridarta.action.CollectSpellsAction.CollectSpellsAction().