mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[227643] Switched to use ILabelUpdate.getColumnIds() instead of IPresentationContext.getColumns().
This commit is contained in:
parent
a6a82b3a2c
commit
8d74f0dc4b
7 changed files with 8 additions and 8 deletions
|
@ -200,7 +200,7 @@ public class StackFramesVMNode extends AbstractDMVMNode
|
|||
* If columns are configured, call the protected methods to
|
||||
* fill in column values.
|
||||
*/
|
||||
String[] localColumns = update.getPresentationContext().getColumns();
|
||||
String[] localColumns = update.getColumnIds();
|
||||
if (localColumns == null) localColumns = new String[] { null };
|
||||
|
||||
for (int i = 0; i < localColumns.length; i++) {
|
||||
|
|
|
@ -109,7 +109,7 @@ public class ModulesVMNode extends AbstractDMVMNode
|
|||
* If columns are configured, call the protected methods to
|
||||
* fill in column values.
|
||||
*/
|
||||
String[] localColumns = update.getPresentationContext().getColumns();
|
||||
String[] localColumns = update.getColumnIds();
|
||||
if (localColumns == null) localColumns = new String[] { null };
|
||||
|
||||
for (int i = 0; i < localColumns.length; i++) {
|
||||
|
|
|
@ -299,7 +299,7 @@ public class RegisterBitFieldVMNode extends AbstractExpressionVMNode
|
|||
* which need data extraction they need to be added in both "for"
|
||||
* loops.
|
||||
*/
|
||||
String[] localColumns = update.getPresentationContext().getColumns();
|
||||
String[] localColumns = update.getColumnIds();
|
||||
if (localColumns == null) localColumns = new String[] { IDebugVMConstants.COLUMN_ID__NAME };
|
||||
|
||||
boolean weAreExtractingFormattedData = false;
|
||||
|
|
|
@ -196,7 +196,7 @@ public class RegisterGroupVMNode extends AbstractExpressionVMNode
|
|||
* If columns are configured, call the protected methods to
|
||||
* fill in column values.
|
||||
*/
|
||||
String[] localColumns = update.getPresentationContext().getColumns();
|
||||
String[] localColumns = update.getColumnIds();
|
||||
if (localColumns == null) localColumns = new String[] { null };
|
||||
|
||||
for (int i = 0; i < localColumns.length; i++) {
|
||||
|
|
|
@ -301,7 +301,7 @@ public class RegisterVMNode extends AbstractExpressionVMNode
|
|||
* which need data extraction they need to be added in both "for"
|
||||
* loops.
|
||||
*/
|
||||
String[] localColumns = update.getPresentationContext().getColumns();
|
||||
String[] localColumns = update.getColumnIds();
|
||||
if (localColumns == null) localColumns = new String[] { IDebugVMConstants.COLUMN_ID__NAME };
|
||||
|
||||
boolean weAreExtractingFormattedData = false;
|
||||
|
|
|
@ -238,7 +238,7 @@ public class VariableVMNode extends AbstractExpressionVMNode
|
|||
* one or more variables at that given instance in time are not evaluatable. They
|
||||
* may be out of scope and will come back into scope later.
|
||||
*/
|
||||
String[] localColumns = update.getPresentationContext().getColumns();
|
||||
String[] localColumns = update.getColumnIds();
|
||||
if (localColumns == null)
|
||||
localColumns = new String[] { IDebugVMConstants.COLUMN_ID__NAME };
|
||||
|
||||
|
@ -266,7 +266,7 @@ public class VariableVMNode extends AbstractExpressionVMNode
|
|||
// processing flag so we know we have further work to do. If there are more columns
|
||||
// which need data extraction they need to be added in both "for" loops.
|
||||
|
||||
String[] localColumns = update.getPresentationContext().getColumns();
|
||||
String[] localColumns = update.getColumnIds();
|
||||
if (localColumns == null)
|
||||
localColumns = new String[] { IDebugVMConstants.COLUMN_ID__NAME };
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ abstract public class AbstractVMNode implements IVMNode {
|
|||
((IChildrenCountUpdate)update).setChildCount(0);
|
||||
} else if (update instanceof ILabelUpdate) {
|
||||
ILabelUpdate labelUpdate = (ILabelUpdate)update;
|
||||
String[] columns = labelUpdate.getPresentationContext().getColumns();
|
||||
String[] columns = labelUpdate.getColumnIds();
|
||||
for (int i = 0; i < (columns != null ? columns.length : 1); i++) {
|
||||
labelUpdate.setLabel("...", i); //$NON-NLS-1$
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue