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))); */ }
public ProjectView(OldEditorView editorView, Project project) { this.Project = project; this.EditorView = editorView; }
//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>()) { }