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

Legend:

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

    r1042 r2334  
    131131        }
    132132
    133         [PropertyInfo(Direction.InputData, "TapSequence", "TapSequence function in binary presentation.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     133        [PropertyInfo(Direction.InputData, "TapSequence", "TapSequence function in binary presentation.", "", false, false, QuickWatchFormat.Text, null)]
    134134        public String InputTapSequence
    135135        {
     
    145145        }
    146146
    147         [PropertyInfo(Direction.InputData, "Seed", "Seed of the LFSR in binary presentation.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     147        [PropertyInfo(Direction.InputData, "Seed", "Seed of the LFSR in binary presentation.", "", false, false, QuickWatchFormat.Text, null)]
    148148        public String InputSeed
    149149        {
     
    159159        }
    160160
    161         [PropertyInfo(Direction.InputData, "Clock", "Optional clock input. LFSR only advances if clock is true.", "", false, true, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     161        [PropertyInfo(Direction.InputData, "Clock", "Optional clock input. LFSR only advances if clock is true.", "", false, true, QuickWatchFormat.Text, null)]
    162162        public Boolean InputClockBool
    163163        {
     
    173173        }
    174174
    175         [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)]
     175        [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)]
    176176        public String OutputString
    177177        {
     
    184184        }
    185185
    186         [PropertyInfo(Direction.OutputData, "Boolean Output", "LFSR Boolean Output. Use this output together with a clock input.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     186        [PropertyInfo(Direction.OutputData, "Boolean Output", "LFSR Boolean Output. Use this output together with a clock input.", "", false, false, QuickWatchFormat.Text, null)]
    187187        public bool OutputBool
    188188        {
     
    195195        }
    196196
    197         [PropertyInfo(Direction.OutputData, "Additional Output Bit", "Additional Output Bit.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     197        [PropertyInfo(Direction.OutputData, "Additional Output Bit", "Additional Output Bit.", "", false, false, QuickWatchFormat.Text, null)]
    198198        public bool OutputClockingBit
    199199        {
     
    206206        }
    207207
    208         [PropertyInfo(Direction.OutputData, "Boolean Array Output of Stages", "LFSR Boolean Array Output of all Stages.", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     208        [PropertyInfo(Direction.OutputData, "Boolean Array Output of Stages", "LFSR Boolean Array Output of all Stages.", "", false, false, QuickWatchFormat.Text, null)]
    209209        public bool[] OutputBoolArray
    210210        {
  • trunk/CrypPlugins/LFSR/LFSRSettings.cs

    r1042 r2334  
    5555        private bool hasChanges = false;
    5656
    57         [TaskPane("Draw LFSR", "Initializes LFSR and draws the presentation. This is used to view the LFSR before pressing play.", null, 0, false, DisplayLevel.Beginner, ControlType.Button)]
     57        [TaskPane("Draw LFSR", "Initializes LFSR and draws the presentation. This is used to view the LFSR before pressing play.", null, 0, false, ControlType.Button)]
    5858        public void initLFSR()
    5959        {
     
    6262       
    6363        private int rounds = 1; //how many bits will be generated
    64         //[ContextMenu("Rounds", "How many bits shall be generated?", 1, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, new int[] { 10, 50, 100 }, "10 bits", "50 bits", "100 bits")]
    65         //[TaskPane("Rounds", "How many bits shall be generated?", null, 1, false, DisplayLevel.Beginner, ControlType.TextBox)]
    66         [TaskPane("Number of rounds", "How many bits shall be generated? Note: This only applies if no external clock is used.", null, 3, false, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
     64        //[ContextMenu("Rounds", "How many bits shall be generated?", 1, ContextMenuControlType.ComboBox, new int[] { 10, 50, 100 }, "10 bits", "50 bits", "100 bits")]
     65        //[TaskPane("Rounds", "How many bits shall be generated?", null, 1, false, ControlType.TextBox)]
     66        [TaskPane("Number of rounds", "How many bits shall be generated? Note: This only applies if no external clock is used.", null, 3, false, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
    6767        public int Rounds
    6868        {
     
    7676
    7777        string polynomial;
    78         [TaskPane("Feedback polynomial", "Define the feedback polynomial either in a textual or a numeric way. For example x^5 + x^2 + 1 which is equal to 10010.", null, 0, false, DisplayLevel.Beginner, ControlType.TextBox)]
     78        [TaskPane("Feedback polynomial", "Define the feedback polynomial either in a textual or a numeric way. For example x^5 + x^2 + 1 which is equal to 10010.", null, 0, false, ControlType.TextBox)]
    7979        public string Polynomial
    8080        {
     
    8989       
    9090        string seed;
    91         [TaskPane("Seed", "Define the seed (initial state) of the LFSR. For example 11100", null, 1, false, DisplayLevel.Beginner, ControlType.TextBox)]
     91        [TaskPane("Seed", "Define the seed (initial state) of the LFSR. For example 11100", null, 1, false, ControlType.TextBox)]
    9292        public string Seed
    9393        {
     
    102102
    103103        string period;
    104         [TaskPane("Period", "The computed period of the LFSR", null, 2, false, DisplayLevel.Beginner, ControlType.TextBoxReadOnly)]
     104        [TaskPane("Period", "The computed period of the LFSR", null, 2, false, ControlType.TextBoxReadOnly)]
    105105        public string Period
    106106        {
     
    114114
    115115        private bool noQuickwatch = false;
    116         [ContextMenu("Do not display Quickwatch", "With this checkbox enabled, no quickwatch will be generated for a better performance.", 0, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Display Quickwatch?" })]
    117         [TaskPane("Do not display Quickwatch", "With this checkbox enabled, no quickwatch will be generated for a better performance.", null, 3, true, DisplayLevel.Experienced, ControlType.CheckBox, "", null)]
     116        [ContextMenu("Do not display Quickwatch", "With this checkbox enabled, no quickwatch will be generated for a better performance.", 0, ContextMenuControlType.CheckBox, null, new string[] { "Display Quickwatch?" })]
     117        [TaskPane("Do not display Quickwatch", "With this checkbox enabled, no quickwatch will be generated for a better performance.", null, 3, true, ControlType.CheckBox, "", null)]
    118118        public bool NoQuickwatch
    119119        {
     
    128128
    129129        private bool saveCurrentState = false;
    130         [ContextMenu("Save the state of the LFSR", "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?" })]
    131         [TaskPane("Save the state of the LFSR", "With this checkbox enabled, the current state will be restored after opening a .cte.", null, 3, true, DisplayLevel.Experienced, ControlType.CheckBox, "", null)]
     130        [ContextMenu("Save the state of the LFSR", "With this checkbox enabled, the current state will be restored after opening a .cte.", 0, ContextMenuControlType.CheckBox, null, new string[] { "Save current state?" })]
     131        [TaskPane("Save the state of the LFSR", "With this checkbox enabled, the current state will be restored after opening a .cte.", null, 3, true, ControlType.CheckBox, "", null)]
    132132        public bool SaveCurrentState
    133133        {
     
    142142
    143143        private bool outputStages = false;
    144         [ContextMenu("Output stages", "With this checkbox enabled, the current state will be output.", 0, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Save current state?" })]
    145         [TaskPane("Output stages", "With this checkbox enabled, the current state will be output.", null, 4, true, DisplayLevel.Experienced, ControlType.CheckBox, "", null)]
     144        [ContextMenu("Output stages", "With this checkbox enabled, the current state will be output.", 0, ContextMenuControlType.CheckBox, null, new string[] { "Save current state?" })]
     145        [TaskPane("Output stages", "With this checkbox enabled, the current state will be output.", null, 4, true, ControlType.CheckBox, "", null)]
    146146        public bool OutputStages
    147147        {
     
    156156
    157157        private bool useAdditionalOutputBit = false;
    158         [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?" })]
    159         [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)]
     158        [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?" })]
     159        [TaskPane("Generate add. output bit", "With this checkbox enabled, the additional output bit will be generated.", "Additional Output Bit", 0, false, ControlType.CheckBox, "", null)]
    160160        public bool UseAdditionalOutputBit
    161161        {
     
    174174
    175175        private int clockingBit = 0;
    176         [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)]
     176        [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)]
    177177        public int ClockingBit
    178178        {
     
    187187
    188188        private bool useBoolClock = false;
    189         [ContextMenu("Use external clock", "With this checkbox enabled, an external clock will be used.", 0, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Use external clock?" })]
    190         [TaskPane("Use external clock", "With this checkbox enabled, an external clock will be used (i.e. the CLK-Plugin)", "Clock Properties", 0, false, DisplayLevel.Beginner, ControlType.CheckBox, "", null)]
     189        [ContextMenu("Use external clock", "With this checkbox enabled, an external clock will be used.", 0, ContextMenuControlType.CheckBox, null, new string[] { "Use external clock?" })]
     190        [TaskPane("Use external clock", "With this checkbox enabled, an external clock will be used (i.e. the CLK-Plugin)", "Clock Properties", 0, false, ControlType.CheckBox, "", null)]
    191191        public bool UseBoolClock
    192192        {
     
    205205
    206206        private bool alwaysCreateOutput = false;
    207         [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?" })]
    208         [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)]
     207        [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?" })]
     208        [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)]
    209209        public bool AlwaysCreateOutput
    210210        {
     
    259259        /* SettingChanged(MEM_USAGE_PROPERTY, Visibility.Visible);
    260260        SettingChanged(BUTTON_MEM_USAGE_PROPERTY, Visibility.Visible, new TaskPaneAttribute(Properties.Visuals.settingMemUsageOff,
    261             Properties.Visuals.settingMemUsageOff_ToolTip, Properties.Visuals.settingGroupMisc, 5, false, DisplayLevel.Beginner, ControlType.Button));
     261            Properties.Visuals.settingMemUsageOff_ToolTip, Properties.Visuals.settingGroupMisc, 5, false, ControlType.Button));
    262262         */
    263263
Note: See TracChangeset for help on using the changeset viewer.