public class PluginManagerFactory<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 |
---|
PluginManagerFactory(@NotNull java.awt.Component parent,
@NotNull PluginController<G,A,R> pluginController,
@NotNull PluginModel<G,A,R> pluginModel,
@NotNull PluginParameterViewFactory<G,A,R> pluginParameterViewFactory,
@NotNull ResourceIcons resourceIcons)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
editPlugins() |
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
public PluginManagerFactory(@NotNull @NotNull java.awt.Component parent, @NotNull @NotNull PluginController<G,A,R> pluginController, @NotNull @NotNull PluginModel<G,A,R> pluginModel, @NotNull @NotNull PluginParameterViewFactory<G,A,R> pluginParameterViewFactory, @NotNull @NotNull ResourceIcons resourceIcons)
parent
- the parent component to center the editor window onresourceIcons
- the resource icons for creating icons@ActionMethod public void editPlugins()
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