Wednesday, May 09, 2007

Eclipse shared images

In Eclipse RCP there are several shared images which are accessible in the following way:

PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_DEF_VIEW);

Here is the list of all shared images with their corresponding ISharedImages.* keys:


IMG_DEF_VIEW

IMG_OBJS_BKMRK_TSK

IMG_OBJS_ERROR_TSK

IMG_OBJS_INFO_TSK

IMG_OBJS_TASK_TSK

IMG_OBJS_WARN_TSK

IMG_OBJ_FILE

IMG_OBJ_FOLDER

IMG_OBJ_PROJECT

IMG_OBJ_PROJECT_CLOSED

IMG_OPEN_MARKER

IMG_TOOL_BACK

IMG_TOOL_BACK_DISABLED

IMG_TOOL_BACK_HOVER

IMG_TOOL_COPY

IMG_TOOL_COPY_DISABLED

IMG_TOOL_COPY_HOVER

IMG_TOOL_CUT

IMG_TOOL_CUT_DISABLED

IMG_TOOL_CUT_HOVER

IMG_TOOL_DELETE

IMG_TOOL_DELETE_DISABLED

IMG_TOOL_DELETE_HOVER

IMG_TOOL_FORWARD

IMG_TOOL_FORWARD_DISABLED

IMG_TOOL_FORWARD_HOVER

IMG_TOOL_NEW_WIZARD

IMG_TOOL_NEW_WIZARD_DISABLED

IMG_TOOL_NEW_WIZARD_HOVER

IMG_TOOL_PASTE

IMG_TOOL_PASTE_DISABLED

IMG_TOOL_PASTE_HOVER

IMG_TOOL_REDO

IMG_TOOL_REDO_DISABLED

IMG_TOOL_REDO_HOVER

IMG_TOOL_UNDO

IMG_TOOL_UNDO_DISABLED

IMG_TOOL_UNDO_HOVER

IMG_TOOL_UP

IMG_TOOL_UP_DISABLED

IMG_TOOL_UP_HOVER

4 comments:

Anonymous said...

Thank you. Thid daved me much time.

Fatih @ ─░stanbul said...

This is a great help!

Thank you very much.

Anonymous said...

Cool, thanks, just what I was looking for!

loganathan s said...

This is a handy post.. Thanks..!