Dali Provisional API
Release 3.2

org.eclipse.jpt.common.ui
Class JptCommonUiImages

java.lang.Object
  extended by org.eclipse.jpt.common.ui.JptCommonUiImages

public final class JptCommonUiImages
extends Object

Actually, just the image descriptors....

Code should use these constants to acquire (and release) the images provided by Dali. The images should be managed by a "local" resource manager.

Also, the Eclipse workbench supplies more general purpose images.

See Also:
ResourceManager.createImage(ImageDescriptor), ResourceManager.createImageWithDefault(ImageDescriptor), ResourceManager.destroyImage(ImageDescriptor), FileLocator.find(org.osgi.framework.Bundle, org.eclipse.core.runtime.IPath, java.util.Map), IWorkbench.getSharedImages(), ISharedImages

Field Summary
static ImageDescriptor ADD_BUTTON
           
static ImageDescriptor ADD_CONNECTION_BUTTON
           
static ImageDescriptor BROWSE_BUTTON
           
static String BUTTONS
           
static String BUTTONS_
           
static ImageDescriptor COLLAPSE_ALL_BUTTON
           
static ImageDescriptor DELETE_BUTTON
           
static ImageDescriptor DESELECT_ALL_BUTTON
           
static ImageDescriptor DOT_BUTTON
           
static ImageDescriptor EDIT_BUTTON
           
static ImageDescriptor ERROR_OVERLAY
           
static ImageDescriptor EXPAND_ALL_BUTTON
           
static ImageDescriptor FILE
           
static ImageDescriptor FOLDER
           
static String IMAGES
           
static String IMAGES_
           
static String LOCALE
           
static String LOCALE_
           
static ImageDescriptor MINI_BROWSE_BUTTON
           
static ImageDescriptor MOVE_DOWN_BUTTON
           
static ImageDescriptor MOVE_UP_BUTTON
           
static String OBJECTS
           
static String OBJECTS_
           
static String OVERLAYS
           
static String OVERLAYS_
           
static ImageDescriptor PACKAGE
           
static ImageDescriptor RECONNECT_BUTTON
           
static ImageDescriptor REFRESH_BUTTON
           
static ImageDescriptor RESTORE_DEFAULTS_BUTTON
           
static ImageDescriptor SELECT_ALL_BUTTON
           
static String VIEWS
           
static String VIEWS_
           
static ImageDescriptor WARNING
           
static ImageDescriptor WARNING_OVERLAY
           
static String WIZARDS
           
static String WIZARDS_
           
 
Method Summary
static ImageDescriptor gray(ImageDescriptor descriptor)
          Return an image descriptor corresponding to the specified image descriptor "grayed" out.
static ImageDescriptor gray(ImageDescriptor descriptor, boolean gray)
          If the specified flag is true, return an image descriptor corresponding to the specified descriptor "grayed" out; otherwise return the specified descriptor unchanged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALE

public static final String LOCALE
See Also:
FileLocator.find(org.osgi.framework.Bundle, org.eclipse.core.runtime.IPath, java.util.Map), Constant Field Values

LOCALE_

public static final String LOCALE_
See Also:
Constant Field Values

IMAGES

public static final String IMAGES
See Also:
Constant Field Values

IMAGES_

public static final String IMAGES_
See Also:
Constant Field Values

BUTTONS

public static final String BUTTONS
See Also:
Constant Field Values

BUTTONS_

public static final String BUTTONS_
See Also:
Constant Field Values

OBJECTS

public static final String OBJECTS
See Also:
Constant Field Values

OBJECTS_

public static final String OBJECTS_
See Also:
Constant Field Values

OVERLAYS

public static final String OVERLAYS
See Also:
Constant Field Values

OVERLAYS_

public static final String OVERLAYS_
See Also:
Constant Field Values

VIEWS

public static final String VIEWS
See Also:
Constant Field Values

VIEWS_

public static final String VIEWS_
See Also:
Constant Field Values

WIZARDS

public static final String WIZARDS
See Also:
Constant Field Values

WIZARDS_

public static final String WIZARDS_
See Also:
Constant Field Values

DOT_BUTTON

public static final ImageDescriptor DOT_BUTTON

ADD_BUTTON

public static final ImageDescriptor ADD_BUTTON

EDIT_BUTTON

public static final ImageDescriptor EDIT_BUTTON

DELETE_BUTTON

public static final ImageDescriptor DELETE_BUTTON

MOVE_UP_BUTTON

public static final ImageDescriptor MOVE_UP_BUTTON

MOVE_DOWN_BUTTON

public static final ImageDescriptor MOVE_DOWN_BUTTON

EXPAND_ALL_BUTTON

public static final ImageDescriptor EXPAND_ALL_BUTTON

COLLAPSE_ALL_BUTTON

public static final ImageDescriptor COLLAPSE_ALL_BUTTON

RESTORE_DEFAULTS_BUTTON

public static final ImageDescriptor RESTORE_DEFAULTS_BUTTON

BROWSE_BUTTON

public static final ImageDescriptor BROWSE_BUTTON

MINI_BROWSE_BUTTON

public static final ImageDescriptor MINI_BROWSE_BUTTON

SELECT_ALL_BUTTON

public static final ImageDescriptor SELECT_ALL_BUTTON

DESELECT_ALL_BUTTON

public static final ImageDescriptor DESELECT_ALL_BUTTON

REFRESH_BUTTON

public static final ImageDescriptor REFRESH_BUTTON

ADD_CONNECTION_BUTTON

public static final ImageDescriptor ADD_CONNECTION_BUTTON

RECONNECT_BUTTON

public static final ImageDescriptor RECONNECT_BUTTON

FILE

public static final ImageDescriptor FILE

FOLDER

public static final ImageDescriptor FOLDER

PACKAGE

public static final ImageDescriptor PACKAGE

WARNING

public static final ImageDescriptor WARNING

ERROR_OVERLAY

public static final ImageDescriptor ERROR_OVERLAY

WARNING_OVERLAY

public static final ImageDescriptor WARNING_OVERLAY
Method Detail

gray

public static ImageDescriptor gray(ImageDescriptor descriptor,
                                   boolean gray)
If the specified flag is true, return an image descriptor corresponding to the specified descriptor "grayed" out; otherwise return the specified descriptor unchanged.

See Also:
SWT.IMAGE_GRAY

gray

public static ImageDescriptor gray(ImageDescriptor descriptor)
Return an image descriptor corresponding to the specified image descriptor "grayed" out.

See Also:
Image.Image(org.eclipse.swt.graphics.Device, org.eclipse.swt.graphics.Image, int), SWT.IMAGE_GRAY

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.