Package net.sf.gridarta.action
Class ReloadFacesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.action.ReloadFacesAction<G,A,R>
-
- All Implemented Interfaces:
EditorAction
public class ReloadFacesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
AnEditorActionthat reloads all images from disk.
-
-
Constructor Summary
Constructors Constructor Description ReloadFacesAction(@NotNull ArchetypeSet<G,A,R> archetypeSet, @NotNull FaceObjectProviders faceObjectProviders)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreloadFaces()Invoked when the user wants to reload the images.voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
ReloadFacesAction
public ReloadFacesAction(@NotNull @NotNull ArchetypeSet<G,A,R> archetypeSet, @NotNull @NotNull FaceObjectProviders faceObjectProviders)Creates a new instance.- Parameters:
archetypeSet- the archetype set instancefaceObjectProviders- the face object providers for looking up faces
-
-
Method Detail
-
reloadFaces
@ActionMethod public void reloadFaces()
Invoked when the user wants to reload the images.
-
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
-
-