Changeset 1666


Ignore:
Timestamp:
Jun 17, 2010, 6:10:10 PM (11 years ago)
Author:
Arno Wacker
Message:

Plugins

  • Removed copy local for CrypPluginBase from P2PEditor, PeerToPeer, PeerToPeerBaseProxy, Soap, VigenereAnalyzer, WebService, WorkspaceManager

CrypPluginBase:

  • Added Utils for diagrams: Initial version for a generic histogram control added (working, but not scaling correctly)

Autocorrelation:

  • Added WPF UserControl for presentation
  • Exemplary added the Histogram from CrypPluginBase to the presentation of autocorrelation (just demo, no functionality)
Location:
trunk
Files:
10 added
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPluginBase/CrypPluginBase.csproj

    r1489 r1666  
    172172    <Compile Include="IO\CryptoolStream.cs" />
    173173    <Compile Include="Properties\AssemblyInfo.cs" />
     174    <Compile Include="Utils\Graphics\Diagrams\Histogram\HistogramChart.xaml.cs">
     175      <DependentUpon>HistogramChart.xaml</DependentUpon>
     176    </Compile>
     177    <Compile Include="Utils\Graphics\Diagrams\Histogram\HistogramDataSource.cs" />
     178    <Compile Include="Utils\Graphics\Diagrams\Histogram\HistogramElement.cs" />
    174179    <Compile Include="Validation\IntegerRule.cs" />
    175180    <Compile Include="Validation\RegExRule.cs" />
     
    205210    </BootstrapperPackage>
    206211  </ItemGroup>
     212  <ItemGroup>
     213    <Page Include="Utils\Graphics\Diagrams\Histogram\HistogramChart.xaml">
     214      <Generator>MSBuild:Compile</Generator>
     215      <SubType>Designer</SubType>
     216    </Page>
     217  </ItemGroup>
    207218  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
    208219  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • trunk/CrypPlugins/AutokorrelationFunction/AutokorrelationFunction.cs

    r1660 r1666  
    3636
    3737        private readonly AutokorrelationFunctionSettings settings = new AutokorrelationFunctionSettings();
     38        private AutocorrelationPresentation presentation = new AutocorrelationPresentation();
    3839
    3940        private String cipher = "";                                     //The cipher to be analysed
     
    9394        public UserControl Presentation
    9495        {
    95             get { return null; }
     96            get { return presentation; }
    9697        }
    9798
    9899        public UserControl QuickWatchPresentation
    99100        {
    100             get { return null; }
     101            get { return presentation; }
    101102        }
    102103
     
    107108        public void Execute()
    108109        {
    109 
     110            // testing
     111            presentation.dingens.SetBackground(Brushes.Red);
     112            presentation.dingens.SetHeadline("Here we go.. much to do!");
     113            // testing-end
    110114//START------------------------------------------------------------------------------------------------------------
    111115//Preparations for the Analyse-------------------------------------------------------------------------------------
  • trunk/CrypPlugins/AutokorrelationFunction/AutokorrelationFunction.csproj

    r1623 r1666  
    8585      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    8686    </Reference>
     87    <Reference Include="System.Drawing" />
     88    <Reference Include="System.Windows.Forms" />
    8789    <Reference Include="System.Xaml" />
    8890    <Reference Include="System.Xml.Linq">
     
    99101  </ItemGroup>
    100102  <ItemGroup>
     103    <Compile Include="AutocorrelationPresentation.xaml.cs">
     104      <DependentUpon>AutocorrelationPresentation.xaml</DependentUpon>
     105    </Compile>
    101106    <Compile Include="AutokorrelationFunction.cs" />
    102107    <Compile Include="AutokorrelationFunctionSettings.cs" />
     
    130135    <Resource Include="icon.png" />
    131136  </ItemGroup>
     137  <ItemGroup>
     138    <Page Include="AutocorrelationPresentation.xaml">
     139      <SubType>Designer</SubType>
     140      <Generator>MSBuild:Compile</Generator>
     141    </Page>
     142  </ItemGroup>
    132143  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    133144  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • trunk/CrypPlugins/P2PEditor/P2PEditor.csproj

    r1639 r1666  
    123123      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    124124      <Name>CrypPluginBase</Name>
     125      <Private>False</Private>
    125126    </ProjectReference>
    126127    <ProjectReference Include="..\PeerToPeer\PeerToPeer.csproj">
  • trunk/CrypPlugins/PeerToPeer/PeerToPeer.csproj

    r1634 r1666  
    116116      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    117117      <Name>CrypPluginBase</Name>
     118      <Private>False</Private>
    118119    </ProjectReference>
    119120  </ItemGroup>
  • trunk/CrypPlugins/PeerToPeerBaseProxy/PeerToPeerBaseProxy.csproj

    r1611 r1666  
    9191      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    9292      <Name>CrypPluginBase</Name>
     93      <Private>False</Private>
    9394    </ProjectReference>
    9495    <ProjectReference Include="..\PeerToPeer\PeerToPeer.csproj">
  • trunk/CrypPlugins/Soap/Soap.csproj

    r1489 r1666  
    178178      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    179179      <Name>CrypPluginBase</Name>
     180      <Private>False</Private>
    180181    </ProjectReference>
    181182  </ItemGroup>
  • trunk/CrypPlugins/VigenereAnalyser/VigenereAnalyser.csproj

    r1487 r1666  
    149149      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    150150      <Name>CrypPluginBase</Name>
     151      <Private>False</Private>
    151152    </ProjectReference>
    152153  </ItemGroup>
  • trunk/CrypPlugins/WebService/WebService.csproj

    r1489 r1666  
    201201      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    202202      <Name>CrypPluginBase</Name>
     203      <Private>False</Private>
    203204    </ProjectReference>
    204205  </ItemGroup>
  • trunk/CrypPlugins/WorkspaceManager/WorkspaceManager.csproj

    r1640 r1666  
    127127      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
    128128      <Name>CrypPluginBase</Name>
     129      <Private>False</Private>
    129130    </ProjectReference>
    130131  </ItemGroup>
Note: See TracChangeset for help on using the changeset viewer.