Ignore:
Timestamp:
Aug 9, 2010, 10:33:44 PM (11 years ago)
Author:
kopal
Message:
  • Plugins without Presentation now can not be maximized
  • Enum Settings will be saved/loaded correctly now
  • Change of Settings (which have a PropertyChangedEvent) will cause editor to have "hasChanges"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Model/PluginModel.cs

    r1790 r1791  
    2828using Cryptool.PluginBase.IO;
    2929using System.Reflection;
     30using System.ComponentModel;
    3031
    3132namespace WorkspaceManager.Model
     
    372373        }
    373374
     375        /// <summary>
     376        /// Called if a Setting of a Plugin is changed and notifies the Editor that
     377        /// there is a change
     378        /// </summary>
     379        /// <param name="sender"></param>
     380        /// <param name="propertyChangedEventArgs"></param>
     381        public void SettingsPropertyChanged(Object sender, PropertyChangedEventArgs propertyChangedEventArgs)
     382        {
     383            this.WorkspaceModel.WorkspaceManagerEditor.HasChanges = true;
     384        }
     385
    374386        #endregion
    375387    }
Note: See TracChangeset for help on using the changeset viewer.