Project: Eclipse_Platform_UI
Bug 26423 [JFace] Make reusable Icons public API
Reported: 2002-11-14 17:17:11 | Status: resolved fixed

I cannot find Icons without using internal API. I need to reuse Eclipse Icons like Delete, Undo, Redo, Navigate Up, Navigate Into, and potentially any other Icons. Plugins can already obtain these Icons by reaching into the org.eclipse.ui installation directory. But, if I do it this way I create my own ImageDescriptor, and ActionContributionItem will cache it separately, wasting OS resources. So why not make these icons (ImageDescriptors) available programmatically as well in SharedImages?

Files changed in fix:
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/framelist/BackAction.java bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/framelist/ForwardAction.java bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/framelist/UpAction.java bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/RefactorActionGroup.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/ISharedImages.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/CreateProjectAction.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/NewExampleAction.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/NewProjectAction.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/NewWizardAction.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/IWorkbenchGraphicConstants.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchActionBuilder.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/DrillDownAdapter.java