public class CollectArchesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
EditorAction
that runs the archetype collection.Constructor and Description |
---|
CollectArchesAction(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
Exiter exiter,
javax.swing.JFrame parent)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
collectArches()
Runs the archetype collection.
|
void |
setAction(javax.swing.Action action,
java.lang.String name)
Sets the
Action instance for this editor action. |
public CollectArchesAction(@NotNull ProjectSettings projectSettings, @NotNull AbstractResources<G,A,R> resources, @NotNull Exiter exiter, @NotNull javax.swing.JFrame parent)
projectSettings
- the project settings instanceresources
- the resources to collectexiter
- the exiter instanceparent
- the parent component for dialog windows@ActionMethod public void collectArches()
public void setAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action