blob: f87918b437efc46b9919ad036123f0076af5e530 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.update.internal.ui.parts;
import org.eclipse.jface.resource.*;
import org.eclipse.swt.graphics.*;
/**
* An OverlayIcon consists of a main icon and several adornments.
*/
public class ImageOverlayIcon extends AbstractOverlayIcon {
private Image base;
public ImageOverlayIcon(Image base, ImageDescriptor[][] overlays) {
this(base, overlays, null);
}
public ImageOverlayIcon(Image base, ImageDescriptor[][] overlays, Point size) {
super(overlays, size);
this.base = base;
}
protected ImageData getBaseImageData() {
return base.getImageData();
}
}