using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core.Commands;
namespace Tango.Editors
{
///
/// Represents a component which supports Undo/Redo operations.
///
public interface ISupportUndoRedoOperations
{
///
/// Gets or sets a value indicating whether to enable undo and redo operations using the keyboard.
///
bool EnableKeyboardUndoRedoOperations { get; set; }
///
/// Gets or sets the undo redo states provider instance.
///
IUndoRedoStatesProvider UndoRedoStatesProvider { get; set; }
///
/// Performs undo operation.
///
void Undo();
///
/// Redoes the last undo operation.
///
void Redo();
///
/// Invokes the method.
///
RelayCommand UndoCommand { get; set; }
///
/// Invokes the method.
///
RelayCommand RedoCommand { get; set; }
}
}