Ignore:
Timestamp:
Apr 13, 2009, 8:27:58 PM (13 years ago)
Author:
Thomas Schmid
Message:
  • some refactoring: accessing TaskPaneAttribute now via extension method => globalization can be centralized in the properties of the attributes
  • addded TaskPaneAttribute example to Caesar
Location:
trunk/CrypPlugins/Caesar
Files:
3 edited

Legend:

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

    r282 r287  
    5252
    5353
    54         [PropertyInfo("Cryptool.Caesar.Resources.res", Direction.Output, "propStreamOutputToolTip", "propStreamOutputDescription", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     54        [PropertyInfo(Direction.Output, "propStreamOutputToolTip", "propStreamOutputDescription", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
    5555        public CryptoolStream OutputData
    5656        {
  • trunk/CrypPlugins/Caesar/CaesarSettings.cs

    r224 r287  
    166166        [PropertySaveOrder(4)]
    167167        [ContextMenu("Action", "Select the Algorithm action", 1, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, new int[] { 1, 2 }, "Encrypt", "Decrypt")]
    168         [TaskPane("Action", "Select the Algorithm action", null, 1, false, DisplayLevel.Beginner, ControlType.ComboBox, new string[] { "Encrypt", "Decrypt" })]
     168        [TaskPane("Action", "setAlgorithmActionDescription", null, 1, false, DisplayLevel.Beginner, ControlType.ComboBox, new string[] { "Encrypt", "Decrypt" })]
    169169        public int Action
    170170        {
  • trunk/CrypPlugins/Caesar/Resources/res.resx

    r282 r287  
    130130    <value>Stream output</value>
    131131  </data>
     132  <data name="setAlgorithmActionDescription" xml:space="preserve">
     133    <value>Select the Algorithm action</value>
     134  </data>
    132135</root>
Note: See TracChangeset for help on using the changeset viewer.