コード例 #1
0
ファイル: SettingsView.cs プロジェクト: Hengle/Engine-Nine
 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
ファイル: SettingsView.cs プロジェクト: Hengle/Engine-Nine
        //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>())
        {
        }