public sealed class ShapeVocabularyViewA project's shape vocabulary: the names, the tags, and the body plans.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The first file in doc 34's workflow, and the one that had no panel. Everything after it is checked against it, so it being editable only outside Vixen made the first step of the whole module the one step that left the editor.
⚠ One list holding all three kinds rather than three panels. The mistake this file exists to prevent — a class requiring a shape the vocabulary does not declare — is only visible when the terms and the classes are in front of each other. Three tabs would hide exactly the relationship being authored.
⚠ The problems are the vocabulary's own answer, not this panel's. Problems is what the importer reports from too — two copies of the rules would be one copy that goes out of step, and the way that shows up is a file the panel calls clean and the build refuses.
The panel is ShapeVocabularyView.vxml; this file is the accessibility modifier, the two records its lists key on, and the four elements that exist only so that markup can write an intrinsic tag's own Text. ⚠ The field pane is still built in C# and the markup's header carries the argument: it is a switch over the selection's type, which is wave 4's surviving-region trap with the sharpest edge it has.
Fields and properties (12)
protected override string TagNameprotected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public UiElement BarThe bar across the top.
public Button AddTermDeclares a name a shape may have.
public Button AddTagDeclares a tag a shape may carry.
public Button AddPlanDeclares a body plan. Named AddPlan because UiElement.AddClass exists.
public Button AddMemberAdds a shape the selected class requires.
public Button DropRemoves whatever is selected. Named Drop because UiElement.Remove exists.
public UiElement ListEverything the file declares, in one list.
public UiElement FieldsThe selected row's fields.
public UiElement ReportWhat is wrong with the file, as the build would say it.
public object? SelectedWhat is selected, or .
Methods (6)
protected override void OnCreated()protected override void OnRemoved()public void Show(ShapeVocabularyDocument vocabulary)Shows a vocabulary.
public void Reload(ShapeVocabularyDocument vocabulary)Rebuilds from the document.
public void Reload()Rebuilds the list.
public ShapeClassRecord? Owner()Which class the Add Required Shape button would add to, or .
Used by (2)
- ShapeVocabularyEditorFactoryVixen.Editor.AssetEditors
- ShapeVocabularyTestsVixen.Editor.AssetEditors.Tests