add DocumentExplorerPanel
This commit is contained in:
parent
52f28fb7e9
commit
c6c1cc87b3
@ -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);
|
||||
|
||||
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -134,6 +134,7 @@
|
||||
<Compile Include="Panels\PropertyListPanel.cs" />
|
||||
<Compile Include="Panels\PropertyListPanel.Designer.cs" />
|
||||
<Compile Include="View.cs" />
|
||||
<Compile Include="Panels\DocumentExplorerPanel.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user