1 11 package org.eclipse.debug.ui; 12 13 import org.eclipse.debug.internal.ui.views.launch.DebugElementHelper; 14 import org.eclipse.jface.resource.ImageDescriptor; 15 import org.eclipse.swt.graphics.FontData; 16 import org.eclipse.swt.graphics.RGB; 17 import org.eclipse.ui.model.IWorkbenchAdapter; 18 import org.eclipse.ui.model.IWorkbenchAdapter2; 19 20 31 public abstract class DebugElementWorkbenchAdapter implements IWorkbenchAdapter, IWorkbenchAdapter2 { 32 33 36 public ImageDescriptor getImageDescriptor(Object object) { 37 return DebugElementHelper.getImageDescriptor(object); 38 } 39 40 43 public String getLabel(Object o) { 44 return DebugElementHelper.getLabel(o); 45 } 46 47 50 public RGB getForeground(Object element) { 51 return DebugElementHelper.getForeground(element); 52 } 53 54 57 public RGB getBackground(Object element) { 58 return DebugElementHelper.getBackground(element); 59 } 60 61 64 public FontData getFont(Object element) { 65 return DebugElementHelper.getFont(element); 66 } 67 68 } 69 | Popular Tags |