mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
unknown icon if the type of library can not be found.
This commit is contained in:
parent
ad08ad2679
commit
91d85a182d
2 changed files with 6 additions and 1 deletions
|
@ -257,7 +257,7 @@ public class CElementImageProvider {
|
|||
if (celement instanceof IBinaryModule) {
|
||||
return CPluginImages.DESC_OBJS_BINARY;
|
||||
} else if (celement instanceof ILibraryReference) {
|
||||
return CPluginImages.DESC_OBJS_LIBRARY;
|
||||
return CPluginImages.DESC_OBJS_UNKNOWN;
|
||||
} else if (celement instanceof IIncludeReference) {
|
||||
return CPluginImages.DESC_OBJS_INCLUDES_FOLDER;
|
||||
}
|
||||
|
|
|
@ -100,6 +100,10 @@ public class CPluginImages {
|
|||
|
||||
// build console
|
||||
public static final String IMG_VIEW_BUILD = NAME_PREFIX + "buildconsole.gif"; //$NON-NLS-1$
|
||||
|
||||
// unknow type
|
||||
public static final String IMG_OBJS_UNKNOWN = NAME_PREFIX + "unknown_obj.gif"; //$NON-NLS-1$
|
||||
|
||||
public static final ImageDescriptor DESC_BUILD_CONSOLE = createManaged(T_VIEW, IMG_VIEW_BUILD);
|
||||
|
||||
public static final ImageDescriptor DESC_OBJS_VARIABLE= createManaged(T_OBJ, IMG_OBJS_VARIABLE);
|
||||
|
@ -149,6 +153,7 @@ public class CPluginImages {
|
|||
public static final ImageDescriptor DESC_OBJS_FIXABLE_PROBLEM= createManaged(T_OBJ, IMG_OBJS_FIXABLE_PROBLEM);
|
||||
public static final ImageDescriptor DESC_OBJS_FIXABLE_ERROR= createManaged(T_OBJ, IMG_OBJS_FIXABLE_ERROR);
|
||||
|
||||
public static final ImageDescriptor DESC_OBJS_UNKNOWN = createManaged(T_OBJ, IMG_OBJS_UNKNOWN);
|
||||
// Breakpoint image descriptors
|
||||
public static final ImageDescriptor DESC_OBJS_BREAKPOINT = createManaged( T_OBJ, IMG_OBJS_BREAKPOINT );
|
||||
public static final ImageDescriptor DESC_OBJS_BREAKPOINT_DISABLED = createManaged( T_OBJ, IMG_OBJS_BREAKPOINT_DISABLED );
|
||||
|
|
Loading…
Add table
Reference in a new issue