Ignore:
Timestamp:
Jan 9, 2009, 8:27:03 PM (13 years ago)
Author:
Timo Eckhardt
Message:

Changed Architecture: Primes/PrimesPlugin.cs implements ITool

Location:
trunk/CrypPlugins/Primes/Primes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Primes/Primes/PrimesPlugin.cs

    r193 r196  
    99namespace Primes
    1010{
    11   [Author("Timo Eckhardt", "timo.eckhardt@cryptool.org", "Uni Siegen", "http://www.uni-siegen.de")]
     11  [Author("Timo Eckhardt", "T-Eckhardt@gmx.de", "Uni Siegen", "http://www.uni-siegen.de")]
    1212  [PluginInfo(false, "Primes", "Primes", "", "Primes/icon.png")]
    1313  public class PrimesPlugin:ITool
     
    2323    public Cryptool.PluginBase.ISettings Settings
    2424    {
    25       get { throw new NotImplementedException(); }
     25      get { return null; }
    2626    }
    2727
  • trunk/CrypPlugins/Primes/Primes/WpfVisualization/PrimesControl.xaml.cs

    r193 r196  
    231231  /// </summary>
    232232
    233   public partial class PrimesControl : UserControl, ITool
     233  public partial class PrimesControl : UserControl
    234234  {
    235235    private IPrimeMethodDivision m_ActualControl = null;
     
    636636    private void FireOnStatusBarProgressbarValueChanged(double val)
    637637    {
    638       if (OnPluginProgressChanged != null) OnPluginProgressChanged(this, new PluginProgressEventArgs(val, 17));
     638      //if (OnPluginProgressChanged != null) OnPluginProgressChanged(this, new PluginProgressEventArgs(val, 17));
    639639    }
    640640
     
    642642    private void FireOnGuiLogNotificationOccured()
    643643    {
    644       if (OnGuiLogNotificationOccured != null) OnGuiLogNotificationOccured(this,new GuiLogEventArgs("",this,NotificationLevel.Info));
     644      //if (OnGuiLogNotificationOccured != null) OnGuiLogNotificationOccured(this,new GuiLogEventArgs("",this,NotificationLevel.Info));
    645645    }
    646646    public UserControl Presentation
     
    729729    private void FirePluginStatusChangedEvent()
    730730    {
    731       if (OnPluginStatusChanged != null) OnPluginStatusChanged(this, new StatusEventArgs(0));
     731      //if (OnPluginStatusChanged != null) OnPluginStatusChanged(this, new StatusEventArgs(0));
    732732    }
    733733
Note: See TracChangeset for help on using the changeset viewer.