Files
UVtools/UVtools.Core/Operations/OperationLayerRemove.cs
T
Tiago Conceição 12fc6dae7d Backup layers on operations
When a operation is cancelled affected layers will revert to the original form (#57)
2020-09-12 20:25:44 +01:00

41 lines
1.1 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 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
}
}