1 11 package org.eclipse.jface.viewers; 12 13 import org.eclipse.jface.resource.ImageDescriptor; 14 import org.eclipse.swt.graphics.Color; 15 import org.eclipse.swt.graphics.Font; 16 17 23 public interface IDecoration{ 24 25 28 public static final int TOP_LEFT = 0; 29 30 33 public static final int TOP_RIGHT = 1; 34 35 38 public static final int BOTTOM_LEFT = 2; 39 40 43 public static final int BOTTOM_RIGHT = 3; 44 45 48 public static final int UNDERLAY = 4; 49 50 56 public void addPrefix(String prefix); 57 58 64 public void addSuffix(String suffix); 65 66 72 public void addOverlay(ImageDescriptor overlay); 73 74 82 public void addOverlay(ImageDescriptor overlay, int quadrant); 83 84 90 public void setForegroundColor(Color color); 91 92 98 public void setBackgroundColor(Color color); 99 100 106 public void setFont(Font font); 107 108 115 public IDecorationContext getDecorationContext(); 116 } 117 | Popular Tags |