Пример #1
0
 public SettingsView(OldEditorView editorView, ISettings documentSettings, IEnumerable <SettingsView> children)
 {
     /*
      * this.EditorView = editorView;
      * this.DocumentSettings = documentSettings;
      * this.Properties = new ObservableCollection<PropertyView>();
      * this.Children = new ObservableCollection<SettingsView>(children);
      * this.Properties.AddRange(PropertyHelper.GetBrowsableProperties(documentSettings)
      *                                     .Select(p => new PropertyView(documentSettings, p)));
      */
 }
Пример #2
0
 public ProjectView(OldEditorView editorView, Project project)
 {
     this.Project    = project;
     this.EditorView = editorView;
 }
Пример #3
0
        //public string DisplayName { get { return Children.Count > 0 ? DocumentSettings.Category : DocumentSettings.DisplayName; } }
        //public string Category { get { return DocumentSettings.Category ?? Nine.Studio.Strings.Misc; } }

        public SettingsView(OldEditorView editorView, ISettings documentSettings)
            : this(editorView, documentSettings, Enumerable.Empty <SettingsView>())
        {
        }