public class SavePluginsAction<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 |
|---|
SavePluginsAction(PluginController<G,A,R> pluginController)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
savePlugins()
Saves all unsaved plugins.
|
void |
setAction(javax.swing.Action action,
java.lang.String name)
Sets the
Action instance for this editor action. |
public SavePluginsAction(@NotNull
PluginController<G,A,R> pluginController)
pluginController - the plugin controller to use@ActionMethod public void savePlugins()
public void setAction(@NotNull
javax.swing.Action action,
@NotNull
java.lang.String name)
Action instance for this editor action.setAction in interface EditorActionaction - the action instancename - the name of the action