diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs b/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs index 17754334..7c4ec577 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs @@ -39,6 +39,7 @@ namespace UniversalEditor.UserInterface private ErrorListPanel pnlErrorList = new ErrorListPanel(); private SolutionExplorerPanel pnlSolutionExplorer = new SolutionExplorerPanel(); private PropertyListPanel pnlPropertyList = new PropertyListPanel(); + private DocumentExplorerPanel pnlDocumentExplorer = new DocumentExplorerPanel(); private RibbonTab LoadRibbonBar(CommandBar cb) { @@ -244,6 +245,8 @@ namespace UniversalEditor.UserInterface lblToolbox.Text = "TOOLBOX PLACEHOLDER"; AddPanel("Toolbox", DockingItemPlacement.Left, lblToolbox); + AddPanel("Document Explorer", DockingItemPlacement.Bottom, pnlDocumentExplorer); + DockingContainer dcExplorerProperties = AddPanelContainer(DockingItemPlacement.Right, null); AddPanel("Solution Explorer", DockingItemPlacement.Top, pnlSolutionExplorer, dcExplorerProperties); AddPanel("Properties", DockingItemPlacement.Bottom, pnlPropertyList, dcExplorerProperties); diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Panels/DocumentExplorerPanel.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Panels/DocumentExplorerPanel.cs new file mode 100644 index 00000000..b1714702 --- /dev/null +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Panels/DocumentExplorerPanel.cs @@ -0,0 +1,26 @@ +using System; +using MBS.Framework.UserInterface; +using MBS.Framework.UserInterface.Controls; +using MBS.Framework.UserInterface.Layouts; + +namespace UniversalEditor.UserInterface.Panels +{ + public class DocumentExplorerPanel : Panel + { + private ListView lv = null; + private DefaultTreeModel tm = null; + + public DocumentExplorerPanel() + { + Layout = new BoxLayout(Orientation.Vertical); + lv = new ListView(); + + tm = new DefaultTreeModel(new Type[] { typeof(string) }); + lv.Model = tm; + lv.HeaderStyle = ColumnHeaderStyle.None; + lv.Columns.Add(new ListViewColumnText(tm.Columns[0], "Item")); + + Controls.Add(lv, new BoxLayout.Constraints(true, true)); + } + } +} diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/UniversalEditor.UserInterface.csproj b/CSharp/Libraries/UniversalEditor.UserInterface/UniversalEditor.UserInterface.csproj index 20f14f51..68eae45e 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/UniversalEditor.UserInterface.csproj +++ b/CSharp/Libraries/UniversalEditor.UserInterface/UniversalEditor.UserInterface.csproj @@ -134,6 +134,7 @@ +