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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected simphony.util.messages.MessageCenterprotected Stringprotected simphony.settings.SettingsRegistryprotected AnalysisPluginWizardprotected saf.core.ui.Workspace<RSApplication>Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsConstructorDescriptionAnalysisPluginRunner(String name, String defaultLocation, String licenseFileName, AnalysisPluginWizard wizard) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic StringarrayToString(String[] input) voidinitialize(saf.core.ui.Workspace<RSApplication> workspace) static voidvoidrun(AnalysisPluginWizard wizard) protected voidstoreSettings(AnalysisPluginWizard wizard) Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
initializein interfacesaf.core.ui.actions.ISAFAction<RSApplication>
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
storeSettings
-
run
-
arrayToString
-
main
-