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:
parent
6e30f63572
commit
f3fad52d6e
2 changed files with 16 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue