 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.dialog.plugin;
22 import java.awt.Component;
23 import javax.swing.Action;
31 import net.
sf.japi.swing.action.ActionMethod;
32 import org.jetbrains.annotations.NotNull;
33 import org.jetbrains.annotations.Nullable;
47 private final Object
sync =
new Object();
72 public PluginManagerFactory(@NotNull
final Component
parent, @NotNull
final PluginController<G, A, R> pluginController, @NotNull
final PluginModel<G, A, R> pluginModel, @NotNull
final PluginParameterViewFactory<G, A, R> pluginParameterViewFactory, @NotNull
final ResourceIcons resourceIcons) {
92 public void setAction(@NotNull
final Action action, @NotNull
final String
name) {
PluginManagerFactory(@NotNull final Component parent, @NotNull final PluginController< G, A, R > pluginController, @NotNull final PluginModel< G, A, R > pluginModel, @NotNull final PluginParameterViewFactory< G, A, R > pluginParameterViewFactory, @NotNull final ResourceIcons resourceIcons)
Creates a new instance.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
Graphical User Interface of Gridarta.
GameObjects are the objects based on Archetypes found on maps.
final Component parent
The parent Component to center the editor window on.
Interface for MapArchObjects.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
final PluginParameterViewFactory< G, A, R > pluginParameterViewFactory
Factory for creating PluginParameterView instances.
void show()
Shows the plugin manager window.
PluginManager< G, A, R > pluginManager
final PluginController< G, A, R > pluginController
final ResourceIcons resourceIcons
The ResourceIcons for creating icons.
final PluginModel< G, A, R > pluginModel
Creates ImageIcon instances from resources.
final Object sync
The synchronization object.