mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Mark the function arguments in the Variables View.
This commit is contained in:
parent
1149f60ff7
commit
b75d5577de
6 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2003-10-06 Mikhail Khodjaiants
|
||||||
|
Mark the function arguments in the Variables View.
|
||||||
|
* icons\full\ovr16\argument_ovr.gif: new
|
||||||
|
* icons\full\ovr16\castarray_ovr.gif: new
|
||||||
|
* icons\full\ovr16\casttype_ovr.gif: new
|
||||||
|
* CDebugImages.java
|
||||||
|
* CDTDebugModelPresentation.java
|
||||||
|
|
||||||
2003-09-30 Mikhail Khodjaiants
|
2003-09-30 Mikhail Khodjaiants
|
||||||
Fix for PR 39737: Tooltip in debug mode over long strings is not handled properly.
|
Fix for PR 39737: Tooltip in debug mode over long strings is not handled properly.
|
||||||
Added an internal constant to limit the hover text size.
|
Added an internal constant to limit the hover text size.
|
||||||
|
|
BIN
debug/org.eclipse.cdt.debug.ui/icons/full/ovr16/argument_ovr.gif
Normal file
BIN
debug/org.eclipse.cdt.debug.ui/icons/full/ovr16/argument_ovr.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 822 B |
Binary file not shown.
After Width: | Height: | Size: 822 B |
BIN
debug/org.eclipse.cdt.debug.ui/icons/full/ovr16/casttype_ovr.gif
Normal file
BIN
debug/org.eclipse.cdt.debug.ui/icons/full/ovr16/casttype_ovr.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 819 B |
|
@ -226,6 +226,9 @@ public class CDTDebugModelPresentation extends LabelProvider
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( element instanceof ICVariable && ((ICVariable)element).isArgument() )
|
||||||
|
overlays[OverlayImageDescriptor.TOP_RIGHT] = CDebugImages.DESC_OVRS_ARGUMENT;
|
||||||
|
|
||||||
return fImageCache.getImageFor( new OverlayImageDescriptor( baseImage, overlays ) );
|
return fImageCache.getImageFor( new OverlayImageDescriptor( baseImage, overlays ) );
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -60,6 +60,8 @@ public class CDebugImages
|
||||||
public static final String IMG_OVRS_ERROR = NAME_PREFIX + "error_ovr.gif"; //$NON-NLS-1$
|
public static final String IMG_OVRS_ERROR = NAME_PREFIX + "error_ovr.gif"; //$NON-NLS-1$
|
||||||
public static final String IMG_OVRS_WARNING = NAME_PREFIX + "warning_ovr.gif"; //$NON-NLS-1$
|
public static final String IMG_OVRS_WARNING = NAME_PREFIX + "warning_ovr.gif"; //$NON-NLS-1$
|
||||||
public static final String IMG_OVRS_SYMBOLS = NAME_PREFIX + "symbols_ovr.gif"; //$NON-NLS-1$
|
public static final String IMG_OVRS_SYMBOLS = NAME_PREFIX + "symbols_ovr.gif"; //$NON-NLS-1$
|
||||||
|
public static final String IMG_OVRS_VARIABLE_CASTED = NAME_PREFIX + "casttype_ovr.gif"; //$NON-NLS-1$
|
||||||
|
public static final String IMG_OVRS_ARGUMENT = NAME_PREFIX + "argument_ovr.gif"; //$NON-NLS-1$
|
||||||
public static final String IMG_OBJS_ADDRESS_BREAKPOINT_ENABLED = NAME_PREFIX + "addrbrkp_obj.gif"; //$NON-NLS-1$
|
public static final String IMG_OBJS_ADDRESS_BREAKPOINT_ENABLED = NAME_PREFIX + "addrbrkp_obj.gif"; //$NON-NLS-1$
|
||||||
public static final String IMG_OBJS_ADDRESS_BREAKPOINT_DISABLED = NAME_PREFIX + "addrbrkpd_obj.gif"; //$NON-NLS-1$
|
public static final String IMG_OBJS_ADDRESS_BREAKPOINT_DISABLED = NAME_PREFIX + "addrbrkpd_obj.gif"; //$NON-NLS-1$
|
||||||
public static final String IMG_OBJS_FUNCTION_BREAKPOINT_ENABLED = NAME_PREFIX + "funbrkp_obj.gif"; //$NON-NLS-1$
|
public static final String IMG_OBJS_FUNCTION_BREAKPOINT_ENABLED = NAME_PREFIX + "funbrkp_obj.gif"; //$NON-NLS-1$
|
||||||
|
@ -129,6 +131,8 @@ public class CDebugImages
|
||||||
public static final ImageDescriptor DESC_OVRS_FUNCTION_BREAKPOINT = createManaged( T_OVR, IMG_OVRS_FUNCTION_BREAKPOINT );
|
public static final ImageDescriptor DESC_OVRS_FUNCTION_BREAKPOINT = createManaged( T_OVR, IMG_OVRS_FUNCTION_BREAKPOINT );
|
||||||
public static final ImageDescriptor DESC_OVRS_FUNCTION_BREAKPOINT_DISABLED = createManaged( T_OVR, IMG_OVRS_FUNCTION_BREAKPOINT_DISABLED );
|
public static final ImageDescriptor DESC_OVRS_FUNCTION_BREAKPOINT_DISABLED = createManaged( T_OVR, IMG_OVRS_FUNCTION_BREAKPOINT_DISABLED );
|
||||||
public static final ImageDescriptor DESC_OVRS_SYMBOLS = createManaged( T_OVR, IMG_OVRS_SYMBOLS );
|
public static final ImageDescriptor DESC_OVRS_SYMBOLS = createManaged( T_OVR, IMG_OVRS_SYMBOLS );
|
||||||
|
public static final ImageDescriptor DESC_OVRS_VARIABLE_CASTED = createManaged( T_OVR, IMG_OVRS_VARIABLE_CASTED );
|
||||||
|
public static final ImageDescriptor DESC_OVRS_ARGUMENT = createManaged( T_OVR, IMG_OVRS_ARGUMENT );
|
||||||
public static final ImageDescriptor DESC_OBJS_WATCHPOINT_ENABLED = createManaged( T_OBJ, IMG_OBJS_WATCHPOINT_ENABLED );
|
public static final ImageDescriptor DESC_OBJS_WATCHPOINT_ENABLED = createManaged( T_OBJ, IMG_OBJS_WATCHPOINT_ENABLED );
|
||||||
public static final ImageDescriptor DESC_OBJS_WATCHPOINT_DISABLED = createManaged( T_OBJ, IMG_OBJS_WATCHPOINT_DISABLED );
|
public static final ImageDescriptor DESC_OBJS_WATCHPOINT_DISABLED = createManaged( T_OBJ, IMG_OBJS_WATCHPOINT_DISABLED );
|
||||||
public static final ImageDescriptor DESC_OBJS_READ_WATCHPOINT_ENABLED = createManaged( T_OBJ, IMG_OBJS_READ_WATCHPOINT_ENABLED );
|
public static final ImageDescriptor DESC_OBJS_READ_WATCHPOINT_ENABLED = createManaged( T_OBJ, IMG_OBJS_READ_WATCHPOINT_ENABLED );
|
||||||
|
|
Loading…
Add table
Reference in a new issue