1 11 package org.eclipse.pde.internal.ui.util; 12 13 import org.eclipse.jface.resource.ImageDescriptor; 14 import org.eclipse.swt.graphics.Image; 15 import org.eclipse.swt.graphics.ImageData; 16 import org.eclipse.swt.graphics.Point; 17 18 21 public class ImageOverlayIcon extends AbstractOverlayIcon { 22 private Image base; 23 24 public ImageOverlayIcon(Image base, ImageDescriptor[][] overlays) { 25 this(base, overlays, null); 26 } 27 28 public ImageOverlayIcon(Image base, ImageDescriptor[][] overlays, Point size) { 29 super(overlays, size); 30 this.base = base; 31 } 32 33 protected ImageData getBaseImageData() { 34 return base.getImageData(); 35 } 36 } 37 | Popular Tags |