Ignore:
Timestamp:
Jan 14, 2011, 12:03:33 AM (11 years ago)
Author:
Matthäus Wander
Message:

removed 1006 occurences of DisplayLevel in 218 files (see #122)

Location:
trunk/CrypPlugins/Substitution
Files:
2 edited

Legend:

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

    r2062 r2334  
    6464        }
    6565
    66         [PropertyInfo(Direction.OutputData, "Stream output","The string after processing with the Substitution cipher is converted to a stream. Default encoding is used.", null, true, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     66        [PropertyInfo(Direction.OutputData, "Stream output","The string after processing with the Substitution cipher is converted to a stream. Default encoding is used.", null, true, false, QuickWatchFormat.Text, null)]
    6767        public CryptoolStream OutputData
    6868        {
     
    8484        }
    8585
    86         [PropertyInfo(Direction.InputData, "Text input","Input a string to be processed by the Substitution cipher", null, true, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     86        [PropertyInfo(Direction.InputData, "Text input","Input a string to be processed by the Substitution cipher", null, true, false, QuickWatchFormat.Text, null)]
    8787        public string InputString
    8888        {
     
    9898        }
    9999
    100         [PropertyInfo(Direction.OutputData, "Text output", "The string after processing with the Substitution cipher", null, true, false, DisplayLevel.Beginner,QuickWatchFormat.Text, null)]
     100        [PropertyInfo(Direction.OutputData, "Text output", "The string after processing with the Substitution cipher", null, true, false,QuickWatchFormat.Text, null)]
    101101        public string OutputString
    102102        {
     
    109109        }
    110110
    111         [PropertyInfo(Direction.InputData, "Plaintext Alphabet","Input a string containing the plaintext-alphabet which should be used by Substitution.\nIf no alphabet is provided on the input, the internal alphabet will be used.", null, false, false, DisplayLevel.Expert, QuickWatchFormat.Text, null)]
     111        [PropertyInfo(Direction.InputData, "Plaintext Alphabet","Input a string containing the plaintext-alphabet which should be used by Substitution.\nIf no alphabet is provided on the input, the internal alphabet will be used.", null, false, false, QuickWatchFormat.Text, null)]
    112112        public string InputAlphabet
    113113        {
     
    123123        }
    124124
    125         [PropertyInfo(Direction.InputData, "Key (or substitution/cipher alphabet)","Same setting as key value in settings. \nIf you use a key shorter than the plaintext-alphabet, \nthe remaining characters of the cipher-alphabet will be filled up \naccording to the setting in the plug-ins settings pane. \nIf your key has the same length as the plaintext-alphabet, \nyou can perform the most general monoalphabetic substitution.", null, false, false,DisplayLevel.Expert, QuickWatchFormat.Text, null)]
     125        [PropertyInfo(Direction.InputData, "Key (or substitution/cipher alphabet)","Same setting as key value in settings. \nIf you use a key shorter than the plaintext-alphabet, \nthe remaining characters of the cipher-alphabet will be filled up \naccording to the setting in the plug-ins settings pane. \nIf your key has the same length as the plaintext-alphabet, \nyou can perform the most general monoalphabetic substitution.", null, false, false, QuickWatchFormat.Text, null)]
    126126        public string KeyValue
    127127        {
  • trunk/CrypPlugins/Substitution/SubstitutionSettings.cs

    r2062 r2334  
    191191
    192192        [PropertySaveOrder(2)]
    193         [ContextMenu("Action","Select the Algorithm action", 1, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, new int[] {1,2}, "Encrypt","Decrypt")]
    194         [TaskPane("Action", "Select the Algorithm action", null, 1, false, DisplayLevel.Beginner, ControlType.ComboBox, new string[] {"Encrypt","Decrypt"})]
     193        [ContextMenu("Action","Select the Algorithm action", 1, ContextMenuControlType.ComboBox, new int[] {1,2}, "Encrypt","Decrypt")]
     194        [TaskPane("Action", "Select the Algorithm action", null, 1, false, ControlType.ComboBox, new string[] {"Encrypt","Decrypt"})]
    195195        public int Action
    196196        {
     
    205205
    206206        [PropertySaveOrder(3)]
    207         [TaskPane("Key value (multiple letter)", "Enter one or multiple letters as the key.", null, 2, false, DisplayLevel.Experienced, ControlType.TextBox,"",null)]
     207        [TaskPane("Key value (multiple letter)", "Enter one or multiple letters as the key.", null, 2, false, ControlType.TextBox,"",null)]
    208208        public string KeyValue
    209209        {
     
    220220
    221221        [PropertySaveOrder(4)]
    222         [ContextMenu("Unknown symbol handling","What should be done with ecountered characters at the input which are not in the alphabet?",3,DisplayLevel.Expert,ContextMenuControlType.ComboBox, null, new string[] {"Ignore (leave unmodified)", "Remove","Replace with \'?\'"})]
    223         [TaskPane("Unknown symbol handling", "What should be done with ecountered characters at the input which are not in the alphabet?", null, 3, false, DisplayLevel.Expert, ControlType.ComboBox, new string[] {"Ignore (leave unmodified)", "Remove","Replace with \'?\'"})]
     222        [ContextMenu("Unknown symbol handling","What should be done with ecountered characters at the input which are not in the alphabet?",3,ContextMenuControlType.ComboBox, null, new string[] {"Ignore (leave unmodified)", "Remove","Replace with \'?\'"})]
     223        [TaskPane("Unknown symbol handling", "What should be done with ecountered characters at the input which are not in the alphabet?", null, 3, false, ControlType.ComboBox, new string[] {"Ignore (leave unmodified)", "Remove","Replace with \'?\'"})]
    224224        public int UnknownSymbolHandling
    225225        {
     
    234234
    235235        [PropertySaveOrder(5)]
    236         [ContextMenu("Alphabet case sensitivity","Should upper and lower case be treated differently? (Should a == A)",4,DisplayLevel.Expert, ContextMenuControlType.ComboBox,null, new string[] {"Case insensitive","Case sensitive"})]
    237         [TaskPane("Alphabet case sensitivity","Should upper and lower case be treated differently? (Should a == A)", null, 4, false, DisplayLevel.Expert, ControlType.ComboBox, new string[] {"Case insensitive","Case sensitive"})]
     236        [ContextMenu("Alphabet case sensitivity","Should upper and lower case be treated differently? (Should a == A)",4, ContextMenuControlType.ComboBox,null, new string[] {"Case insensitive","Case sensitive"})]
     237        [TaskPane("Alphabet case sensitivity","Should upper and lower case be treated differently? (Should a == A)", null, 4, false, ControlType.ComboBox, new string[] {"Case insensitive","Case sensitive"})]
    238238        public int AlphabetCase
    239239        {
     
    278278
    279279        [PropertySaveOrder(6)]
    280         [ContextMenu("Key variant","Select the key variant for the cipher alphabet",5,DisplayLevel.Expert,ContextMenuControlType.ComboBox,null,new string[] {"Remaining characters are filled in ascending order","Remaining characters are filld in descending order","Atbash (the encryption is using a fixed key)"})]
    281         [TaskPane("Key variant","Select the key variant for the cipher alphabet", null, 5, false, DisplayLevel.Expert, ControlType.ComboBox,new string[] {"Remaining characters are filled in ascending order","Remaining characters are in descending order","Atbash (the encryption is using a fixed key)"})]
     280        [ContextMenu("Key variant","Select the key variant for the cipher alphabet",5,ContextMenuControlType.ComboBox,null,new string[] {"Remaining characters are filled in ascending order","Remaining characters are filld in descending order","Atbash (the encryption is using a fixed key)"})]
     281        [TaskPane("Key variant","Select the key variant for the cipher alphabet", null, 5, false, ControlType.ComboBox,new string[] {"Remaining characters are filled in ascending order","Remaining characters are in descending order","Atbash (the encryption is using a fixed key)"})]
    282282        public int KeyVariant
    283283        {
     
    293293
    294294        [PropertySaveOrder(7)]
    295         [TaskPane("Alphabet","This is the used alphabet.", null, 5, false, DisplayLevel.Expert,ControlType.TextBox,"")]
     295        [TaskPane("Alphabet","This is the used alphabet.", null, 5, false,ControlType.TextBox,"")]
    296296        public string AlphabetSymbols
    297297        {
     
    316316
    317317        [PropertySaveOrder(8)]
    318         [TaskPane("Cipher alphabet", "This is the used cipher alphabet.", null, 6, false, DisplayLevel.Expert, ControlType.TextBox, "")]
     318        [TaskPane("Cipher alphabet", "This is the used cipher alphabet.", null, 6, false, ControlType.TextBox, "")]
    319319        public string CipherAlphabet
    320320        {
Note: See TracChangeset for help on using the changeset viewer.