Package repast.simphony.data.analysis
Class AnalysisPluginRunner
java.lang.Object
javax.swing.AbstractAction
repast.simphony.data.analysis.AnalysisPluginRunner
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,saf.core.ui.actions.ISAFAction<RSApplication>
public class AnalysisPluginRunner
extends AbstractAction
implements saf.core.ui.actions.ISAFAction<RSApplication>
The AnalysisPluginRunner is a helper class that should be extended by simple
plugin runner classes for running command line applications from the gui
- Author:
- Eric Tatara
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected simphony.util.messages.MessageCenter
protected String
protected simphony.settings.SettingsRegistry
protected AnalysisPluginWizard
protected saf.core.ui.Workspace<RSApplication>
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
ConstructorDescriptionAnalysisPluginRunner
(String name, String defaultLocation, String licenseFileName, AnalysisPluginWizard wizard) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static String
arrayToString
(String[] input) void
initialize
(saf.core.ui.Workspace<RSApplication> workspace) static void
void
run
(AnalysisPluginWizard wizard) protected void
storeSettings
(AnalysisPluginWizard wizard) Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
name
-
licenseFileName
-
installHomeKey
-
licenseAcceptedKey
-
defaultLocation
-
LOG
protected simphony.util.messages.MessageCenter LOG -
workspace
-
settingsRegistry
protected simphony.settings.SettingsRegistry settingsRegistry -
wizard
-
-
Constructor Details
-
AnalysisPluginRunner
public AnalysisPluginRunner(String name, String defaultLocation, String licenseFileName, AnalysisPluginWizard wizard)
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacesaf.core.ui.actions.ISAFAction<RSApplication>
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
storeSettings
-
run
-
arrayToString
-
main
-