Package adams.gui.scripting
Class SpectralScriptingEngine
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.scripting.AbstractScriptingEngine
-
- adams.gui.scripting.ScriptingEngine
-
- adams.gui.scripting.SpectralScriptingEngine
-
- All Implemented Interfaces:
adams.core.ErrorProvider
,adams.core.logging.LoggingSupporter
,adams.core.scriptingengine.BackgroundScriptingEngine
,adams.core.SizeOfHandler
,adams.db.DatabaseConnectionHandler
,adams.db.DatabaseConnectionProvider
,adams.db.DatabaseConnectionUser
,adams.event.DatabaseConnectionChangeListener
,Serializable
public class SpectralScriptingEngine extends adams.gui.scripting.ScriptingEngine
Scripting engine for spectral module.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
FILENAME
the name of the props file.
-
Constructor Summary
Constructors Constructor Description SpectralScriptingEngine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getDefinitionKey()
Returns the properties key to use for retrieving the properties.protected adams.core.Properties
getProperties()
Provides access to the properties object.static adams.gui.scripting.AbstractScriptingEngine
getSingleton(adams.db.AbstractDatabaseConnection dbcon)
Returns the singleton instance of the scripting engine.-
Methods inherited from class adams.gui.scripting.AbstractScriptingEngine
add, add, add, add, add, add, addScriptingInfoListener, addToHistory, check, clear, databaseConnectionStateChanged, filter, filter, getAvailableScripts, getAvailableScripts, getCommandHistory, getDatabaseConnection, getLastError, getProcessingThread, getProcessor, getRecordedCommands, getScriptsHome, hasLastError, hasRecording, isEmpty, isProcessing, isRecording, load, notifyScriptingInfoListeners, readProperties, removeScriptingInfoListener, save, save, setDatabaseConnection, setLastError, startRecording, stop, stopEngine, stopRecording, updatePrefix
-
-
-
-
Field Detail
-
FILENAME
public static final String FILENAME
the name of the props file.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefinitionKey
protected String getDefinitionKey()
Returns the properties key to use for retrieving the properties.- Overrides:
getDefinitionKey
in classadams.gui.scripting.ScriptingEngine
- Returns:
- the key
-
getProperties
protected adams.core.Properties getProperties()
Provides access to the properties object.- Overrides:
getProperties
in classadams.gui.scripting.ScriptingEngine
- Returns:
- the properties
-
getSingleton
public static adams.gui.scripting.AbstractScriptingEngine getSingleton(adams.db.AbstractDatabaseConnection dbcon)
Returns the singleton instance of the scripting engine.- Parameters:
dbcon
- the database context- Returns:
- the singleton
-
-