Manages the scripts in a document. There is one instance of the ScriptManager in each document and
it is owned by the Document.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.Application.ScriptingScriptManager
Namespace: Spotfire.Dxp.Application.Scripting
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(13, 0)] public sealed class ScriptManager : DocumentNode
The ScriptManager type exposes the following members.
Properties
Name | Description | |
---|---|---|
Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Methods
Name | Description | |
---|---|---|
AddScriptDefinition |
Adds a Script Definition to the ScriptManager.
| |
ExecuteScript(String, IDictionaryString, Object) | Obsolete.
Executes the specified script.
| |
ExecuteScript(ScriptDefinition, IDictionaryString, Object) |
Executes the specified script.
| |
ExecuteScript(String, ScriptLanguage, IDictionaryString, Object) |
Executes the specified script.
| |
ExecuteScript(String, IDictionaryString, Object, Stream) | Obsolete.
Executes the specified script.
| |
ExecuteScript(String, ScriptLanguage, IDictionaryString, Object, Stream) |
Executes the specified script.
| |
ExecuteScript(String, ScriptLanguage, IDictionaryString, Object, Stream, Boolean) |
Executes the specified script.
| |
GetAllScriptsWithName |
Get all scripts with the specified name. Utility method to assist with cleanup of redundant scripts. Use this method to get all scripts with the same name;
Then compare the scripts for equivalence with IsEquivalentTo(ScriptDefinition) | |
GetScripts |
Gets an enumeration of the scripts stored in this script manager.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Remove |
Removes a ScriptDefinition object from the ScriptManager. Warning - if the script is an IronPython script, and is tied to action control(s),
the action control(s) will need to be manually reconfigured in Spotfire.
| |
Replace |
Replaces an existing ScriptDefinition with another. Warning: replacing with a ScriptDefinition where the parameters are different
will disable any actions that execute this ScriptDefinition.
If the parameters are named the same and have the same types, no actions will be disabled or modified.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetScript |
Tries to get a script with the specified scriptName.
|
Explicit Interface Implementations
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also