Added back layer renaming/deleting

Cleaned up VM factories
Surface editor use theme colors
This commit is contained in:
SpoinkyNL committed 2019-12-07 13:00:52 +01:00
1 parent cd8661f75a
commit 12e46f7ee9
14 files changed
+129 -88

No files matched your search

@@ -1,6 +0,0 @@
namespace Artemis.UI.Ninject.Factories
{
public interface IArtemisUIFactory
{
}
}
@@ -1,10 +0,0 @@
using Artemis.Core.Models.Surface;
using Artemis.UI.Screens.Settings.Tabs.Devices;
namespace Artemis.UI.Ninject.Factories
{
public interface IDeviceSettingsViewModelFactory : IArtemisUIFactory
{
DeviceSettingsViewModel Create(ArtemisDevice device);
}
}
@@ -1,10 +0,0 @@
using Artemis.Core.Plugins.Abstract;
using Artemis.UI.Screens.Module;
namespace Artemis.UI.Ninject.Factories
{
public interface IModuleViewModelFactory : IArtemisUIFactory
{
ModuleRootViewModel Create(Module module);
}
}
@@ -1,10 +0,0 @@
using Artemis.Core.Plugins.Abstract;
using Artemis.UI.Screens.Module.ProfileEditor;
namespace Artemis.UI.Ninject.Factories
{
public interface IProfileEditorViewModelFactory : IArtemisUIFactory
{
ProfileEditorViewModel Create(ProfileModule module);
}
}
@@ -0,0 +1,40 @@
using Artemis.Core.Models.Profile.Abstract;
using Artemis.Core.Models.Surface;
using Artemis.Core.Plugins.Abstract;
using Artemis.UI.Screens.Module;
using Artemis.UI.Screens.Module.ProfileEditor;
using Artemis.UI.Screens.Module.ProfileEditor.ProfileTree.TreeItem;
using Artemis.UI.Screens.Settings.Tabs.Devices;
namespace Artemis.UI.Ninject.Factories
{
public interface IViewModelFactory
{
}
public interface IModuleViewModelFactory : IViewModelFactory
{
ModuleRootViewModel Create(Module module);
}
public interface IDeviceSettingsViewModelFactory : IViewModelFactory
{
DeviceSettingsViewModel Create(ArtemisDevice device);
}
public interface IProfileEditorViewModelFactory : IViewModelFactory
{
ProfileEditorViewModel Create(ProfileModule module);
}
public interface IFolderViewModelFactory : IViewModelFactory
{
FolderViewModel Create(ProfileElement folder);
FolderViewModel Create(TreeItemViewModel parent, ProfileElement folder);
}
public interface ILayerViewModelFactory : IViewModelFactory
{
LayerViewModel Create(TreeItemViewModel parent, ProfileElement folder);
}
}