/** * Creates a new image descriptor registry for the given display. All images * managed by this registry will be disposed when the display gets disposed. * * @param display the display the images managed by this registry are allocated for */ public ImageDescriptorRegistry(Display display) { fDisplay= display; Assert.isNotNull(fDisplay); hookDisplay(); }
/** * Creates a new image descriptor registry for the given display. All images * managed by this registry will be disposed when the display gets disposed. */ public ImageDescriptorRegistry() { fDisplay= PlatformUI.getWorkbench().getDisplay(); Assert.isNotNull(fDisplay); hookDisplay(); }
/** * Creates a new image descriptor registry for the given display. All images * managed by this registry will be disposed when the display gets disposed. */ public ImageDescriptorRegistry() { fDisplay= PlatformUI.getWorkbench().getDisplay(); Assert.isNotNull(fDisplay); hookDisplay(); }