Moved Perspective into Engine
This commit is contained in:
parent
08f0a3c77f
commit
013c6ac4fe
@ -13,7 +13,7 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
foreach (Perspective perspective in PerspectiveManager.Perspectives)
|
||||
foreach (Perspective perspective in Engine.CurrentEngine.Perspectives)
|
||||
{
|
||||
ListViewItem lvi = new ListViewItem();
|
||||
lvi.Text = perspective.Title;
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.UserInterface.WindowsForms
|
||||
{
|
||||
public static class PerspectiveManager
|
||||
{
|
||||
private static Perspective.PerspectiveCollection mvarPerspectives = new Perspective.PerspectiveCollection();
|
||||
public static Perspective.PerspectiveCollection Perspectives { get { return mvarPerspectives; } }
|
||||
}
|
||||
}
|
||||
@ -133,8 +133,6 @@
|
||||
<DependentUpon>UnsavedDocumentsDialog.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="IconMethods.cs" />
|
||||
<Compile Include="Perspective.cs" />
|
||||
<Compile Include="PerspectiveManager.cs" />
|
||||
<Compile Include="MainWindow.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
||||
@ -770,6 +770,9 @@ namespace UniversalEditor.UserInterface
|
||||
private static Engine mvarCurrentEngine = null;
|
||||
public static Engine CurrentEngine { get { return mvarCurrentEngine; } }
|
||||
|
||||
private Perspective.PerspectiveCollection mvarPerspectives = new Perspective.PerspectiveCollection();
|
||||
public Perspective.PerspectiveCollection Perspectives { get { return mvarPerspectives; } }
|
||||
|
||||
protected virtual void ShowSplashScreen()
|
||||
{
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor
|
||||
namespace UniversalEditor.UserInterface
|
||||
{
|
||||
public class Perspective
|
||||
{
|
||||
@ -69,6 +69,7 @@
|
||||
<Compile Include="Language.cs" />
|
||||
<Compile Include="MenuBar.cs" />
|
||||
<Compile Include="ObjectModelChangingEvent.cs" />
|
||||
<Compile Include="Perspective.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="PropertyMapping.cs" />
|
||||
<Compile Include="RecentFileManager.cs" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user