Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 305365 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/cdt/dsf/debug/service/IFormattedValues.java (-2 / +9 lines)
Lines 117-124 Link Here
117
        private String fEditableValue;
117
        private String fEditableValue;
118
        
118
        
119
        public FormattedValueDMData(String value) {
119
        public FormattedValueDMData(String value) {
120
            fValue = value;
120
        	this(value, value);
121
            fEditableValue = value;
121
        }
122
        
123
        /**
124
		 * @since 2.1
125
		 */
126
        public FormattedValueDMData(String value, String editableValue) {
127
        	fValue = value;
128
        	fEditableValue = editableValue;
122
        }
129
        }
123
        
130
        
124
        public String getFormattedValue() {
131
        public String getFormattedValue() {
(-)src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java (-5 / +9 lines)
Lines 376-386 Link Here
376
        private String fFormatId;
376
        private String fFormatId;
377
        private boolean fEditable;
377
        private boolean fEditable;
378
378
379
        public GetFormattedValueValueQuery(IFormattedDataDMContext dmc, String formatId) {
380
        	this(dmc, formatId, false);
381
        }
382
379
        public GetFormattedValueValueQuery(IFormattedDataDMContext dmc, String formatId, boolean editable) {
383
        public GetFormattedValueValueQuery(IFormattedDataDMContext dmc, String formatId, boolean editable) {
380
            super();
384
        	super();
381
            fDmc = dmc;
385
        	fDmc = dmc;
382
            fFormatId = formatId;
386
        	fFormatId = formatId;
383
            fEditable = editable;
387
        	fEditable = editable;
384
        }
388
        }
385
389
386
        @Override
390
        @Override
Lines 430-436 Link Here
430
    	return getValue(element, formatId, true);
434
    	return getValue(element, formatId, true);
431
    }
435
    }
432
    
436
    
433
    public String getValue(Object element, String formatId, boolean editable) {
437
    private String getValue(Object element, String formatId, boolean editable) {
434
438
435
        /*
439
        /*
436
         * Get the DMC and the session. If element is not an register DMC, or
440
         * Get the DMC and the session. If element is not an register DMC, or

Return to bug 305365