using Artemis.Core.Models.Profile; using Artemis.Core.Services.Interfaces; using Artemis.UI.Ninject.Factories; using Artemis.UI.Shared.Services.Interfaces; namespace Artemis.UI.Screens.ProfileEditor.ProfileTree.TreeItem { public class LayerViewModel : TreeItemViewModel { public LayerViewModel(TreeItemViewModel parent, ProfileElement folder, IProfileEditorService profileEditorService, IDialogService dialogService, IRenderElementService renderElementService, IFolderVmFactory folderVmFactory, ILayerVmFactory layerVmFactory) : base(parent, folder, profileEditorService, dialogService, renderElementService, folderVmFactory, layerVmFactory) { } public Layer Layer => ProfileElement as Layer; public bool ShowIcons => Layer?.LayerBrush != null; public override bool SupportsChildren => false; } }