Click or drag to resize

RelaxISPlugin_DataManipulation Class

Note: This API is now obsolete.

This plugin type allows the direct manipulation of every aspect of the spectrum, including the data values, the fit parameters, metadata and so on. The plugin is accessed using a ribbon button that can be registered. You can add setup routines for the change in the PerformSetup(IEnumerableImpedanceSpectrum_Fitted, Boolean) method, which is called once for each button click.
Inheritance Hierarchy
SystemObject
  RelaxIS_SDK.PluginsRelaxISPlugin
    RelaxIS_SDK.PluginsRelaxISOnlyPlugin
      RelaxIS_SDK.PluginsRelaxISPlugin_DataManipulation

Namespace: RelaxIS_SDK.Plugins
Assembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax
[ObsoleteAttribute("This class is kept for backwards compatibility. Please use RelaxISPlugin_DataManipulation2 for new developments.")]
public abstract class RelaxISPlugin_DataManipulation : RelaxISOnlyPlugin

The RelaxISPlugin_DataManipulation type exposes the following members.

Constructors
 NameDescription
Public methodRelaxISPlugin_DataManipulationInitializes a new instance of the RelaxISPlugin_DataManipulation class
Top
Properties
 NameDescription
Public propertyActivateNewSpectra Gets a value indicating whether newly added spectra should be activated after the plugin was executed.
Public propertyAlwaysUseSelectedSpectra If false, the spectra selection dialog will be shown when the plugin is called, if true, the selection dialog will be skipped and the currently selected spectra will be used.
Public propertyButtonImage The image that will be displayed on the ribbon button. If the value is null, a default image will be displayed.
Public propertyButtonTitle The title that is displayed on the ribbon button. If null, the plugin's title will be used.
Public propertyDescription A short description of what the plugin does. Displayed on various occasions for clarification
(Inherited from RelaxISPlugin)
Public propertyDoesChangeData If this property returns false, the "Fit up-to-date" status of the selected spectra is not set to false, because it is indicated that no data of the spectrum is changed
Public propertyName The plugins's internal name, that is used to reference it on various occasions
(Inherited from RelaxISPlugin)
Public propertyNewSpectra Gets a list of new spectra that will be added after the data manipulation plugin was completely executed.
Public propertyPluginSourcePath Gets or sets the full path of the file that the plugin was loaded from.
(Inherited from RelaxISPlugin)
Protected propertyRelaxISProgramInterface Gets an instance of the RelaxIS Program interface for the RelaxIS instance that the plugin is loaded in.
(Inherited from RelaxISOnlyPlugin)
Protected propertyRelaxISWCFInterface Gets an instance of the WCF interface for the RelaxIS instance that the plugin is loaded in.
(Inherited from RelaxISOnlyPlugin)
Public propertySortIndex By default the plugins are sorted based on the value of this property. That means, that they appear in lists in the order dictated by this value.
(Inherited from RelaxISPlugin)
Public propertyUserDataDirectory Gets or sets the path to the RelaxIS user data directory.
(Inherited from RelaxISPlugin)
Top
Methods
 NameDescription
Protected methodAddLogMessage(Exception) Advises RelaxIS to add information about the given exception to the log. Will not work in the object's constructor.
(Inherited from RelaxISPlugin)
Protected methodAddLogMessage(String) Advises RelaxIS to add a new message to the log. Will not work in the object's constructor.
(Inherited from RelaxISPlugin)
Public methodAfterStartupInitialization Is called once after the plugin is initialized with all internal information during program start.
(Inherited from RelaxISPlugin)
Public methodCompareTo Compares the plugin to another based on the SortIndex property
(Inherited from RelaxISPlugin)
Public methodGetAdditionalInformation Provides additional information about this plugin, like e.g. the unit of a transfer function.
(Inherited from RelaxISPlugin)
Public methodInternalSetProgramInstance Set the internal program instance to a new value.
(Inherited from RelaxISOnlyPlugin)
Public methodInternalSetWCFInstance Set the internal wcf instance to a new value.
(Inherited from RelaxISOnlyPlugin)
Public methodManipulateSpectra Calls the ManipulateSpectrum(Int32, ImpedanceSpectrum_Fitted) method for each spectrum.
Public methodManipulateSpectrum This method is called for each selected spectrum. You can change the contents of the Spectrum object to your liking.
Public methodPerformSetup This method is called once before the the manipulation of the spectra is started. Use this method to perform initializations or for user interaction.
Public methodShouldDiscardPlugin Called once after the plugin is initialized and after AfterStartupInitialization and signals to RelaxIS if the plugin should be used or discarded.
(Inherited from RelaxISPlugin)
Top
Remarks
Caution: Using this plugin will loose the per-datapoint active indication of spectra! It is recommended to use the RelaxISPlugin_DataManipulation2 plugin instead.
See Also