Package net.sf.gridarta.action
Class CollectArchesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.action.CollectArchesAction<G,A,R>
-
- All Implemented Interfaces:
EditorAction
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
AnEditorActionthat runs the archetype collection.
-
-
Constructor Summary
Constructors Constructor Description CollectArchesAction(@NotNull ProjectSettings projectSettings, @NotNull AbstractResources<G,A,R> resources, @NotNull Exiter exiter, @NotNull javax.swing.JFrame parent)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectArches()Runs the archetype collection.voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
CollectArchesAction
public CollectArchesAction(@NotNull @NotNull ProjectSettings projectSettings, @NotNull @NotNull AbstractResources<G,A,R> resources, @NotNull @NotNull Exiter exiter, @NotNull @NotNull javax.swing.JFrame parent)Creates a new instance.- Parameters:
projectSettings- the project settings instanceresources- the resources to collectexiter- the exiter instanceparent- the parent component for dialog windows
-
-
Method Detail
-
collectArches
@ActionMethod public void collectArches()
Runs the archetype collection.
-
setAction
public void setAction(@NotNull @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)Description copied from interface:EditorActionSets theActioninstance for this editor action.- Specified by:
setActionin interfaceEditorAction- Parameters:
action- the action instancename- the name of the action
-
-