Click or drag to resize

VishnuViewModelBase class

Base class for all Vishnu ViewModels. Inherits from ObservableObject e.g. INotifyPropertyChanged and implements IVishnuViewModel.
Inheritance hierarchy

Namespace: Vishnu.ViewModel
Assembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public abstract class VishnuViewModelBase : ObservableObject,
	 
	IVishnuViewModel, IVishnuRenderWatcher

The VishnuViewModelBase Type exposes the following members.

Constructors
 NameDescription of the
Public MethodVishnuViewModelBase Constructor - sets the VisualTreeCacheBreaker.
Back to the top
Properties
 NameDescription of the
Public PropertyClearInfos Command for the ContextMenuItem "Delete info" in the ContextMenu for the "MainGrid" of the control.
Public PropertyCopyToolTipInfoToClipboard Command for the Copy button in the ToolTip of the control.
Public PropertyGridColumn Returns or sets the column in the containing grid for the current element.
Public PropertyGridRow Returns or sets the row in the containing grid for the current element.
Public PropertyIsRendered Indicates whether the associated control has been completely drawn.
Public PropertyJobInProgress Indicates that a ui-triggered background progress is actually running.
Public PropertyLogLogicalTaskTree Command for the ContextMenuItem "Log Tree" in the ContextMenu for the "MainGrid" of the control.
Public PropertyParentView The control for this ViewModel.
Public PropertyPauseResumeLogicalTaskTree Command for the ContextMenuItem "Pause Tree" in the ContextMenu for the "MainGrid" of the control.
Public PropertyReloadLogicalTaskTree Command for the ContextMenuItem "Reload" in the ContextMenu for the "MainGrid" of the control.
Public PropertyResult The ReturnObject of the assigned LogicalNode.
Public PropertyRootLogicalTaskTreeViewModel ViewModel of the superordinate LogicalTaskTree.
Public PropertyShowInfos Command for the ContextMenuItem "Show info" in the ContextMenu for the "MainGrid" of the control.
Public PropertyShowLogLogicalTaskTree Command for the ContextMenuItem "Show Log" in the ContextMenu for the "MainGrid" of the control.
Public PropertyShowSettingsLogicalTaskTree Command for the ContextMenuItem "Show Settings" in the ContextMenu for the "MainGrid" of the control.
Public PropertyShowVishnuHelp Command for the ContextMenuItem "Show Vishnu Help" in the ContextMenu for the "MainGrid" of the control.
Public PropertySwitchTaskTreeView Command for switching the tree display.
Public PropertyToolTipInfo Returns the result of GetToolTipInfo(). This routine points to NextRunInfoAndResult by default, can be overwritten if necessary.
Public PropertyUserDataContext Binding to an optional, specific user view model.
Public PropertyVisualTreeCacheBreaker Unique GlobalUniqueIdentifier. Is assigned in the constructor and flows into the overwritten Equals method. This ensures that after reloading parts of the LogicalTaskTree and restarting Reload from previous states of the LogicalTaskTree Elements of the original LogicalTaskTree cached VisualTree instead of the newly loaded elements in the new VisualTree.
Back to the top
Methods
 NameDescription of the
Public MethodCanClearInfosExecute Returns true if the function is executable, here always false. Can be overwritten at a suitable point.
Public MethodCanLogTaskTreeExecute Returns true if the function is executable, here always false. Can be overwritten at a suitable point.
Public MethodCanPauseResumeTaskTreeExecute Returns true if the function is executable, in this case always true. Can be overwritten at a suitable point.
Public MethodCanReloadTaskTreeExecute Returns true if the function is executable, here always false. Can be overwritten at a suitable point.
Public MethodCanShowInfosExecute Returns true if the function is executable, here always false. Can be overwritten at a suitable point.
Public MethodCanShowLogExecute Returns true if the function is executable, here always false. Can be overwritten at a suitable point.
Public MethodCanShowSettingsExecute Returns true if the function is executable, here always false. Can be overwritten at a suitable point.
Public MethodCanShowVishnuHelpExecute Returns true if the function is executable, in this case always true.
Public MethodcanSwitchTaskTreeViewExecute Checks whether the tree alignment may be changed. Here: always returns true.
Public MethodClearInfosExecute Is intended for deleting any existing Vishnu information (messages and logs). Can be overwritten in a suitable place.
Public MethodEquals Compares the content of this LogicalNodeViewModel according to logical aspects with the content of a transferred LogicalNodeViewModel.
(Overwrites ObjectEquals(Object))
Public MethodGetDebugNodeInfos Returns a string for debugging purposes.
Public MethodGetHashCode Generates a hash code for this LogicalNodeViewModel.
(Overwrites ObjectGetHashCode)
Protected MethodGetToolTipInfo Returns the result for the ToolTipInfo property. This routine points to NextRunInfoAndResult by default, can be overwritten if necessary.
Public MethodInvalidate Assigns a new GlobalUniqueIdentifier for the VisualTreeCacheBreaker.
Public MethodLogTaskTreeExecute Is intended for logging the tree at a suitable location. Can be overwritten for this purpose.
Protected MethodOnPropertyChanged Reports for the UI when a property has changed.
(Inherited from ObservableObject)
Protected MethodParentViewToBL Can be overwritten to change the parent control in the business logic.
Public MethodPauseResumeTaskTreeExecute Toggle switch - stops the tree or keeps it running.
Public MethodRaisePropertyChanged(String) Triggers OnPropertyChanged.
(Inherited from ObservableObject)
Public MethodRaisePropertyChangedT(ExpressionFuncT) Triggers OnPropertyChanged.
(Inherited from ObservableObject)
Public MethodReloadTaskTreeExecute Is used to reload the tree at a suitable location after a change of the JobDescriptions. Can be overwritten for this purpose.
Public MethodShowInfosExecute Is for displaying any existing Vishnu information (messages and logs) in the foreground. Can be overwritten in a suitable place.
Public MethodShowLogExecute Is intended for displaying the Vishnu log. Can be overwritten in a suitable place.
Public MethodShowSettingsExecute Is intended for displaying the Vishnu parameters. Can be overwritten in a suitable place.
Public MethodShowVishnuHelpExecute Displays the Vishnu online help.
Public MethodShowVishnuHelpTask Displays the Vishnu online help.
Public MethodswitchTaskTreeViewExecute Request to change the tree alignment (Yin_Yang/F4).
Public MethodUserControlContentRendered Is called up by DynamicUserControlBase when the UserControl has been fully rendered.
Protected MethodVerifyCalledOnUIThread Checks whether a call is made from the correct thread (dispatcher).
(Inherited from ObservableObject)
Back to the top
Events
 NameDescription of the
Public EventPropertyChanged The PropertyChanged event for the UI.
(Inherited from ObservableObject)
Back to the top
Fields
 NameDescription of the
Public FieldColumnNumber Returns or sets the column number of the associated control in a square matrix. This value is moved to the GridColumn property at a suitable time, to inform the WPF GUI.
Protected FieldDispatcher The dispatcher of the UI.
(Inherited from ObservableObject)
Public FieldRowNumber Returns or sets the line number of the associated control in a square matrix. This value is moved to the GridRow property at a suitable time, to inform the WPF GUI.
Back to the top
Remarks
File: VishnuViewModelBase.cs Author: Erik Nagel 22.05.2015 Erik Nagel: created
See also