Click or drag to resize

SnapshotViewModel class

ViewModel for a snapshot of an external tree.
Inheritance hierarchy

Namespace: Vishnu.ViewModel
Assembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class SnapshotViewModel : LogicalNodeViewModel

The SnapshotViewModel Type exposes the following members.

Constructors
 NameDescription of the
Public MethodSnapshotViewModel Constructor
Back to the top
Properties
 NameDescription of the
Public PropertyChildOrientation Defines whether the child elements of this node should be arranged horizontally or vertically.
(Inherited from LogicalNodeViewModel)
Public PropertyChildren The children of the current node.
(Inherited from LogicalNodeViewModel)
Public PropertyClearInfos Command for the ContextMenuItem "Delete info" in the ContextMenu for the "MainGrid" of the control.
(Inherited from VishnuViewModelBase)
Public PropertyCollapsedEventCommand Serves as the first binding anchor for the attached property ExpanderBehavior.CollapsedCommandProperty.
(Inherited from LogicalNodeViewModel)
Public PropertyCopyToolTipInfoToClipboard Command for the Copy button in the ToolTip of the control.
(Inherited from VishnuViewModelBase)
Public PropertyDebugMode Additional test outputs can be made for True. Default: False.
(Inherited from LogicalNodeViewModel)
Public PropertyDebugNodeInfos Name + (Id + ReferencedNodeId, if applicable) of the originally referenced SingleNode.
(Inherited from LogicalNodeViewModel)
Public PropertyExpandedEventCommand Serves as the first binding anchor for the attached property ExpanderBehavior.ExpandedCommandProperty.
(Inherited from LogicalNodeViewModel)
Public PropertyFreeComment Free text for any application.
(Inherited from LogicalNodeViewModel)
Public PropertyGridColumn Returns or sets the column in the containing grid for the current element.
(Inherited from VishnuViewModelBase)
Public PropertyGridRow Returns or sets the row in the containing grid for the current element.
(Inherited from VishnuViewModelBase)
Public PropertyHasParent False only for the root node.
(Inherited from LogicalNodeViewModel)
Public PropertyHookedTo Contains TreeParams.Name and IdInfo of the node in whose events this node is located. LogicalNodeViewModel or the text "NULL".
(Inherited from LogicalNodeViewModel)
Public PropertyId The identifier of the associated LogicalTaskTree node made available for the UI.
(Inherited from LogicalNodeViewModel)
Public PropertyIsDefaultSnapshot True if the snapshot could not be loaded and replaced by a default snapshot.
Public PropertyIsExpanded True if the TreeView node that is connected to this node is folded out.
(Inherited from LogicalNodeViewModel)
Public PropertyIsInSleepTime Returns true if a rest period defined by the user is currently in progress. for Vishnu actors (checkers) is running.
(Inherited from LogicalNodeViewModel)
Public PropertyIsInSnapshot With True, this NodeList is located within a snapshot.
Public PropertyIsRendered Indicates whether the associated control has been completely drawn.
(Inherited from VishnuViewModelBase)
Public PropertyIsSelected True if the TreeView node that is connected to this node is associated with is selected.
(Inherited from LogicalNodeViewModel)
Public PropertyIsSnapshotDummy True indicates that it is a node within the of a loaded snapshot.
(Inherited from LogicalNodeViewModel)
Public PropertyIsTreePaused Returns true if the tree has just been paused.
(Inherited from LogicalNodeViewModel)
Public PropertyJobInProgress Indicates that a ui-triggered background progress is actually running.
(Inherited from VishnuViewModelBase)
Public PropertyLastExceptions Lists possible exceptions of the child nodes in a string separated by a line break.
(Inherited from LogicalNodeViewModel)
Public PropertyLastExecutingTreeEvent The last triggering TreeEvent (for TreeEvent-triggered nodes) or zero.
(Inherited from LogicalNodeViewModel)
Public PropertyLastNotNullLogical Flag field for the last state of Logical that was not zero; Is required so that workers are only started when the The display changes when the status of Logical changes significantly. has changed and not every time the checker works (Logical = zero).
(Inherited from LogicalNodeViewModel)
Public PropertyLastRun Time of the last start of the node.
(Inherited from LogicalNodeViewModel)
Public PropertyLastRunInfo Time of the last start of the node as a string.
(Inherited from LogicalNodeViewModel)
Public PropertyLogical The logical result of the associated LogicalTaskTree node made available for the UI.
(Inherited from LogicalNodeViewModel)
Public PropertyLogLogicalTaskTree Command for the ContextMenuItem "Log Tree" in the ContextMenu for the "MainGrid" of the control.
(Inherited from VishnuViewModelBase)
Public PropertyName The name of the associated LogicalTaskTree node made available for the UI.
(Inherited from LogicalNodeViewModel)
Public PropertyNextRun Time of the next start of the node (if known) or DateTime.MinValue.
(Inherited from LogicalNodeViewModel)
Public PropertyNextRunInfo Info text about the next start of the node (if known) or null.
(Inherited from LogicalNodeViewModel)
Public PropertyNextRunInfoAndResult Combined output of NextRunInfo (when is the next run) and Result (in full length).
(Inherited from LogicalNodeViewModel)
Public PropertyNodeEnvironment List with all result objects of the subtree's predecessors.
(Inherited from LogicalNodeViewModel)
Public PropertyOriginalNodeId Id of the originally referenced SingleNode.
(Inherited from LogicalNodeViewModel)
Public PropertyParent The parent node in the ViewModel.
(Inherited from LogicalNodeViewModel)
Public PropertyParentView The control for this ViewModel.
(Inherited from VishnuViewModelBase)
Public PropertyPath The unique path of the associated LogicalTaskTree node.
(Inherited from LogicalNodeViewModel)
Public PropertyPauseResumeLogicalTaskTree Command for the ContextMenuItem "Pause Tree" in the ContextMenu for the "MainGrid" of the control.
(Inherited from VishnuViewModelBase)
Public PropertyProgress A text for the number of completed end nodes of this subtree for display in the ProgressBar (usually nnn%) for the UI.
(Inherited from LogicalNodeViewModel)
Public PropertyProgressText A text for the number of completed end nodes of this subtree for display in the ProgressBar (usually nnn%) for the UI.
(Inherited from LogicalNodeViewModel)
Public PropertyRefreshSnapshot Command for refreshing the snapshot.
Public PropertyReloadLogicalTaskTree Command for the ContextMenuItem "Reload" in the ContextMenu for the "MainGrid" of the control.
(Inherited from VishnuViewModelBase)
Public PropertyResult The ReturnObject of the assigned LogicalNode.
(Inherited from LogicalNodeViewModel)
Public PropertyResults List of ReturnObjects of the assigned LogicalNode and its children.
(Inherited from LogicalNodeViewModel)
Public PropertyRootJobListViewModel Returns the root job list valid for the node.
(Inherited from LogicalNodeViewModel)
Public PropertyRootLogicalTaskTreeViewModel ViewModel of the superordinate LogicalTaskTree.
(Inherited from VishnuViewModelBase)
Public PropertyShortResult Short text for exceptions of the assigned LogicalNode.
(Inherited from LogicalNodeViewModel)
Public PropertyShowInfos Command for the ContextMenuItem "Show info" in the ContextMenu for the "MainGrid" of the control.
(Inherited from VishnuViewModelBase)
Public PropertyShowLogLogicalTaskTree Command for the ContextMenuItem "Show Log" in the ContextMenu for the "MainGrid" of the control.
(Inherited from VishnuViewModelBase)
Public PropertyShowSettingsLogicalTaskTree Command for the ContextMenuItem "Show Settings" in the ContextMenu for the "MainGrid" of the control.
(Inherited from VishnuViewModelBase)
Public PropertyShowVishnuHelp Command for the ContextMenuItem "Show Vishnu Help" in the ContextMenu for the "MainGrid" of the control.
(Inherited from VishnuViewModelBase)
Public PropertySingleNodes The number of end nodes of this subtree made available for the UI.
(Inherited from LogicalNodeViewModel)
Public PropertySingleNodesFinished The number of terminated end nodes of this subtree made available for the UI.
(Inherited from LogicalNodeViewModel)
Public PropertySizeChangedEventCommand Serves as the first binding anchor for the attached property ExpanderBehavior.CollapsedCommandProperty.
(Inherited from LogicalNodeViewModel)
Public PropertySleepTimeTo The end of a possible rest period as a formatted string.
(Inherited from LogicalNodeViewModel)
Public PropertySnapshotPath Origin of the snapshot.
Public PropertySnapshotTime Time of the last update of the snapshot.
Public PropertyStartTreeOrientation Alignment of the tree when starting the application. AlternatingHorizontal: Alternating structure, starting horizontally (default). Vertical: Vertical structure. Horizontal: Horizontal structure. AlternatingVertical: Alternating structure, starting vertically.
(Inherited from LogicalNodeViewModel)
Public PropertySwitchTaskTreeView Command for switching the tree display.
(Inherited from VishnuViewModelBase)
Public PropertyToolTipInfo Returns the result of GetToolTipInfo(). This routine points to NextRunInfoAndResult by default, can be overwritten if necessary.
(Inherited from VishnuViewModelBase)
Public PropertyTreeParams Additional parameters that are valid for the entire tree or null.
(Inherited from LogicalNodeViewModel)
Protected PropertyUIDispatcher The main dispatcher thread.
(Inherited from LogicalNodeViewModel)
Protected PropertyUIMain The MainWindow.
(Inherited from LogicalNodeViewModel)
Public PropertyUserControlPath The path to the UserControl currently to be loaded dynamically.
(Inherited from LogicalNodeViewModel)
Public PropertyUserDataContext Binding to an optional, specific user view model.
(Inherited from VishnuViewModelBase)
Public PropertyVisibility Indicates whether the element is visible, hidden or collapsed.
(Inherited from LogicalNodeViewModel)
Public PropertyVisualState Sufficient for a possibly from several technical sources combined state as an enumeration type to the GUI (and the IValueConverter). Default: None
(Inherited from LogicalNodeViewModel)
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.
(Inherited from VishnuViewModelBase)
Public PropertyWorkersState Combined NodeWorkerState for all assigned NodeWorkers.
(Inherited from LogicalNodeViewModel)
Back to the top
Methods
 NameDescription of the
Public MethodCanClearInfosExecute Returns true if the function is executable.
(Inherited from LogicalNodeViewModel)
Public MethodCanHandleExpanderExpandedEvent Execution permission for the event handler for opening the expander.
(Inherited from LogicalNodeViewModel)
Public MethodCanLogTaskTreeExecute Returns true if the function is executable.
(Inherited from LogicalNodeViewModel)
Public MethodCanPauseResumeTaskTreeExecute Returns true if the function is executable, in this case always true. Can be overwritten at a suitable point.
(Inherited from VishnuViewModelBase)
Public MethodCanReloadTaskTreeExecute Returns true if the function is executable.
(Inherited from LogicalNodeViewModel)
Public MethodCanShowInfosExecute Returns true if the function is executable.
(Inherited from LogicalNodeViewModel)
Public MethodCanShowLogExecute Returns true if the function is executable.
(Inherited from LogicalNodeViewModel)
Public MethodCanShowSettingsExecute Returns true if the function is executable.
(Inherited from LogicalNodeViewModel)
Public MethodCanShowVishnuHelpExecute Returns true if the function is executable, in this case always true.
(Inherited from VishnuViewModelBase)
Public MethodcanSwitchTaskTreeViewExecute Checks whether the tree alignment may be changed. Here: always returns true.
(Inherited from VishnuViewModelBase)
Public MethodClearInfosExecute Deletes any existing Vishnu information (messages and logs).
(Inherited from LogicalNodeViewModel)
Public MethodCollapseTree Collapses the ViewModel branch and thus also the TreeView (because of the associated nodes).
(Inherited from LogicalNodeViewModel)
Public MethodDispose Public method for cleaning up.
(Inherited from LogicalNodeViewModel)
Protected MethodDispose(Boolean) Final theses.
(Inherited from LogicalNodeViewModel)
Public MethodDoClearInfos Deletes any existing Vishnu information (messages and logs).
(Inherited from LogicalNodeViewModel)
Public MethodDoShowInfos Brings any existing Vishnu information (messages and logs) to the foreground.
(Inherited from LogicalNodeViewModel)
Public MethodEquals Compares the content of this LogicalNodeViewModel according to logical aspects with the content of a transferred LogicalNodeViewModel.
(Inherited from LogicalNodeViewModel)
Public MethodExpandTree Folds out the ViewModel tree completely and thus also the TreeView (because of the associated nodes).
(Inherited from LogicalNodeViewModel)
Protected MethodFinalise Finaliser: is called by the GarbageCollector.
(Inherited from LogicalNodeViewModel)
Public MethodGetDebugNodeInfos Returns a string for debugging purposes.
(Inherited from LogicalNodeViewModel)
Public MethodGetHashCode Generates a hash code for this LogicalNodeViewModel.
(Inherited from LogicalNodeViewModel)
Public MethodGetLogicalNode Returns the assigned logicalNode from the BusinessLogic.
(Inherited from LogicalNodeViewModel)
Protected MethodGetToolTipInfo Returns the result for the ToolTipInfo property. This routine points to NextRunInfoAndResult by default, can be overwritten if necessary.
(Inherited from LogicalNodeViewModel)
Public MethodGetTopRootJobListViewModel Returns the topmost Root-JobList valid for the node.
(Inherited from LogicalNodeViewModel)
Public MethodHandleExpanderCollapsedEvent Event handler for closing the expander.
(Inherited from LogicalNodeViewModel)
Public MethodHandleExpanderExpandedEvent Event handler for opening the expander.
(Inherited from LogicalNodeViewModel)
Public MethodHandleExpanderSizeChangedEvent Event handler for resizing the expander.
(Inherited from LogicalNodeViewModel)
Public MethodInvalidate Assigns a new GlobalUniqueIdentifier for the VisualTreeCacheBreaker.
(Inherited from VishnuViewModelBase)
Protected MethodLoadChildren Loads the children of a node.
(Inherited from LogicalNodeViewModel)
Public MethodLogTaskTree Reloads the entire tree including JobDescription.xml asynchronously.
(Inherited from LogicalNodeViewModel)
Public MethodLogTaskTreeExecute Logs the tree.
(Inherited from LogicalNodeViewModel)
Protected MethodOnPropertyChanged Reports for the UI when a property has changed.
(Inherited from ObservableObject)
Protected MethodParentViewToBL Saves a reference to the associated Control in the business logic.
(Inherited from LogicalNodeViewModel)
Public MethodPauseResumeTaskTreeExecute Toggle switch - stops the tree or keeps it running.
(Inherited from VishnuViewModelBase)
Public MethodRaisePropertyChanged(String) Triggers OnPropertyChanged.
(Inherited from ObservableObject)
Public MethodRaisePropertyChangedT(ExpressionFuncT) Triggers OnPropertyChanged.
(Inherited from ObservableObject)
Protected MethodRefreshTreeView Updates the display of a subtree.
(Inherited from LogicalNodeViewModel)
Public MethodReloadTaskTree Reloads the entire tree including JobDescription.xml asynchronously.
(Inherited from LogicalNodeViewModel)
Public MethodReloadTaskTreeExecute Reloads the tree after changing the JobDescriptions.
(Inherited from LogicalNodeViewModel)
Protected MethodSearchSibling Searches for a node in a tree branch for a given index hierarchy in the "indices" stack.
(Inherited from LogicalNodeViewModel)
Public MethodSetChildOrientation Sets the alignment of the child nodes.
(Inherited from LogicalNodeViewModel)
Public MethodShowInfosExecute Brings any existing Vishnu information (messages and logs) to the foreground.
(Inherited from LogicalNodeViewModel)
Public MethodShowLogExecute Opens the log file in the standard editor asynchronously via ShowLogTaskTree.
(Inherited from LogicalNodeViewModel)
Public MethodShowLogTaskTree Opens the log file in the standard editor.
(Inherited from LogicalNodeViewModel)
Public MethodShowSettingsExecute Outputs the Vishnu parameters in the NotePad editor.
(Inherited from LogicalNodeViewModel)
Public MethodShowSettingsTaskTree Outputs the Vishnu parameters in the NotePad editor.
(Inherited from LogicalNodeViewModel)
Public MethodShowVishnuHelpExecute Displays the Vishnu online help.
(Inherited from VishnuViewModelBase)
Public MethodShowVishnuHelpTask Displays the Vishnu online help.
(Inherited from VishnuViewModelBase)
Protected MethodsubLastNotNullLogicalChanged Is triggered if a LastNotNullLogical has changed anywhere in this subtree.
(Inherited from LogicalNodeViewModel)
Protected MethodsubLogicalChanged Is triggered if a logical has changed somewhere in this subtree.
(Inherited from LogicalNodeViewModel)
Protected MethodsubNodeProgressChanged Is triggered if a processing progress has changed somewhere in this subtree.
(Inherited from LogicalNodeViewModel)
Protected MethodsubNodeProgressFinished Is triggered when processing has been completed somewhere in this subtree.
(Inherited from LogicalNodeViewModel)
Protected MethodSubNodeProgressStarted Is triggered if processing has been started anywhere in this subtree.
(Inherited from LogicalNodeViewModel)
Protected MethodSubNodePropertiesChanged Is activated if other properties have changed for this node, which are to be passed on to the UI.
(Inherited from LogicalNodeViewModel)
Protected MethodSubNodeWorkersStateChanged Is triggered if workers exist for this node and their status has changed.
(Inherited from LogicalNodeViewModel)
Protected MethodsubPropertiesChanged Is activated if properties relevant to the display have changed in LogicalTaskTree.
(Inherited from LogicalNodeViewModel)
Protected MethodsubStateChanged Is triggered if a NodeState has changed somewhere in this subtree. Changes depending on the "LogicalState", "State" and "Trigger" node properties the display of the processing status of the node.
(Inherited from LogicalNodeViewModel)
Public MethodswitchTaskTreeViewExecute Request to change the tree alignment (Yin_Yang/F4).
(Inherited from VishnuViewModelBase)
Public MethodToString Overridden ToString() method.
(Inherited from LogicalNodeViewModel)
Protected MethodTransferShadowTreeProperties Transfers properties from a secured branch to an active branch.
(Inherited from LogicalNodeViewModel)
Protected MethodTransferSiblingProperties Transfers certain properties in the VisualTree from sibling to node.
(Inherited from LogicalNodeViewModel)
Protected Methodtraverse Recursive auxiliary routine for the public routine 'Traverse'.
(Inherited from LogicalNodeViewModel)
Public MethodTraverse(FuncInt32, IExpandableNode, Object, Object) Goes recursively through the tree and calls the action for each node.
(Inherited from LogicalNodeViewModel)
Public MethodTraverse(FuncInt32, IExpandableNode, Object, Object, Object) Goes recursively through the tree and calls the action for each node.
(Inherited from LogicalNodeViewModel)
Public MethodUserControlContentRendered Is called up by DynamicUserControlBase when the UserControl has been fully rendered.
(Inherited from VishnuViewModelBase)
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
Protected Field_myLogicalNode The assigned node from the LogicalTaskTree.
(Inherited from LogicalNodeViewModel)
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.
(Inherited from VishnuViewModelBase)
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.
(Inherited from VishnuViewModelBase)
Back to the top
Remarks
File: SnapshotViewModel.cs Author: Erik Nagel 12.11.2013 Erik Nagel: created
See also