Click or drag to resize

InfoWarningErrorMessageController Class

Controller for the message pad that displays informational, warning, and error messages.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.WorkbenchAbstractPadContent
    Altaxo.Gui.Main.ServicesInfoWarningErrorMessageController

Namespace: Altaxo.Gui.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class InfoWarningErrorMessageController : AbstractPadContent, 
	IMementoCapable

The InfoWarningErrorMessageController type exposes the following members.

Constructors
 NameDescription
Public methodInfoWarningErrorMessageController Initializes a new instance of the InfoWarningErrorMessageController class.
Top
Properties
 NameDescription
Public propertyCategory Gets or sets the category used to determine where the menu item for this pad is placed.
(Inherited from AbstractPadContent)
Public propertyCommandClearAllMessages Gets the command that clears all messages.
Public propertyCommandReverseMessageOrder Gets the command that reverses the message order.
Public propertyContentId Gets a string which uniquely identifies the content.
(Inherited from AbstractPadContent)
Public propertyDefaultPosition Gets the default position of this pad.
(Inherited from AbstractPadContent)
Public propertyIconSource Gets the icon bitmap resource name of the pad. May be an empty string if the pad has no icon defined.
(Inherited from AbstractPadContent)
Public propertyInitiallyFocusedControl Gets the control which has focus initially.
(Inherited from AbstractPadContent)
Public propertyIsActive Gets or sets a value indicating whether the view of this instance is active in the UI.
(Inherited from AbstractPadContent)
Public propertyIsSelected Gets or sets a value indicating whether the view of this instance is selected (e.g. inside its container).
(Inherited from AbstractPadContent)
Public propertyIsVisible Gets or sets the visibility of the pad. If false, the pad is not visible. If true, the pad may be visible or is collapsed.
(Inherited from AbstractPadContent)
Public propertyMessageItems Gets the message items currently displayed.
Public propertyModelObject Gets the model (document) that this controller manages.
(Overrides AbstractPadContentModelObject)
Public propertyPadDescriptor Gets or sets the pad descriptor that has created this pad content.
(Inherited from AbstractPadContent)
Public propertyShortcut Gets or sets the menu shortcut for the view menu item.
(Inherited from AbstractPadContent)
Public propertyTitle Returns the title of the pad (IPadContent), or the text on the tab page of the document window (IViewContent).
(Inherited from AbstractPadContent)
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
(Overrides AbstractPadContentViewObject)
Top
Methods
 NameDescription
Public methodAskQuestion Asks the user a question.
Protected methodAttachView Attaches the current view to this controller.
Public methodBringToFront Brings the pad to the front by making it visible and selected.
(Inherited from AbstractPadContent)
Public methodChooseSaveError Lets the user choose how to handle a save error.
Public methodCreateMemento Creates a new memento from the state.
Protected methodDetachView Detaches the current view from this controller.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides AbstractPadContentDispose)
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 methodGetService Gets a service provided by this pad content.
(Overrides AbstractPadContentGetService(Type))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInformSaveError Informs the user about a save error.
Protected methodInitialize Initializes the controller state and transfers cached view settings to the attached view.
Public methodLoad Loads the controller state from XML.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnPropertyChanged Raises the PropertyChanged event.
(Inherited from AbstractPadContent)
Public methodSave Saves the controller state to XML.
Public methodSetMemento Sets the state, using the given memento.
Public methodShowCustomDialog Shows a custom dialog with the specified buttons.
Public methodShowError Shows an error message.
Public methodShowErrorFormatted Shows a formatted error message.
Public methodShowException Shows an exception message.
Public methodShowHandledException Shows a handled exception message.
Public methodShowInputBox Shows an input box.
Public methodShowMessage Shows an informational message.
Public methodShowMessageFormatted Shows a formatted informational message.
Public methodShowWarning Shows a warning message.
Public methodShowWarningFormatted Shows a formatted warning message.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWriteErrorLine(String, String) Writes an error line.
Public methodWriteErrorLine(String, String, Object) Writes a formatted error line.
Top
Events
 NameDescription
Public eventPropertyChangedOccurs when a property value changes.
(Inherited from AbstractPadContent)
Top
Fields
 NameDescription
Protected field_category Stores the pad category when no descriptor is assigned.
(Inherited from AbstractPadContent)
Protected field_contentId Stores the content identifier when no descriptor is assigned.
(Inherited from AbstractPadContent)
Protected field_iconSource Stores the icon source when no descriptor is assigned.
(Inherited from AbstractPadContent)
Protected field_isActive Stores whether the pad is active.
(Inherited from AbstractPadContent)
Protected field_isSelected Stores whether the pad is selected.
(Inherited from AbstractPadContent)
Protected field_isVisible Stores whether the pad is visible.
(Inherited from AbstractPadContent)
Protected field_padDescriptor Stores the descriptor that defines the pad metadata.
(Inherited from AbstractPadContent)
Protected field_shortCut Stores the shortcut when no descriptor is assigned.
(Inherited from AbstractPadContent)
Protected field_title Stores the pad title when no descriptor is assigned.
(Inherited from AbstractPadContent)
Top
See Also