Project: Eclipse_Platform_UI
Bug 61950 [Markers] Images being created twice potentially
Reported: 2004-05-12 13:35:43 | Status: verified fixed

org.eclipse.ui.views.internal is using a static called ImageFactory which has it's own ImageRegistry. It should use JFaceResources.getImageRegistry to be sure that images are not being created twice (Image creation can be very expensive). I am not sure that this is a problem currently with performance but it could add to start up time.

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionAddGlobalTask.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionOpenMarker.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldDone.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldPriority.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldSeverity.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FiltersAction.java bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ImageFactory.java