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 { }
 }
예제 #3
0
 public HCItemGroup(HierarchicalContainer owner, HierarchicalContainer.Item parent, string name)
     : base(owner, parent)
 {
     this.name = name;
 }
예제 #4
0
        //

        public HCItemCheckBox(HierarchicalContainer owner, HierarchicalContainer.Item parent, object[] controlledObjects, Metadata.Property property, object[] indexers)
            : base(owner, parent, controlledObjects, property, indexers)
        {
        }
예제 #5
0
        //

        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);
 }
예제 #8
0
 private void HierarchicalContainer1_OverrideMemberDescription(HierarchicalContainer sender, HCItemMember member, ref string description)
 {
     description = EditorLocalization.Translate("Object.Description", description);
 }
예제 #9
0
 private void HierarchicalContainer1_OverridePropertyDisplayName(HierarchicalContainer sender, HCItemProperty property, ref string displayName)
 {
     displayName = EditorLocalization.Translate("Object.Property", displayName);
 }
예제 #10
0
 private void HierarchicalContainer1_OverrideGroupDisplayName(HierarchicalContainer sender, HCItemGroup group, ref string displayName)
 {
     displayName = EditorLocalization.Translate("Object.Group", displayName);
 }
예제 #11
0
            //

            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);
 }
예제 #14
0
 public HCItemСontentBrowserForCollection(HierarchicalContainer owner, HierarchicalContainer.Item parent, object[] controlledObjects, Metadata.Property property, object[] indexers)
     : base(owner, parent, controlledObjects, property, indexers)
 {
 }
예제 #15
0
 public HCItemMember(HierarchicalContainer owner, HierarchicalContainer.Item parent, object[] controlledObjects)
     : base(owner, parent)
 {
     this.controlledObjects = controlledObjects;
 }