Esempio n. 1
0
        private void PropertiesList_DoRename(plyTextInputWiz wiz)
        {
            string text = wiz.text;

            wiz.Close();
            PropertiesManagerEd.RenameProperty(this.propertiesList.index, text);
            base.editorWindow.Repaint();
        }
Esempio n. 2
0
        private void PropertiesList_OnAdd(plyTextInputWiz wiz)
        {
            string text = wiz.text;

            wiz.Close();
            PropertiesManagerEd.AddProperty(text);
            base.editorWindow.Repaint();
        }
Esempio n. 3
0
        public override SimpleParamInfo[] GetSetterParams(DataProvider target)
        {
            ManagedProperty property = PropertiesManagerEd.GetProperty((target as ManagedPropertyRefProvider).propertyName);

            if (property != null && property.setter != null)
            {
                return(DataProviderEd.GetBindParams(property.setter));
            }
            return(new SimpleParamInfo[0]);
        }
Esempio n. 4
0
 private void PropertiesList_Remove()
 {
     PropertiesManagerEd.RemoveProperty(this.propertiesList.index);
 }