mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[212839] Added "Type" column to the registers view.
This commit is contained in:
parent
8bced60c03
commit
31d07ac3cc
3 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,8 @@ public class MessagesForRegisterVM extends NLS {
|
||||||
|
|
||||||
public static String RegisterColumnPresentation_name;
|
public static String RegisterColumnPresentation_name;
|
||||||
|
|
||||||
|
public static String RegisterColumnPresentation_type;
|
||||||
|
|
||||||
public static String RegisterColumnPresentation_value;
|
public static String RegisterColumnPresentation_value;
|
||||||
static {
|
static {
|
||||||
// initialize resource bundle
|
// initialize resource bundle
|
||||||
|
|
|
@ -32,13 +32,15 @@ public class RegisterColumnPresentation implements IColumnPresentation {
|
||||||
|
|
||||||
// @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnPresentation#getAvailableColumns()
|
// @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnPresentation#getAvailableColumns()
|
||||||
public String[] getAvailableColumns() {
|
public String[] getAvailableColumns() {
|
||||||
return new String[] { IDebugVMConstants.COLUMN_ID__NAME, IDebugVMConstants.COLUMN_ID__VALUE, IDebugVMConstants.COLUMN_ID__DESCRIPTION, };
|
return new String[] { IDebugVMConstants.COLUMN_ID__NAME, IDebugVMConstants.COLUMN_ID__TYPE, IDebugVMConstants.COLUMN_ID__VALUE, IDebugVMConstants.COLUMN_ID__DESCRIPTION, };
|
||||||
}
|
}
|
||||||
|
|
||||||
// @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnPresentation#getHeader(java.lang.String)
|
// @see org.eclipse.debug.internal.ui.viewers.provisional.IColumnPresentation#getHeader(java.lang.String)
|
||||||
public String getHeader(String id) {
|
public String getHeader(String id) {
|
||||||
if (IDebugVMConstants.COLUMN_ID__NAME.equals(id)) {
|
if (IDebugVMConstants.COLUMN_ID__NAME.equals(id)) {
|
||||||
return MessagesForRegisterVM.RegisterColumnPresentation_name;
|
return MessagesForRegisterVM.RegisterColumnPresentation_name;
|
||||||
|
} else if (IDebugVMConstants.COLUMN_ID__TYPE.equals(id)) {
|
||||||
|
return MessagesForRegisterVM.RegisterColumnPresentation_type;
|
||||||
} else if (IDebugVMConstants.COLUMN_ID__VALUE.equals(id)) {
|
} else if (IDebugVMConstants.COLUMN_ID__VALUE.equals(id)) {
|
||||||
return MessagesForRegisterVM.RegisterColumnPresentation_value;
|
return MessagesForRegisterVM.RegisterColumnPresentation_value;
|
||||||
} else if (IDebugVMConstants.COLUMN_ID__DESCRIPTION.equals(id)) {
|
} else if (IDebugVMConstants.COLUMN_ID__DESCRIPTION.equals(id)) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
RegisterColumnPresentation_name=Name
|
RegisterColumnPresentation_name=Name
|
||||||
|
RegisterColumnPresentation_type=Type
|
||||||
RegisterColumnPresentation_value=Value
|
RegisterColumnPresentation_value=Value
|
||||||
RegisterColumnPresentation_description=Description
|
RegisterColumnPresentation_description=Description
|
||||||
|
|
Loading…
Add table
Reference in a new issue