public class DisplayArchetypeNamesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
| Constructor and Description |
|---|
DisplayArchetypeNamesAction(@NotNull ArchetypeChooserModel<G,A,R> archetypeChooserModel,
@NotNull DisplayMode<G,A,R> displayMode)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
displayArchetypeNames()
Sets whether game object names are shown.
|
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
public DisplayArchetypeNamesAction(@NotNull
@NotNull ArchetypeChooserModel<G,A,R> archetypeChooserModel,
@NotNull
@NotNull DisplayMode<G,A,R> displayMode)
@ActionMethod public void displayArchetypeNames()
public void setAction(@NotNull
@NotNull javax.swing.Action action,
@NotNull
@NotNull java.lang.String name)
EditorActionAction instance for this editor action.setAction in interface EditorActionaction - the action instancename - the name of the action