Community
Participate
Working Groups
It would be nice if a pinned editor window would have some graphical decorator so that one immediately sees that it is pinned.
decorating the icon in the tab should be easy to do, i think
btw, it would also allow you to get rid of the slightly strangely placed 'pin editor' toolbar button.
verified the images are now in build I200405201600
images are found in org.eclipse.ui\icons\full\ovr16\pinned_ovr.gif AND org.eclipse.ui.ide\icons\full\ovr16\pinned_ovr.gif
Verified with build id: 200405210800 on Windows XP for both projects.
Verified with build id: 200405210800 on Mac OS 10.3.3 for both projects.
Created attachment 11299 [details] Adds a pin icon when pinning editors This patch will apply a small pin on top of an editor's original icon, it uses caching to optimize image creation. It also listens for preference changes and enables or removes the pins accordingly.
Created attachment 11469 [details] Adds a pin icon when pinning editors and handles the pin editor keyboard shortcut This patch also includes the code for the pin editor keyboard shortcut, a handler was added in EditorManager.
Modified patch applied for build 20040502
Created attachment 11508 [details] Implements the "equals" method for ImageWrapper and OverlayIcon Since ImageWrapper and OverlayIcon implement the "hashCode" method, I also added an implementation for the "equals" method as suggested by Nick and Tod.
Patch applied with some changes to use Util.hashCode and Util.equals for possibly-null fields.
Verified that the pin editor decorations works, and that the equals and hashCode code changes are in I20040604-1600.