1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

addressed backward compatibility issues

This commit is contained in:
David Dubrow 2010-03-15 18:45:23 +00:00
parent 6e30f63572
commit f3fad52d6e
2 changed files with 16 additions and 12 deletions

View file

@ -376,6 +376,10 @@ 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;
@ -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

View file

@ -117,21 +117,21 @@ public interface IFormattedValues extends IDsfService {
private String fEditableValue;
public FormattedValueDMData(String value) {
fValue = value;
fEditableValue = value;
}
public String getFormattedValue() {
return fValue;
this(value, value);
}
/**
* @since 2.1
*/
public void setEditableValue(String editableValue) {
public FormattedValueDMData(String value, String editableValue) {
fValue = value;
fEditableValue = editableValue;
}
public String getFormattedValue() {
return fValue;
}
/**
* @since 2.1
*/