public sealed class AddressableGroupsViewThe addressable groups a project defines, one group's policy, and what a build would say.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Doc 11's three things for this editor: the group list, the per-group policy, and doc 08's analysis view. The first two are this control's; the third is deliberately not.
⚠ The analysis is the real planner, run by the host. BuildPlanner needs the import cache — an analysis that reimplemented its rules would be a second set of rules, and the way that drift shows up is a panel saying a project is fine and the build refusing it. So the panel takes a delegate that produces a BuildPlan, and the application hands it one that runs against a ProjectWorkspace on a background task. A panel with no analyser shows the list and says analysis is unavailable.
⚠ The list is the project's .vxgroup files, not the groups a build invented. A project that configures nothing still builds, in a Default group the planner reports; that group has no file and so is not in this list, and the analysis is where it appears. Showing it here would offer a policy editor for a group that does not exist.
Fields and properties (10)
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 TreeView GroupsThe groups the project defines.
public InspectorView PolicyThe selected group's policy.
public Button AnalyseThe button that runs the analysis.
public UiElement AnalysisWhat the analysis said, worst first.
public EmptyState EmptyShown when no group is selected.
public AddressableGroupDocument? SelectedThe document for the group being shown, or .
public int CountHow many groups the project defines.
public int AnalysisRowsHow many rows the analysis produced.
Events (1)
public Action<AddressableGroupsView, AddressableGroupDocument>? GroupOpenedRaised when a different group is selected.
Methods (5)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
public void Show(EditorProject opened, Func<BuildPlan>? analysis = null)Shows a project's groups.
public void Rebuild()Rebuilds the group list from the asset database as it stands.
public AddressableGroupDocument Open(AssetEntry entry)Opens one group's policy.
public int Run()Runs the analysis and lists what it said.
Used by (3)
- AddressableGroupEditorFactoryVixen.Editor.AssetEditors
- EditorApplicationVixen.Editor.App
- EditorViewTestsVixen.Editor.AssetEditors.Tests