Package | Description |
---|---|
net.sf.gridarta.gui.dialog.plugin | |
net.sf.gridarta.gui.dialog.plugin.parameter | |
net.sf.gridarta.plugin |
Modifier and Type | Field and Description |
---|---|
private Plugin<G,A,R> |
PluginEditor.plugin |
Modifier and Type | Field and Description |
---|---|
private Map<Plugin<G,A,R>,PluginEditor<G,A,R>> |
PluginManager.components |
private Iterable<Plugin<G,A,R>> |
PluginView.pluginModel
The script model.
|
Modifier and Type | Method and Description |
---|---|
Action |
PluginController.createRunAction(Plugin<G,A,R> plugin)
Creates an action to run a plugin plugin.
|
boolean |
PluginView.getRunValues(Plugin<G,A,R> plugin,
Component parent) |
private void |
PluginManager.removeScript(Plugin<G,A,R> plugin) |
void |
PluginController.runPlugin(Plugin<G,A,R> plugin) |
private boolean |
PluginController.savePlugin(Plugin<G,A,R> plugin)
Saves one plugin.
|
boolean |
PluginController.savePluginAs(Plugin<G,A,R> plugin,
boolean updatePluginFile)
Prompts the user for a file name to save a plugin.
|
private void |
PluginManager.showScript(Plugin<G,A,R> plugin) |
Constructor and Description |
---|
PluginEditor(Plugin<G,A,R> plugin,
PluginController<G,A,R> pluginController,
PluginModel<G,A,R> pluginModel,
PluginParameterViewFactory<G,A,R> pluginParameterViewFactory,
ResourceIcons resourceIcons)
Create a visual JComponent used to edit the given script.
|
Modifier and Type | Field and Description |
---|---|
private Plugin<G,A,R> |
ParameterTypeEditor.plugin |
Constructor and Description |
---|
ParameterTypeEditor(PluginModel<G,A,R> pluginModel,
Plugin<G,A,R> plugin,
PluginParameter<G,A,R,?> parameter) |
Modifier and Type | Field and Description |
---|---|
private Plugin<G,A,R> |
BshThread.plugin
The PluginModel of this BshThread.
|
Modifier and Type | Field and Description |
---|---|
private Map<String,Plugin<G,A,R>> |
PluginModel.plugins |
Modifier and Type | Method and Description |
---|---|
Plugin<G,A,R> |
Plugin.clonePlugin()
Returns a clone copy of this plugin.
|
Plugin<G,A,R> |
PluginModelParser.fromXML(org.jdom.Element node)
Creates a
Plugin instance from XML representation. |
Plugin<G,A,R> |
PluginModel.getPlugin(int index) |
Plugin<G,A,R> |
PluginModel.getPlugin(String name) |
private static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
PluginModelLoader.loadXML(PluginModelParser<G,A,R> pluginModelParser,
org.jdom.Document doc,
File file) |
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
PluginModelLoader.loadXML(PluginModelParser<G,A,R> pluginModelParser,
File file) |
Plugin<G,A,R> |
PluginModel.newPlugin(String name,
String code) |
Modifier and Type | Method and Description |
---|---|
Iterator<Plugin<G,A,R>> |
PluginModel.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
PluginModel.addPlugin(Plugin<G,A,R> plugin)
Add a new plugin.
|
BshThread<G,A,R> |
PluginExecutor.doRunPlugin(Plugin<G,A,R> plugin,
bsh.ConsoleInterface console)
Runs a plugin model.
|
private void |
PluginModel.firePluginCreatedEvent(Plugin<G,A,R> plugin)
Notify all listeners about an added plugin.
|
private void |
PluginModel.firePluginDeletedEvent(Plugin<G,A,R> plugin)
Notifies all listeners about a removed plugin.
|
private void |
PluginModel.firePluginRegisteredEvent(Plugin<G,A,R> plugin)
Notifies all listeners about a registered plugin.
|
private void |
PluginModel.firePluginUnregisteredEvent(Plugin<G,A,R> plugin)
Notifies all listeners about an unregistered plugin.
|
void |
PluginModelListener.pluginCreated(Plugin<G,A,R> plugin)
Notifies about the creation of a new plugin.
|
void |
PluginModelListener.pluginDeleted(Plugin<G,A,R> plugin)
Notifies about the deletion of a plugin.
|
void |
PluginModelListener.pluginRegistered(Plugin<G,A,R> plugin)
Notifies about the registering of a plugin.
|
void |
PluginModelListener.pluginUnregistered(Plugin<G,A,R> plugin)
Notifies about the unregistering of a plugin.
|
void |
PluginModel.removePlugin(Plugin<G,A,R> plugin) |
void |
PluginModel.reRegister(Plugin<G,A,R> plugin) |
void |
PluginModel.savePlugin(Plugin<G,A,R> plugin,
File file)
Saves a plugin to a given file.
|
org.jdom.Element |
PluginModelParser.toXML(Plugin<G,A,R> plugin)
Converts a
Plugin instance to XML representation. |
Constructor and Description |
---|
BshThread(String name,
Plugin<G,A,R> plugin,
bsh.Interpreter interpreter)
Creates a new instance.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.