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/NLFSR
Files:
2 edited

Legend:

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

    r1132 r2334  
    114114        }
    115115
    116         [PropertyInfo(Direction.InputData, "TapSequence", "TapSequence function in binary presentation.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     116        [PropertyInfo(Direction.InputData, "TapSequence", "TapSequence function in binary presentation.", "", false, false, QuickWatchFormat.Text, null)]
    117117        public String InputTapSequence
    118118        {
     
    128128        }
    129129
    130         [PropertyInfo(Direction.InputData, "Seed", "Seed of the NLFSR in binary presentation.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     130        [PropertyInfo(Direction.InputData, "Seed", "Seed of the NLFSR in binary presentation.", "", false, false, QuickWatchFormat.Text, null)]
    131131        public String InputSeed
    132132        {
     
    142142        }
    143143       
    144         [PropertyInfo(Direction.InputData, "Clock", "Optional clock input. NLFSR only advances if clock is true.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     144        [PropertyInfo(Direction.InputData, "Clock", "Optional clock input. NLFSR only advances if clock is true.", "", false, false, QuickWatchFormat.Text, null)]
    145145        public Boolean InputClockBool
    146146        {
     
    156156        }
    157157
    158         [PropertyInfo(Direction.OutputData, "String Output", "Produces the output bits as a string with length==rounds. Use this output without a clock input.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     158        [PropertyInfo(Direction.OutputData, "String Output", "Produces the output bits as a string with length==rounds. Use this output without a clock input.", "", false, false, QuickWatchFormat.Text, null)]
    159159        public String OutputString
    160160        {
     
    167167        }
    168168
    169         [PropertyInfo(Direction.OutputData, "Boolean Output", "NLFSR Boolean Output. Use this output together with a clock input.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     169        [PropertyInfo(Direction.OutputData, "Boolean Output", "NLFSR Boolean Output. Use this output together with a clock input.", "", false, false, QuickWatchFormat.Text, null)]
    170170        public bool OutputBool
    171171        {
     
    179179
    180180        bool[] outputBoolArray = new bool[1];
    181         [PropertyInfo(Direction.OutputData, "Boolean[] Output", "NLFSR Boolean Output. Use this output together with a clock input.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     181        [PropertyInfo(Direction.OutputData, "Boolean[] Output", "NLFSR Boolean Output. Use this output together with a clock input.", "", false, false, QuickWatchFormat.Text, null)]
    182182        public bool[] OutputBoolArray
    183183        {
     
    190190        }
    191191
    192         [PropertyInfo(Direction.OutputData, "Additional Output Bit", "Additional Output Bit.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     192        [PropertyInfo(Direction.OutputData, "Additional Output Bit", "Additional Output Bit.", "", false, false, QuickWatchFormat.Text, null)]
    193193        public bool OutputClockingBit
    194194        {
  • trunk/CrypPlugins/NLFSR/NLFSRSettings.cs

    r1042 r2334  
    5454        }
    5555
    56         [TaskPane("Draw NLFSR", "Initializes NLFSR and draws the presentation. This is used to view the NLFSR before pressing play.", null, 0, false, DisplayLevel.Beginner, ControlType.Button)]
     56        [TaskPane("Draw NLFSR", "Initializes NLFSR and draws the presentation. This is used to view the NLFSR before pressing play.", null, 0, false, ControlType.Button)]
    5757        public void initNLFSR()
    5858        {
     
    6161       
    6262        private int rounds = 1; //how many bits will be generated
    63         //[ContextMenu("Rounds", "How many bits shall be generated?", 1, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, new int[] { 10, 50, 100 }, "10 bits", "50 bits", "100 bits")]
    64         //[TaskPane("Rounds", "How many bits shall be generated?", null, 1, false, DisplayLevel.Beginner, ControlType.TextBox)]
    65         [TaskPane("Number of rounds", "How many bits shall be generated? Note: This only applies if no boolean clock is used.", null, 2, false, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
     63        //[ContextMenu("Rounds", "How many bits shall be generated?", 1, ContextMenuControlType.ComboBox, new int[] { 10, 50, 100 }, "10 bits", "50 bits", "100 bits")]
     64        //[TaskPane("Rounds", "How many bits shall be generated?", null, 1, false, ControlType.TextBox)]
     65        [TaskPane("Number of rounds", "How many bits shall be generated? Note: This only applies if no boolean clock is used.", null, 2, false, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
    6666        public int Rounds
    6767        {
     
    7575
    7676        string polynomial;
    77         [TaskPane("Feedback function", "Define the feedback function. For example x5 * x2 + 1.", null, 0, false, DisplayLevel.Beginner, ControlType.TextBox)]
     77        [TaskPane("Feedback function", "Define the feedback function. For example x5 * x2 + 1.", null, 0, false, ControlType.TextBox)]
    7878        public string Polynomial
    7979        {
     
    8888
    8989        string seed;
    90         [TaskPane("Seed", "Define the seed of the LFSR. For example 11100", null, 1, false, DisplayLevel.Beginner, ControlType.TextBox)]
     90        [TaskPane("Seed", "Define the seed of the LFSR. For example 11100", null, 1, false, ControlType.TextBox)]
    9191        public string Seed
    9292        {
     
    101101
    102102        private bool noQuickwatch = false;
    103         [ContextMenu("Do not display Quickwatch", "With this checkbox enabled, no quickwatch will be generated for better performance.", 0, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Display Quickwatch?" })]
    104         [TaskPane("Do not display Quickwatch", "With this checkbox enabled, no quickwatch will be generated for better performance.", null, 3, true, DisplayLevel.Beginner, ControlType.CheckBox, "", null)]
     103        [ContextMenu("Do not display Quickwatch", "With this checkbox enabled, no quickwatch will be generated for better performance.", 0, ContextMenuControlType.CheckBox, null, new string[] { "Display Quickwatch?" })]
     104        [TaskPane("Do not display Quickwatch", "With this checkbox enabled, no quickwatch will be generated for better performance.", null, 3, true, ControlType.CheckBox, "", null)]
    105105        public bool NoQuickwatch
    106106        {
     
    115115
    116116        private bool saveCurrentState = false;
    117         [ContextMenu("Save the state of the NLFSR", "With this checkbox enabled, the current state will be restored after opening a .cte.", 0, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Save current state?" })]
    118         [TaskPane("Save the state of the NLFSR", "With this checkbox enabled, the current state will be restored after opening a .cte.", null, 3, true, DisplayLevel.Experienced, ControlType.CheckBox, "", null)]
     117        [ContextMenu("Save the state of the NLFSR", "With this checkbox enabled, the current state will be restored after opening a .cte.", 0, ContextMenuControlType.CheckBox, null, new string[] { "Save current state?" })]
     118        [TaskPane("Save the state of the NLFSR", "With this checkbox enabled, the current state will be restored after opening a .cte.", null, 3, true, ControlType.CheckBox, "", null)]
    119119        public bool SaveCurrentState
    120120        {
     
    129129
    130130        private bool useClockingBit = false;
    131         [ContextMenu("Generate add. output bit", "With this checkbox enabled, the additional output bit will be generated.", 0, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Generate additional output bit?" })]
    132         [TaskPane("Generate add. output bit", "With this checkbox enabled, the additional output bit will be generated.", "Additional Output Bit", 0, false, DisplayLevel.Beginner, ControlType.CheckBox, "", null)]
     131        [ContextMenu("Generate add. output bit", "With this checkbox enabled, the additional output bit will be generated.", 0, ContextMenuControlType.CheckBox, null, new string[] { "Generate additional output bit?" })]
     132        [TaskPane("Generate add. output bit", "With this checkbox enabled, the additional output bit will be generated.", "Additional Output Bit", 0, false, ControlType.CheckBox, "", null)]
    133133        public bool UseClockingBit
    134134        {
     
    147147       
    148148        private int clockingBit = 0;
    149         [TaskPane("Additional output bit #", "Which bit shall be generated as an additional output? For example as an clocking bit.", "Additional Output Bit", 1, false, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
     149        [TaskPane("Additional output bit #", "Which bit shall be generated as an additional output? For example as an clocking bit.", "Additional Output Bit", 1, false, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
    150150        public int ClockingBit
    151151        {
     
    160160
    161161        private bool useBoolClock = false;
    162         [ContextMenu("Use BoolClock", "With this checkbox enabled, BoolClock will be used.", 0, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Use Boolean clock?" })]
    163         [TaskPane("Use BoolClock", "With this checkbox enabled, BoolClock will be used.", "Clock Properties", 0, false, DisplayLevel.Beginner, ControlType.CheckBox, "", null)]
     162        [ContextMenu("Use BoolClock", "With this checkbox enabled, BoolClock will be used.", 0, ContextMenuControlType.CheckBox, null, new string[] { "Use Boolean clock?" })]
     163        [TaskPane("Use BoolClock", "With this checkbox enabled, BoolClock will be used.", "Clock Properties", 0, false, ControlType.CheckBox, "", null)]
    164164        public bool UseBoolClock
    165165        {
     
    178178
    179179        private bool alwaysCreateOutput = false;
    180         [ContextMenu("Always create output", "With this checkbox enabled, an output will be generated, even though the clock is set to false. The output bit will be the bit from the last clock cycle.", 1, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Always generate output?" })]
    181         [TaskPane("Always create output", "With this checkbox enabled, an output will be generated, even though the clock is set to false. The output bit will be the bit from the last clock cycle.", "Clock Properties", 1, false, DisplayLevel.Beginner, ControlType.CheckBox, "", null)]
     180        [ContextMenu("Always create output", "With this checkbox enabled, an output will be generated, even though the clock is set to false. The output bit will be the bit from the last clock cycle.", 1, ContextMenuControlType.CheckBox, null, new string[] { "Always generate output?" })]
     181        [TaskPane("Always create output", "With this checkbox enabled, an output will be generated, even though the clock is set to false. The output bit will be the bit from the last clock cycle.", "Clock Properties", 1, false, ControlType.CheckBox, "", null)]
    182182        public bool AlwaysCreateOutput
    183183        {
Note: See TracChangeset for help on using the changeset viewer.