Browse Source

CreateDesignerFriendlyWindow -> CreateEmbeddableWindow

pull/332/head
Nikita Tsukanov 11 years ago
parent
commit
6e33686ff6
  1. 2
      src/Android/Perspex.Android/AndroidPlatform.cs
  2. 2
      src/Gtk/Perspex.Gtk/GtkPlatform.cs
  3. 2
      src/Perspex.Controls/Platform/IWindowingPlatform.cs
  4. 2
      src/Perspex.Controls/Platform/PlatformManager.cs
  5. 2
      src/Windows/Perspex.Win32/Win32Platform.cs
  6. 2
      src/iOS/Perspex.iOS/PerspexAppDelegate.cs
  7. 2
      tests/Perspex.Controls.UnitTests/Primitives/WindowingPlatformMock.cs

2
src/Android/Perspex.Android/AndroidPlatform.cs

@ -57,7 +57,7 @@ namespace Perspex.Android
return new WindowImpl(); return new WindowImpl();
} }
public IWindowImpl CreateDesignerFriendlyWindow() public IWindowImpl CreateEmbeddableWindow()
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

2
src/Gtk/Perspex.Gtk/GtkPlatform.cs

@ -90,7 +90,7 @@ namespace Perspex.Gtk
return new WindowImpl(); return new WindowImpl();
} }
public IWindowImpl CreateDesignerFriendlyWindow() public IWindowImpl CreateEmbeddableWindow()
{ {
throw new NotSupportedException(); throw new NotSupportedException();
} }

2
src/Perspex.Controls/Platform/IWindowingPlatform.cs

@ -9,7 +9,7 @@ namespace Perspex.Platform
public interface IWindowingPlatform public interface IWindowingPlatform
{ {
IWindowImpl CreateWindow(); IWindowImpl CreateWindow();
IWindowImpl CreateDesignerFriendlyWindow(); IWindowImpl CreateEmbeddableWindow();
IPopupImpl CreatePopup(); IPopupImpl CreatePopup();
} }
} }

2
src/Perspex.Controls/Platform/PlatformManager.cs

@ -184,7 +184,7 @@ namespace Perspex.Controls.Platform
{ {
var platform = PerspexLocator.Current.GetService<IWindowingPlatform>(); var platform = PerspexLocator.Current.GetService<IWindowingPlatform>();
return return
new WindowDecorator(s_designerMode ? platform.CreateDesignerFriendlyWindow() : platform.CreateWindow()); new WindowDecorator(s_designerMode ? platform.CreateEmbeddableWindow() : platform.CreateWindow());
} }
public static IPopupImpl CreatePopup() public static IPopupImpl CreatePopup()

2
src/Windows/Perspex.Win32/Win32Platform.cs

@ -163,7 +163,7 @@ namespace Perspex.Win32
return new WindowImpl(); return new WindowImpl();
} }
public IWindowImpl CreateDesignerFriendlyWindow() public IWindowImpl CreateEmbeddableWindow()
{ {
return new EmbeddedWindowImpl(); return new EmbeddedWindowImpl();
} }

2
src/iOS/Perspex.iOS/PerspexAppDelegate.cs

@ -61,7 +61,7 @@ namespace Perspex.iOS
return _window; return _window;
} }
public IWindowImpl CreateDesignerFriendlyWindow() public IWindowImpl CreateEmbeddableWindow()
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

2
tests/Perspex.Controls.UnitTests/Primitives/WindowingPlatformMock.cs

@ -20,7 +20,7 @@ namespace Perspex.Controls.UnitTests.Primitives
return _windowImpl?.Invoke() ?? new Mock<IWindowImpl>().Object; return _windowImpl?.Invoke() ?? new Mock<IWindowImpl>().Object;
} }
public IWindowImpl CreateDesignerFriendlyWindow() public IWindowImpl CreateEmbeddableWindow()
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

Loading…
Cancel
Save