1 11 package org.eclipse.ui.internal.navigator.extensions; 12 13 import org.eclipse.jface.viewers.ILabelProviderListener; 14 import org.eclipse.swt.graphics.Image; 15 import org.eclipse.ui.IMemento; 16 import org.eclipse.ui.navigator.ICommonContentExtensionSite; 17 import org.eclipse.ui.navigator.ICommonLabelProvider; 18 19 23 public final class SkeletonLabelProvider implements ICommonLabelProvider { 24 25 28 public static final SkeletonLabelProvider INSTANCE = new SkeletonLabelProvider(); 29 30 33 private SkeletonLabelProvider() { 34 super(); 35 } 36 37 42 public Image getImage(Object element) { 43 return null; 44 } 45 46 51 public String getText(Object element) { 52 return null; 53 } 54 55 60 public void addListener(ILabelProviderListener listener) { 61 62 } 63 64 69 public void dispose() { 70 71 } 72 73 79 public boolean isLabelProperty(Object element, String property) { 80 return false; 81 } 82 83 88 public void removeListener(ILabelProviderListener listener) { 89 90 } 91 92 93 public void init(ICommonContentExtensionSite aConfig) { 94 95 } 96 97 98 public String getDescription(Object anElement) { 99 return null; 100 } 101 102 public void restoreState(IMemento aMemento) { 103 104 } 105 106 public void saveState(IMemento aMemento) { 107 108 } 109 110 } 111 | Popular Tags |