Package org.eclipse.ui
Interface ISharedImages
- All Known Implementing Classes:
SharedImages
public interface ISharedImages
A registry for common images used by the workbench which may be useful to
other plug-ins.
This class provides Image
and ImageDescriptor
s for
each named image in the interface. All Image
objects provided by
this class are managed by this class and must never be disposed by other
clients.
This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Identifies the error overlay image.static final String
Identifies the warning overlay image.static final String
Identifies the default image used for views.static final String
Identifies the collapse all image in the enabled state.static final String
Identifies the collapse all image in the disabled state.static final String
Identifies the remove image in the enabled state.static final String
Identifies the remove image in the disabled state.static final String
Identifies the remove all image in the enabled state.static final String
Identifies the remove all image in the disabled state.static final String
Identifies the stop image in the enabled state.static final String
Identifies the stop image in the disabled state.static final String
Identifies the synchronize image in the enabled state.static final String
Identifies the synchronize image in the disabled state.static final String
Identifies the clear image in the enabled state.static final String
Identifies the clear image in the disabled state.static final String
Identifies the default perspective image.static final String
Identifies the delete image in the enabled state.static final String
Identifies the delete image in the disabled state.static final String
Identifies the home image in the enabled state.static final String
Identifies the home image in the disabled state.static final String
Identifies the print image in the enabled state.static final String
Identifies the print image in the disabled state.static final String
Identifies the save image in the enabled state.static final String
Identifies the save image in the disabled state.static final String
Identifies the save all image in the enabled state.static final String
Identifies the save all image in the disabled state.static final String
Identifies the save as image in the enabled state.static final String
Identifies the save as image in the disabled state.static final String
Identifies the help image.static final String
Identifies the add image.static final String
Identifies an element image.static final String
Identifies a file image.static final String
Identifies a folder image.static final String
Deprecated.in 3.0.static final String
Deprecated.in 3.0.static final String
Deprecated.in 3.0.static final String
Cursor 'mask' for the down arrow cursor.static final String
Cursor 'source' for the down arrow cursor.static final String
Cursor 'mask' for the 'no drop' arrow cursor.static final String
Cursor 'source' for the 'no drop' arrow cursor.static final String
Cursor 'mask' for the left arrow cursor.static final String
Cursor 'source' for the left arrow cursor.static final String
Cursor 'mask' for the 'off-screen' (detached window) arrow cursor.static final String
Cursor 'source' for the 'off-screen' (detached window) arrow cursor.static final String
Cursor 'mask' for the right arrow cursor.static final String
Cursor 'source' for the right arrow cursor.static final String
Cursor 'mask' for the 'in stack' arrow cursor.static final String
Cursor 'source' for the 'in stack' arrow cursor.static final String
Cursor 'mask' for the 'fast-view' arrow cursor.static final String
Cursor 'source' for the 'fast-view' arrow cursor.static final String
Cursor 'mask' for the up arrow cursor.static final String
Cursor 'source' for the up arrow cursor.static final String
Identifies the default image used to indicate errors.static final String
Identifies the default image used to indicate information only.static final String
Deprecated.in 3.0.static final String
Identifies the default image used to indicate warnings.static final String
Deprecated.in 3.0.static final String
Identifies the back image in the enabled state.static final String
Identifies the back image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the copy image in the enabled state.static final String
Identifies the copy image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the cut image in the enabled state.static final String
Identifies the cut image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the delete image in the enabled state.static final String
Identifies the delete image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the forward image in the enabled state.static final String
Identifies the forward image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the new wizard image in the enabled state.static final String
Identifies the new wizard image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the paste image in the enabled state.static final String
Identifies the paste image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the redo image in the enabled state.static final String
Identifies the redo image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the undo image in the enabled state.static final String
Identifies the undo image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0.static final String
Identifies the up image in the enabled state.static final String
Identifies the up image in the disabled state.static final String
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the specified image from the workbench plugin's image registry.getImageDescriptor
(String symbolicName) Retrieves the image descriptor for specified image from the workbench's image registry.
-
Field Details
-
IMG_DEC_FIELD_ERROR
Identifies the error overlay image.- Since:
- 3.4
- See Also:
-
IMG_DEC_FIELD_WARNING
Identifies the warning overlay image.- Since:
- 3.4
- See Also:
-
IMG_DEF_VIEW
Identifies the default image used for views.- See Also:
-
IMG_ELCL_COLLAPSEALL
Identifies the collapse all image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_COLLAPSEALL_DISABLED
Identifies the collapse all image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_REMOVE
Identifies the remove image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_REMOVE_DISABLED
Identifies the remove image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_REMOVEALL
Identifies the remove all image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_REMOVEALL_DISABLED
Identifies the remove all image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_STOP
Identifies the stop image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_STOP_DISABLED
Identifies the stop image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_SYNCED
Identifies the synchronize image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ELCL_SYNCED_DISABLED
Identifies the synchronize image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_CLEAR
Identifies the clear image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_CLEAR_DISABLED
Identifies the clear image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_DEF_PERSPECTIVE
Identifies the default perspective image.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_DELETE
Identifies the delete image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_DELETE_DISABLED
Identifies the delete image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_HOME_NAV
Identifies the home image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_HOME_NAV_DISABLED
Identifies the home image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_PRINT_EDIT
Identifies the print image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_PRINT_EDIT_DISABLED
Identifies the print image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_SAVE_EDIT
Identifies the save image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_SAVE_EDIT_DISABLED
Identifies the save image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_SAVEALL_EDIT
Identifies the save all image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_SAVEALL_EDIT_DISABLED
Identifies the save all image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_SAVEAS_EDIT
Identifies the save as image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_ETOOL_SAVEAS_EDIT_DISABLED
Identifies the save as image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_LCL_LINKTO_HELP
Identifies the help image.- Since:
- 3.4
- See Also:
-
IMG_OBJ_ADD
Identifies the add image.- Since:
- 3.4
- See Also:
-
IMG_OBJ_ELEMENT
Identifies an element image.- See Also:
-
IMG_OBJ_FILE
Identifies a file image.- See Also:
-
IMG_OBJ_FOLDER
Identifies a folder image.- See Also:
-
IMG_OBJ_PROJECT
Deprecated.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OBJ_PROJECT
instead.Identifies a project image.- See Also:
-
IMG_OBJ_PROJECT_CLOSED
Deprecated.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED
instead.Identifies a closed project image.- See Also:
-
IMG_OBJS_BKMRK_TSK
Deprecated.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OBJS_BKMRK_TSK
instead.Identifies the default image used to indicate a bookmark.- See Also:
-
IMG_OBJS_ERROR_TSK
Identifies the default image used to indicate errors.- See Also:
-
IMG_OBJS_INFO_TSK
Identifies the default image used to indicate information only.- See Also:
-
IMG_OBJS_TASK_TSK
Deprecated.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OBJS_TASK_TSK
instead.Identifies the default image used to indicate a task.- See Also:
-
IMG_OBJS_WARN_TSK
Identifies the default image used to indicate warnings.- See Also:
-
IMG_OPEN_MARKER
Deprecated.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OPEN_MARKER
instead.Identifies the image used for "open marker".- See Also:
-
IMG_TOOL_BACK
Identifies the back image in the enabled state.- See Also:
-
IMG_TOOL_BACK_DISABLED
Identifies the back image in the disabled state.- See Also:
-
IMG_TOOL_BACK_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_BACK
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the back image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_COPY
Identifies the copy image in the enabled state.- See Also:
-
IMG_TOOL_COPY_DISABLED
Identifies the copy image in the disabled state.- See Also:
-
IMG_TOOL_COPY_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_COPY
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the copy image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_CUT
Identifies the cut image in the enabled state.- See Also:
-
IMG_TOOL_CUT_DISABLED
Identifies the cut image in the disabled state.- See Also:
-
IMG_TOOL_CUT_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_CUT
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the cut image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_DELETE
Identifies the delete image in the enabled state.- Since:
- 3.4
- See Also:
-
IMG_TOOL_DELETE_DISABLED
Identifies the delete image in the disabled state.- Since:
- 3.4
- See Also:
-
IMG_TOOL_DELETE_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_DELETE
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the delete image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_FORWARD
Identifies the forward image in the enabled state.- See Also:
-
IMG_TOOL_FORWARD_DISABLED
Identifies the forward image in the disabled state.- See Also:
-
IMG_TOOL_FORWARD_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_FORWARD
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the forward image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_NEW_WIZARD
Identifies the new wizard image in the enabled state.- See Also:
-
IMG_TOOL_NEW_WIZARD_DISABLED
Identifies the new wizard image in the disabled state.- See Also:
-
IMG_TOOL_NEW_WIZARD_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_NEW_WIZARD
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the new wizard image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_PASTE
Identifies the paste image in the enabled state.- See Also:
-
IMG_TOOL_PASTE_DISABLED
Identifies the paste image in the disabled state.- See Also:
-
IMG_TOOL_PASTE_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_PASTE
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the paste image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_REDO
Identifies the redo image in the enabled state.- See Also:
-
IMG_TOOL_REDO_DISABLED
Identifies the redo image in the disabled state.- See Also:
-
IMG_TOOL_REDO_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_REDO
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the redo image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_UNDO
Identifies the undo image in the enabled state.- See Also:
-
IMG_TOOL_UNDO_DISABLED
Identifies the undo image in the disabled state.- See Also:
-
IMG_TOOL_UNDO_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_UNDO
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the undo image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_TOOL_UP
Identifies the up image in the enabled state.- See Also:
-
IMG_TOOL_UP_DISABLED
Identifies the up image in the disabled state.- See Also:
-
IMG_TOOL_UP_HOVER
Deprecated, for removal: This API element is subject to removal in a future version.in 3.0. This image is now the same asIMG_TOOL_UP
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Identifies the up image in the hover (colored) state.- See Also:
- Restriction:
- Marked for deletion see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559593
-
IMG_OBJS_DND_LEFT_SOURCE
Cursor 'source' for the left arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_LEFT_MASK
Cursor 'mask' for the left arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_RIGHT_SOURCE
Cursor 'source' for the right arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_RIGHT_MASK
Cursor 'mask' for the right arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_TOP_SOURCE
Cursor 'source' for the up arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_TOP_MASK
Cursor 'mask' for the up arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_BOTTOM_SOURCE
Cursor 'source' for the down arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_BOTTOM_MASK
Cursor 'mask' for the down arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_INVALID_SOURCE
Cursor 'source' for the 'no drop' arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_INVALID_MASK
Cursor 'mask' for the 'no drop' arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_STACK_SOURCE
Cursor 'source' for the 'in stack' arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_STACK_MASK
Cursor 'mask' for the 'in stack' arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_OFFSCREEN_SOURCE
Cursor 'source' for the 'off-screen' (detached window) arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_OFFSCREEN_MASK
Cursor 'mask' for the 'off-screen' (detached window) arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_TOFASTVIEW_SOURCE
Cursor 'source' for the 'fast-view' arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
IMG_OBJS_DND_TOFASTVIEW_MASK
Cursor 'mask' for the 'fast-view' arrow cursor. For cursor construction see:- Since:
- 3.5
- See Also:
-
-
Method Details
-
getImage
Retrieves the specified image from the workbench plugin's image registry. Note: The returnedImage
is managed by the workbench; clients must not dispose of the returned image.- Parameters:
symbolicName
- the symbolic name of the image; there are constants declared in this interface for build-in images that come with the workbench- Returns:
- the image, or
null
if not found
-
getImageDescriptor
Retrieves the image descriptor for specified image from the workbench's image registry. UnlikeImage
s, image descriptors themselves do not need to be disposed.- Parameters:
symbolicName
- the symbolic name of the image; there are constants declared in this interface for build-in images that come with the workbench- Returns:
- the image descriptor, or
null
if not found
-