Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/05/13 16:16:31 (11 years ago)
Author:
jkarder
Message:

#1042: ProgressView overlays are now shown to indicate save operations

Location:
trunk/sources/HeuristicLab.MainForm/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm/3.3/Interfaces/IProgress.cs

    r9456 r9849  
    2828  public interface IProgress : IContent {
    2929    /// <summary>
    30     /// Gets the currently associated status text with the progress.
     30    /// Gets or sets the currently associated status text with the progress.
    3131    /// </summary>
    32     string Status { get; }
     32    string Status { get; set; }
    3333    /// <summary>
    34     /// Gets the currently associated progress value in the range (0;1].
     34    /// Gets or sets the currently associated progress value in the range (0;1].
    3535    ///  Values outside this range are permitted and need to be handled in some feasible manner.
    3636    /// </summary>
    37     double ProgressValue { get; }
     37    double ProgressValue { get; set; }
    3838    /// <summary>
    39     /// Gets the current state of the progress. Every progress starts in state
     39    /// Gets or sets the current state of the progress. Every progress starts in state
    4040    /// Started and then becomes either Canceled or Finished.
    4141    /// If it is reused it may be Started again.
    4242    /// </summary>
    43     ProgressState ProgressState { get; }
     43    ProgressState ProgressState { get; set; }
    4444    /// <summary>
    4545    /// Returns whether the operation can be canceled or not.
     
    5656    /// <param name="timeoutMs">The operation is given a certain timeout to cancel. If the operation doesn't cancel in this time it will be forcibly closed.</param>
    5757    void Cancel(int timeoutMs);
     58    /// <summary>
     59    /// Sets the ProgressValue to 1 and the ProgressState to Finished.
     60    /// </summary>
     61    void Finish();
    5862
    5963    /// <summary>
  • trunk/sources/HeuristicLab.MainForm/3.3/Progress.cs

    r9456 r9849  
    8686    }
    8787
    88     /// <summary>
    89     /// Sets the ProgressValue to 1 and the ProgressState to Finished.
    90     /// </summary>
    9188    public void Finish() {
    9289      if (ProgressValue != 1.0) ProgressValue = 1.0;
Note: See TracChangeset for help on using the changeset viewer.