Files
UVtools/UVtools.Core/Operations/OperationLayerRemove.cs
T
Tiago Conceição 3ec6472706 WPF Progress
2020-09-26 03:52:57 +01:00

43 lines
1.3 KiB
C#

/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
using System.Text;
namespace UVtools.Core.Operations
{
public sealed class OperationLayerRemove : Operation
{
#region Overrides
public override Enumerations.LayerRangeSelection LayerRangeSelection => Enumerations.LayerRangeSelection.Current;
public override bool CanROI { get; set; } = false;
public override bool PassActualLayerIndex => true;
public override string Title => "Remove layers";
public override string Description =>
"Remove Layers in a given range.";
public override string ConfirmationText =>
$"remove layers {LayerIndexStart} through {LayerIndexEnd}?";
public override string ProgressTitle =>
$"Removing layers {LayerIndexStart} through {LayerIndexEnd}";
public override string ProgressAction => "Removed layers";
public override bool CanCancel => false;
#endregion
#region Properties
#endregion
}
}