Package net.sf.gridarta.action
Class FindArchetypesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.action.FindArchetypesAction<G,A,R>
-
- All Implemented Interfaces:
EditorAction
public class FindArchetypesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
AnEditorActionthat displays the find archetypes dialog.
-
-
Constructor Summary
Constructors Constructor Description FindArchetypesAction(@NotNull java.awt.Component parent, @NotNull ArchetypeChooserControl<G,A,R> archetypeChooserControl, @NotNull ObjectChooser<G,A,R> objectChooser, @NotNull ArchetypeTypeSet archetypeTypeSet)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfindArchetypes()Shows the find archetypes dialog.voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
FindArchetypesAction
public FindArchetypesAction(@NotNull @NotNull java.awt.Component parent, @NotNull @NotNull ArchetypeChooserControl<G,A,R> archetypeChooserControl, @NotNull @NotNull ObjectChooser<G,A,R> objectChooser, @NotNull @NotNull ArchetypeTypeSet archetypeTypeSet)Creates a new instance.- Parameters:
parent- the parent component for the dialogarchetypeChooserControl- the archetype chooser control to searchobjectChooser- the object chooser to use when selecting search resultsarchetypeTypeSet- the archetype type set for looking up archetype types
-
-
Method Detail
-
findArchetypes
@ActionMethod public void findArchetypes()
Shows the find archetypes dialog.
-
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
-
-