This is the base class when creating a custom export tool.
Inheritance Hierarchy
Spotfire.Dxp.ApplicationTool
Spotfire.Dxp.ApplicationToolDocument
Spotfire.Dxp.Application.ToolsExportToolDocument
Spotfire.Dxp.Application.ToolsExportTool
Spotfire.Dxp.Application.ExtensionCustomExportTool
Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 64.0.19329.3263 (64.0.19329.3263)
Syntax
C#
public abstract class CustomExportTool : ExportTool
The CustomExportTool type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CustomExportTool(String) | Initializes a new instance of the CustomExportTool class.
| |
CustomExportTool(String, Image) | Obsolete. Initializes a new instance of the CustomExportTool class.
| |
CustomExportTool(String, ExtensionIcon, LicensedFunction) | Initializes a new instance of the CustomExportTool class.
| |
CustomExportTool(String, Image, LicensedFunction) | Obsolete. Initializes a new instance of the CustomExportTool class.
|
Properties
Name | Description | |
---|---|---|
SupportsThemes |
Gets a value indicating whether the tool supports themes. If this property returns false, the
framework will apply the default Spotfire light theme as part of the export operation.
The default value is false.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute |
Executes the tool for the specified context.
If IsEnabled(TContext) returns false, this method does nothing.
(Inherited from ToolTContext.) | |
ExecuteAndPrompt |
Executes the tool for the specified context.
If IsEnabled(TContext) returns false, this method does nothing.
(Inherited from ToolTContext.) | |
ExecuteAndPromptCore |
Implement this method to perform tool-specific logic.
(Inherited from ToolTContext.) | |
ExecuteCore(T) |
Implement this method to perform tool-specific logic.
(Inherited from ExportToolT.) | |
ExecuteCore(T, ExportResult) | Implement this method to perform tool specific logic.
This method will always be executed as a top-level progress operation.
(Inherited from ExportToolT.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMenuTextCore |
Gets the menu text for the tool.
| |
GetSupportsPromptingCore |
Override this method to return a value indicating whether this tool supports the ExecuteAndPrompt method
which enables asynchronous prompting e.g. on the Web Player.
(Inherited from ToolTContext.) | |
GetToolbarIdCore |
Gets the identifier used by the custom toolbar. This is the string that you add to the ToolbarShortcuts preference
if you want your tool to be visible in the toolbar. The default value is the name of the type.
Override this method if you want to provide your own identifier string.
(Inherited from Tool.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsEnabled |
Gets whether or not the tool is enabled for the specified context.
If context is null or not of the type specified by ContextType,
false is always returned.
(Inherited from ToolTContext.) | |
IsEnabledCore |
Override this method to control when the tool is enabled.
(Inherited from ToolTContext.) | |
IsVisibleCore |
Gets whether or not the tool should be visible in
the application given its context. Hiding a tool will
remove it from the user interface of its context and prevent usage.
Override with a custom implementation to control when the tool
is visible.
(Inherited from ToolTContext.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Version Information
Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also