private void HierarchicalContainer1_OverridePropertyDisplayName(HierarchicalContainer sender, HCItemProperty property, ref string displayName) { try { if (Provider.DocumentWindow.Document.SpecialMode == "ProjectSettingsUserMode") { displayName = EditorLocalization.Translate("ProjectSettings.Property", displayName); } else { displayName = EditorLocalization.Translate("Object.Property", displayName); } } catch { } }
private void HierarchicalContainer1_OverrideMemberDescription(HierarchicalContainer sender, HCItemMember member, ref string description) { try { if (Provider.DocumentWindow.Document.SpecialMode == "ProjectSettingsUserMode") { description = EditorLocalization.Translate("ProjectSettings.Description", description); } else { description = EditorLocalization.Translate("Object.Description", description); } } catch { } }
public HCItemGroup(HierarchicalContainer owner, HierarchicalContainer.Item parent, string name) : base(owner, parent) { this.name = name; }
// public HCItemCheckBox(HierarchicalContainer owner, HierarchicalContainer.Item parent, object[] controlledObjects, Metadata.Property property, object[] indexers) : base(owner, parent, controlledObjects, property, indexers) { }
// public HCItemEvent(HierarchicalContainer owner, HierarchicalContainer.Item parent, object[] controlledObjects, Metadata.Event _event) : base(owner, parent, controlledObjects) { this._event = _event; }
private void HierarchicalContainer1_OverridePropertyEnumItem(HierarchicalContainer sender, HCItemEnumDropDown property, ref string displayName, ref string description) { displayName = EditorLocalization.Translate("ContentBrowser.Options", displayName); description = EditorLocalization.Translate("ContentBrowser.Options", description); }
private void HierarchicalContainer1_PropertyDisplayNameOverride(HierarchicalContainer sender, HCItemProperty property, ref string displayName) { displayName = EditorLocalization.Translate("ContentBrowser.Options", displayName); }
private void HierarchicalContainer1_OverrideMemberDescription(HierarchicalContainer sender, HCItemMember member, ref string description) { description = EditorLocalization.Translate("Object.Description", description); }
private void HierarchicalContainer1_OverridePropertyDisplayName(HierarchicalContainer sender, HCItemProperty property, ref string displayName) { displayName = EditorLocalization.Translate("Object.Property", displayName); }
private void HierarchicalContainer1_OverrideGroupDisplayName(HierarchicalContainer sender, HCItemGroup group, ref string displayName) { displayName = EditorLocalization.Translate("Object.Group", displayName); }
// public Item(HierarchicalContainer owner, Item parent) { this.owner = owner; this.parent = parent; }
private void HierarchicalContainer1_OverridePropertyEnumItem(HierarchicalContainer sender, HCItemEnumDropDown property, ref string displayName, ref string description) { displayName = Translate(displayName); description = Translate(description); }
private void HierarchicalContainer1_PropertyDisplayNameOverride(HierarchicalContainer sender, HCItemProperty property, ref string displayName) { displayName = Translate(displayName); }
public HCItemСontentBrowserForCollection(HierarchicalContainer owner, HierarchicalContainer.Item parent, object[] controlledObjects, Metadata.Property property, object[] indexers) : base(owner, parent, controlledObjects, property, indexers) { }
public HCItemMember(HierarchicalContainer owner, HierarchicalContainer.Item parent, object[] controlledObjects) : base(owner, parent) { this.controlledObjects = controlledObjects; }