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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
defaultLocation
protected String
installHomeKey
protected String
licenseAcceptedKey
protected String
licenseFileName
protected simphony.util.messages.MessageCenter
LOG
protected String
name
protected simphony.settings.SettingsRegistry
settingsRegistry
protected AnalysisPluginWizard
wizard
protected saf.core.ui.Workspace<RSApplication>
workspace
-
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
Constructors Constructor Description AnalysisPluginRunner(String name, String defaultLocation, String licenseFileName, AnalysisPluginWizard wizard)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
static String
arrayToString(String[] input)
void
initialize(saf.core.ui.Workspace<RSApplication> workspace)
static void
main(String[] args)
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 Detail
-
name
protected String name
-
licenseFileName
protected String licenseFileName
-
installHomeKey
protected String installHomeKey
-
licenseAcceptedKey
protected String licenseAcceptedKey
-
defaultLocation
protected String defaultLocation
-
LOG
protected simphony.util.messages.MessageCenter LOG
-
workspace
protected saf.core.ui.Workspace<RSApplication> workspace
-
settingsRegistry
protected simphony.settings.SettingsRegistry settingsRegistry
-
wizard
protected AnalysisPluginWizard wizard
-
-
Constructor Detail
-
AnalysisPluginRunner
public AnalysisPluginRunner(String name, String defaultLocation, String licenseFileName, AnalysisPluginWizard wizard)
-
-
Method Detail
-
initialize
public void initialize(saf.core.ui.Workspace<RSApplication> workspace)
- Specified by:
initialize
in interfacesaf.core.ui.actions.ISAFAction<RSApplication>
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
storeSettings
protected void storeSettings(AnalysisPluginWizard wizard)
-
run
public void run(AnalysisPluginWizard wizard)
-
main
public static void main(String[] args)
-
-