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(@NotNull ProjectSettings projectSettings,
@NotNull AbstractResources<G,A,R> resources,
@NotNull Exiter exiter,
@NotNull javax.swing.JFrame parent)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
collectArches()
Runs the archetype collection.
|
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
public CollectArchesAction(@NotNull @NotNull ProjectSettings projectSettings, @NotNull @NotNull AbstractResources<G,A,R> resources, @NotNull @NotNull Exiter exiter, @NotNull @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 @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)
EditorAction
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action