Changeset 966 for trunk/CrypPlugins/MD5


Ignore:
Timestamp:
Dec 7, 2009, 11:22:15 PM (12 years ago)
Author:
pretzsch
Message:

o MD5: "Presentable" version of algorithm is now executed if presentation is visible

  • MD5: Removed "Presentation mode" option
Location:
trunk/CrypPlugins/MD5
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/MD5/MD5.cs

    r870 r966  
    143143          if (inputData != null)
    144144          {
    145               if (settings.PresentationMode)
     145              if (Presentation.IsVisible)
    146146              {
    147147                  md5.Initialize(inputData);
  • trunk/CrypPlugins/MD5/MD5Settings.cs

    r863 r966  
    3838        #endregion
    3939
    40 
    41         private bool presentationMode = false;
    42         [TaskPane("Presentation mode", "With presentation mode enabled, results will not be generated ASAP. Instead, the generation steps can be individually traced from the Presentation screen.", null, 0, false, DisplayLevel.Beginner, ControlType.CheckBox, "", null)]
    43         public bool PresentationMode
    44         {
    45             get { return presentationMode; }
    46             set
    47             {
    48                 if (value != presentationMode)
    49                 {
    50                     presentationMode = value;
    51                     hasChanges = true;
    52                     OnPropertyChanged("PresentationMode");
    53                 }
    54             }
    55         }
    56 
    5740        private void OnPropertyChanged(string p)
    5841        {
  • trunk/CrypPlugins/MD5/Presentation/States/UninitializedPresentation.xaml

    r936 r966  
    1010        </UserControl.Resources>
    1111    <Grid>
    12         <TextBlock x:Name="label1" TextWrapping="Wrap" Margin="8,146,8,160" Style="{DynamicResource textBlockStyle}" Text="The algorithm is not yet initialized. Please connect an input stream and start the workspace's process flow. Make sure that the &quot;Presentation Mode&quot; option is selected." TextAlignment="Center"/>
     12        <TextBlock x:Name="label1" TextWrapping="Wrap" Margin="8,146,8,160" Style="{DynamicResource textBlockStyle}" Text="The algorithm is not yet initialized. Please connect an input stream and start the workspace's process flow. Make sure that the presentation is visible when the MD5 plugin is activated." TextAlignment="Center"/>
    1313    </Grid>
    1414</UserControl>
Note: See TracChangeset for help on using the changeset viewer.