public sealed class VariationHarnessViewThe variation matrix: every configuration against every goal, worst cell first.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The report is the deliverable, and the drill-down is what makes it a tool. A grid of numbers saying a clip is wrong somewhere is not actionable. Selecting a cell raises CellSelected with the configuration rebuilt and the moment attached, so the application can put that body, that prop and that frame on screen.
⚠ A goal that never resolved is drawn differently from one that missed, rather than as a zero. It is the most common way a variation actually breaks and it sorts to the top.
⚠ The panel runs a plan and does not own the running. Pressing Run asks TryRun, which is synchronous and answers why it could not start rather than throwing — a plan whose clip has not been imported yet is an ordinary state. A host that wants a run on a background task, with progress and a cancellation, calls VariationHarness itself and uses Show to show the answer.
Fields and properties (9)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public UiElement BarThe bar across the top.
public UiElement VerdictWhat the run was and whether it passed.
public Button RunRuns the plan. Only useful when the panel is showing a document.
public Button WorstJumps to the worst cell without hunting for it.
public UiElement MatrixThe grid.
public UiElement FieldsWhat the selected cell is.
public HarnessCell? SelectedWhich cell is selected, or .
Events (1)
public Action<VariationHarnessView, HarnessSelection>? CellSelectedRaised when a cell is chosen, with everything needed to show it.
Methods (6)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
public void Show(HarnessPlan ran, VariationReport result)Shows a report.
public void Show(HarnessDocument declared)Shows a declared plan, which can then be run from the bar.
public void Reload(HarnessDocument declared)Rebuilds from the document.
public void Reload()Rebuilds the grid from the report.
public void Select(in HarnessCell cell)Selects a cell and tells whoever is listening.
Used by (2)
- HarnessEditorFactoryVixen.Editor.AssetEditors
- HarnessViewTestsVixen.Editor.AssetEditors.Tests