Click or drag to resize

MultiRenameController Class

Controller for bulk renaming operations.
Inheritance Hierarchy
SystemObject
  Altaxo.GuiControllerBase
    Altaxo.Gui.Common.MultiRenameMultiRenameController

Namespace: Altaxo.Gui.Common.MultiRename
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class MultiRenameController : ControllerBase, 
	IMVCANController, IMVCAController, IMVCController, IDisposable, IApplyController

The MultiRenameController type exposes the following members.

Constructors
 NameDescription
Public methodMultiRenameController Initializes a new instance of the MultiRenameController class.
Top
Properties
 NameDescription
Public propertyAvailableShortcuts Initializes the list of available shortcuts. First column has to be the type of shortcut, then the shortcut itself, then the description text.
Public propertyCmdChooseBaseDirectory Gets the command used to choose the base directory.
Public propertyColumNames Initializes the column names of the list of items.
Public propertyIsBaseDirectoryButtonVisible Sets a value indicating whether the button to choose the base directory should be visible.
Public propertyIsDisposed Gets a value indicating whether this controller is already disposed.
(Inherited from ControllerBase)
Public propertyItemListItems Initializes the list view which shows the items.
Public propertyModelObject Gets the model (document) that this controller manages.
Protected propertyNoDocumentException Gets an exception that is thrown when a controller was not initialized with a document.
(Inherited from ControllerBase)
Protected propertyNotInitializedException Gets an exception that is thrown when a controller is not properly initialized.
(Inherited from ControllerBase)
Protected propertyNoViewException Gets an exception that is thrown when a controller currently has no view.
(Inherited from ControllerBase)
Public propertyRenameStringTemplate Gets or sets the rename template string.
Public propertyUseDocumentCopy Sets whether or not a copy of the document is used. If set to true, a copy of the document is used, so if the controller is not applied, all changes can be reverted. If set to false, no copy must be made. The document is directly changed by the controller, and changes cannot be reverted. Use the last option if a controller higher in the hierarchy has already made a copy of the document.
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
Protected methodCheckDocumentInitializedT Checks whether the document has been initialized and throws an exception if it is null.
(Inherited from ControllerBase)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ControllerBase)
Public methodDispose(Boolean) Releases unmanaged and, optionally, managed resources.
(Inherited from ControllerBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitializeDocument Initializes the controller with the document.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnPropertyChanged Raises the PropertyChanged event.
(Inherited from ControllerBase)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventPropertyChangedOccurs when a property value changes.
(Inherited from ControllerBase)
Top
See Also