Community
Participate
Working Groups
Hello, I would suggest to show the image in the the file directory in eclipse when a file is an image(gif, jpeg, ...) file ...for instance icons. It is very useful to know which icon we choose. regards Xavier
Do you mean instead of showing the icon that indicates the default editor show a thumbnail of the actual image file? I'm not sure that this would be very useful given that the thumbnail would be 16x16 pixels small. Do you have an example of other apps doing this? We could do something like check if an image file is 16x16 or smaller and display it without scaling in that case.
Yes , it was what I had in mind. A concrete example is in the PDE editor when we have to choose an icon for instance an action, or a view.... A dialog box propose to navigate in a folder hierarchy to find the icons. When we are in the good folder (icons for instance), we only have the icon list (in gif usually), but you don't know if it is the right icon you choose, because you can't see it. You have to open externally the icon to be able to choose it. So my proposal was to be able to see directly the icon in the folder instead of the generic iamge icon which is proposed... regards Xavier
You would like to see this in other views, too, correct? E.g., not just in the PDE editor/icon selection dialog but also in views like the navigator and packages view.
Yes indeed... if possible...
Not for 2.1. We also need to decide if this is a good idea in general in terms of usability/avoiding UI clutter. Implementing this feature would replace a bunch of uniform icons with different ones.
Reopen to investigate. Note that we can't do anything about the file dialog as we are using the platform dialog. Should still consider displaying the actual icon in the Navigator if it is 16x16.
Reassigning to Nick since he is taking ownership of Navigator
Created attachment 252581 [details] Images as icons in navigator
Hi! This feature would be very useful when for example developing UI or EMF plug-ins. You will find attached a mock-up. I would be pleased to provide a new version more compliant with Eclipse platform usages, but the definition of the feature needs to be refined first. Here are some requirements: * images are (of course) scaled down to 16x16 * a decorator may be added to clearly identify image files * images are cached with IFile or path as key for optimizing performances * this feature should be made optional based on a preference mechanism. The question is which kind of preference? The mock up uses the org.eclipse.ui.navigator.navigatorContent/viewer and register a new LabelProvider, but maybe there are better approaches? Your suggestions and remarks are welcome.