CustomTool TContext  Methods TIBCO Spotfire 6.0 API Reference
The CustomTool TContext  type exposes the following members.
Methods

  NameDescription
Public methodExecute
Executes the tool for the specified context. If IsEnabled(TContext) returns false, this method does nothing.
(Inherited from Tool TContext .)
Public methodExecuteAndPrompt
Executes the tool for the specified context. If IsEnabled(TContext) returns false, this method does nothing.
(Inherited from Tool TContext .)
Protected methodExecuteAndPromptCore
Implement this method to perform tool-specific logic.
(Inherited from Tool TContext .)
Protected methodExecuteCore
Implement this method to perform tool-specific logic.
(Inherited from Tool TContext .)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetMenuTextCore
Gets the menu text for the tool. Override this method and return a string based on CurrentUICulture in order for the web player user interface to adapt to the localization settings of the web client user.
Protected methodGetSupportsPromptingCore
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 Tool TContext .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEnabled
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 Tool TContext .)
Protected methodIsEnabledCore
Override this method to control when the tool is enabled.
(Inherited from Tool TContext .)
Protected methodIsVisibleCore
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 Tool TContext .)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Back to Top
See Also