|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.core.ui.ImageUtils
public final class ImageUtils
ImageUtils
| Field Summary | |
|---|---|
static java.util.Hashtable |
fileIconsHash
Holds a hash of icons |
| Method Summary | |
|---|---|
static org.eclipse.swt.graphics.ImageData |
awtBufferedImageToSWTImageData(java.awt.image.BufferedImage bufferedImage)
AWTBufferedImageToSWTImageData |
static org.eclipse.swt.graphics.Image |
awtImageIconToSWTImage(javax.swing.Icon icon,
org.eclipse.swt.graphics.Color backgroundColor)
awtImageIconToSWTImage |
static org.eclipse.swt.graphics.Image |
getDriveIcon()
getDriveIcon |
static org.eclipse.swt.graphics.Image |
getFileIcon()
getFileIcon |
static org.eclipse.swt.graphics.Image |
getFolderIcon()
getFolderIcon |
static org.eclipse.swt.graphics.Image |
getIcon(java.io.File file,
org.eclipse.swt.graphics.Color backgroundColor)
Returns an icon representing the specified file. |
static org.eclipse.swt.graphics.Image |
getIcon(java.lang.String extension)
getIcon Returns the icon for the file type with the specified extension. |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String imageFilePath)
Retrieves the image descriptor associated with resource from the image descriptor registry. |
static int |
loadImageCache(org.eclipse.swt.widgets.Display display)
loadImageCache |
static int |
saveImageCache()
saveImageCache |
static void |
shutdownAptanaDB()
shutdownAptanaDB |
static java.awt.Color |
swtColorToAWTColor(org.eclipse.swt.graphics.Color background)
SWTColorToAWTColor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.util.Hashtable fileIconsHash
| Method Detail |
|---|
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String imageFilePath)
imageFilePath - the image descriptor to retrieve
public static org.eclipse.swt.graphics.Image getIcon(java.io.File file,
org.eclipse.swt.graphics.Color backgroundColor)
file - backgroundColor -
public static org.eclipse.swt.graphics.Image getDriveIcon()
public static org.eclipse.swt.graphics.Image getFolderIcon()
public static org.eclipse.swt.graphics.Image getFileIcon()
public static org.eclipse.swt.graphics.Image getIcon(java.lang.String extension)
extension -
public static org.eclipse.swt.graphics.Image awtImageIconToSWTImage(javax.swing.Icon icon,
org.eclipse.swt.graphics.Color backgroundColor)
icon - backgroundColor -
public static java.awt.Color swtColorToAWTColor(org.eclipse.swt.graphics.Color background)
background -
public static org.eclipse.swt.graphics.ImageData awtBufferedImageToSWTImageData(java.awt.image.BufferedImage bufferedImage)
bufferedImage -
public static int loadImageCache(org.eclipse.swt.widgets.Display display)
display -
public static int saveImageCache()
public static void shutdownAptanaDB()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||