Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Dubrow2010-03-15 18:45:23 +0000
committerDavid Dubrow2010-03-15 18:45:23 +0000
commitf3fad52d6e80d35dbcc124456445ff826eb74bed (patch)
tree27e82c13e03698fe662866ae5b9c0de0848b1507 /dsf/org.eclipse.cdt.dsf.ui
parent6e30f635727cf518932df0243f755d9bdc7b96b9 (diff)
downloadorg.eclipse.cdt-f3fad52d6e80d35dbcc124456445ff826eb74bed.tar.gz
org.eclipse.cdt-f3fad52d6e80d35dbcc124456445ff826eb74bed.tar.xz
org.eclipse.cdt-f3fad52d6e80d35dbcc124456445ff826eb74bed.zip
addressed backward compatibility issues
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf.ui')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java
index 049af3a6756..7238b2a2e44 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/SyncVariableDataAccess.java
@@ -376,11 +376,15 @@ public class SyncVariableDataAccess {
private String fFormatId;
private boolean fEditable;
+ public GetFormattedValueValueQuery(IFormattedDataDMContext dmc, String formatId) {
+ this(dmc, formatId, false);
+ }
+
public GetFormattedValueValueQuery(IFormattedDataDMContext dmc, String formatId, boolean editable) {
- super();
- fDmc = dmc;
- fFormatId = formatId;
- fEditable = editable;
+ super();
+ fDmc = dmc;
+ fFormatId = formatId;
+ fEditable = editable;
}
@Override
@@ -430,7 +434,7 @@ public class SyncVariableDataAccess {
return getValue(element, formatId, true);
}
- public String getValue(Object element, String formatId, boolean editable) {
+ private String getValue(Object element, String formatId, boolean editable) {
/*
* Get the DMC and the session. If element is not an register DMC, or

Back to the top