mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 12:25:35 +02:00
Bug 144277: No images for source containers types (temporary fix).
This commit is contained in:
parent
933ecf7e00
commit
4eb646da28
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-05-29 Mikhail Khodjaiants
|
||||
Bug 144277: No images for source containers types (temporary fix).
|
||||
* SourceContainerLabelProvider.java
|
||||
|
||||
2006-05-24 Mikhail Khodjaiants
|
||||
Bug 143593: Module's children are not expandable.
|
||||
* CDebugElementAdapterFactory.java
|
||||
|
|
|
@ -12,6 +12,7 @@ package org.eclipse.cdt.debug.internal.ui.sourcelookup;
|
|||
|
||||
import org.eclipse.debug.core.sourcelookup.ISourceContainer;
|
||||
import org.eclipse.debug.core.sourcelookup.ISourceContainerType;
|
||||
import org.eclipse.debug.internal.ui.DebugUIPlugin;
|
||||
import org.eclipse.debug.ui.DebugUITools;
|
||||
import org.eclipse.jface.viewers.ILabelProvider;
|
||||
import org.eclipse.jface.viewers.LabelProvider;
|
||||
|
@ -29,6 +30,8 @@ public class SourceContainerLabelProvider extends LabelProvider {
|
|||
* @see org.eclipse.jface.viewers.ILabelProvider#getImage(java.lang.Object)
|
||||
*/
|
||||
public Image getImage(Object element) {
|
||||
// Temporary fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=144277
|
||||
DebugUIPlugin.getDefault().getImageRegistry();
|
||||
// first allow workbench adapter to provide image
|
||||
Image image = getWorkbenchLabelProvider().getImage(element);
|
||||
if (image == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue