This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 55074
Collapse All | Expand All

(-)src/org/netbeans/modules/debugger/ui/models/Bundle.properties (+4 lines)
Lines 29-40 Link Here
29
29
30
#Locals View
30
#Locals View
31
CTL_LocalsView_Column_Name_Name = Name
31
CTL_LocalsView_Column_Name_Name = Name
32
CTL_LocalsView_Column_Name_Mnemonic = N
32
CTL_LocalsView_Column_Name_Desc = Name of variable
33
CTL_LocalsView_Column_Name_Desc = Name of variable
33
CTL_LocalsView_Column_ToString_Name = toString()
34
CTL_LocalsView_Column_ToString_Name = toString()
35
CTL_LocalsView_Column_ToString_Mnemonic = S
34
CTL_LocalsView_Column_ToString_Desc = Displays value of toString() call
36
CTL_LocalsView_Column_ToString_Desc = Displays value of toString() call
35
CTL_LocalsView_Column_Type_Name = Type
37
CTL_LocalsView_Column_Type_Name = Type
38
CTL_LocalsView_Column_Type_Mnemonic = T
36
CTL_LocalsView_Column_Type_Desc = Type of variable
39
CTL_LocalsView_Column_Type_Desc = Type of variable
37
CTL_LocalsView_Column_Value_Name = Value
40
CTL_LocalsView_Column_Value_Name = Value
41
CTL_LocalsView_Column_Value_Mnemonic = V
38
CTL_LocalsView_Column_Value_Desc = Value of variable
42
CTL_LocalsView_Column_Value_Desc = Value of variable
39
43
40
#Sessions View
44
#Sessions View
(-)src/org/netbeans/modules/debugger/ui/models/ColumnModels.java (-2 / +42 lines)
Lines 391-396 Link Here
391
        public Class getType () {
391
        public Class getType () {
392
            return null;
392
            return null;
393
        }
393
        }
394
395
        /** 
396
         * Returns mnemonic character for the display name.
397
         *
398
         * @return mnemonic character for the display name.
399
         */
400
        public String getMnemonicsChar() {
401
            return NbBundle.getBundle (LocalsToStringColumn.class).
402
                getString ("CTL_LocalsView_Column_Name_Mnemonic");
403
        }
394
    }
404
    }
395
405
396
    /**
406
    /**
Lines 427-433 Link Here
427
            return NbBundle.getBundle (LocalsToStringColumn.class).
437
            return NbBundle.getBundle (LocalsToStringColumn.class).
428
                getString ("CTL_LocalsView_Column_ToString_Name");
438
                getString ("CTL_LocalsView_Column_ToString_Name");
429
        }
439
        }
430
440
        
431
        /**
441
        /**
432
         * Returns tooltip for given column.
442
         * Returns tooltip for given column.
433
         *
443
         *
Lines 455-460 Link Here
455
        public boolean isVisible () {
465
        public boolean isVisible () {
456
            return properties.getBoolean (getID () + ".visible", false);
466
            return properties.getBoolean (getID () + ".visible", false);
457
        }
467
        }
468
469
        /** 
470
         * Returns mnemonic character for the display name.
471
         *
472
         * @return mnemonic character for the display name.
473
         */
474
        public String getMnemonicsChar() {
475
            return NbBundle.getBundle (LocalsToStringColumn.class).
476
                getString ("CTL_LocalsView_Column_ToString_Mnemonic");
477
        }
458
    }
478
    }
459
479
460
    /**
480
    /**
Lines 519-524 Link Here
519
        public boolean isVisible () {
539
        public boolean isVisible () {
520
            return properties.getBoolean (getID () + ".visible", true);
540
            return properties.getBoolean (getID () + ".visible", true);
521
        }
541
        }
542
543
        /** 
544
         * Returns mnemonic character for the display name.
545
         *
546
         * @return mnemonic character for the display name.
547
         */
548
        public String getMnemonicsChar() {
549
            return NbBundle.getBundle (LocalsToStringColumn.class).
550
                getString ("CTL_LocalsView_Column_Type_Mnemonic");
551
        }
522
    }
552
    }
523
553
524
    /**
554
    /**
Lines 564-570 Link Here
564
            return NbBundle.getBundle (LocalsValueColumn.class).
594
            return NbBundle.getBundle (LocalsValueColumn.class).
565
                getString ("CTL_LocalsView_Column_Value_Name");
595
                getString ("CTL_LocalsView_Column_Value_Name");
566
        }
596
        }
567
597
        
568
        /**
598
        /**
569
         * Returns tooltip for given column.
599
         * Returns tooltip for given column.
570
         *
600
         *
Lines 591-596 Link Here
591
         */
621
         */
592
        public boolean isVisible () {
622
        public boolean isVisible () {
593
            return properties.getBoolean (getID () + ".visible", true);
623
            return properties.getBoolean (getID () + ".visible", true);
624
        }
625
626
        /** 
627
         * Returns mnemonic character for the display name.
628
         *
629
         * @return mnemonic character for the display name.
630
         */
631
        public String getMnemonicsChar() {
632
            return NbBundle.getBundle (LocalsToStringColumn.class).
633
                getString ("CTL_LocalsView_Column_Value_Mnemonic");
594
        }
634
        }
595
    }
635
    }
596
    
636
    
(-)viewmodel/src/org/netbeans/modules/viewmodel/Column.java (+6 lines)
Lines 46-51 Link Here
46
            "ComparableColumnTTV", 
46
            "ComparableColumnTTV", 
47
            Boolean.valueOf (columnModel.isSortable ())
47
            Boolean.valueOf (columnModel.isSortable ())
48
        );
48
        );
49
        
50
        setValue ( 
51
            "ColumnMnemonicCharTTV", 
52
            columnModel.getMnemonicsChar()
53
        );
54
        
49
        if (columnModel.getType () == null)
55
        if (columnModel.getType () == null)
50
            // Default column!
56
            // Default column!
51
            setValue (
57
            setValue (
(-)viewmodel/src/org/netbeans/spi/viewmodel/ColumnModel.java (+9 lines)
Lines 41-46 Link Here
41
     */
41
     */
42
    public abstract String getDisplayName ();
42
    public abstract String getDisplayName ();
43
    
43
    
44
    /** 
45
     * Returns mnemonic character for the display name.
46
     *
47
     * @return mnemonic character for the display name.
48
     */
49
    public String getMnemonicsChar () {
50
        return "";
51
    }
52
    
44
    /**
53
    /**
45
     * Returns type of column items.
54
     * Returns type of column items.
46
     *
55
     *

Return to bug 55074