using System;
using Net.Eagle0.Eagle.Api;

namespace eagle {
    using ProvinceId = Int32;

    public class RestCommandSelector : CommandSelector {
        public override AvailableCommand.SealedValueOneofCase CommandType =>
                AvailableCommand.SealedValueOneofCase.RestCommand;
        public override string HeaderString => "Rest";
        public override string CommitButtonString => "Commit Rest";

        private RestAvailableCommand RestAvailableCommand => _availableCommand.RestCommand;
        private ProvinceId ActingProvinceId => RestAvailableCommand.ActingProvinceId;

        public override SelectedCommand Command =>
                new SelectedCommand { RestSelectedCommand = new RestSelectedCommand() };

        protected override void SetUpUI() {}
    }
}