Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/10 06:40:15 (14 years ago)
Author:
swagner
Message:

Implemented enabling and disabling of save buttons and menu items to prevent saving of running algorithms (#685)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.cs

    r2917 r2958  
    3636      set { base.Content = value; }
    3737    }
     38    private bool enableFileOperations;
     39    public bool EnableFileOperations {
     40      get { return enableFileOperations; }
     41      protected set {
     42        if (value != enableFileOperations) {
     43          enableFileOperations = value;
     44          OnChanged();
     45        }
     46      }
     47    }
    3848
    3949    /// <summary>
     
    4353      InitializeComponent();
    4454      Caption = "View";
     55      enableFileOperations = true;
    4556    }
    4657    public ItemView(IItem content)
Note: See TracChangeset for help on using the changeset viewer.