Community
Participate
Working Groups
When you create a new perspective, the icon of the current perspective is the icon used for the newly created perspective. Currently, there is no way to change this icon to a new icon. I would like this new icon to be a selection of the existing icons with the ability to add icons.
Interesting idea. Would you be willing to contribute the code that implements this feature?
When I get some time, I might be able to take a look at this.
Niel, If you implement this feature, please attach it as a patch to this defect report.
When you save a perspective, it appears that it is saved in workbench.xml in your .metadata folder. Specifically, under org.eclipse.ui.workbench. The new perspective contains the ID of the perspective it came from, and that is where the icon is pulled from. Perhaps a new attribute named "icon" could be added to this XML (or perhaps already is supported). This would allow a user to edit the file to point to a new icon, and eventually someone could add UI that does the same? Icon, would probably need to be able to accept an arbitrary full path to the image. So I guess I am asking for the infrastructure to allow this feature to be put in place. The UI can come later.
See also bug 65318.
*** Bug 112111 has been marked as a duplicate of this bug. ***
There are currently no plans to work on this feature
Tod, no plans to work on this means WONTFIX?? Sorry but i think the helpwanted keyword is better in this case. Maybe I'll look at this the next days
Just shaking the trees to see who is still interested. I'll reopen and add the helpwanted.
Tod, shouldn't this bug depend on bug 118296? Just want to note this...
It might do - lets add the dependency anyways so that we can track it (a "related to" field in Bugzilla would be nice...).
There are currently no plans to work on this feature. PW
Changes requested on bug 193523
I just wanted to give this issue a bump. Tied to this is my desire (currently unsupported) for the programmatic specification of the perspective icon. It would seem that in the current implementation (Eclipse 3.3), the *only* way to associate an icon with a perspective is via the extension spec in the plugin's manifest. The problem with this is that the specified icon must exist somewhere in the plugin bundle. This introduces an inefficency in which icon images must exist as copies all over the place in many plugins just to reuse the same image. In my particular case, for example, I have product branding icons in a plugin dedicted to such product related things. I have other plugins that specify perspectives for my particular tool application. There is no way to have these other plugins reference the icons in my product bundle... I am forced to copy my product branding icons to every such bundle in which they are needed. Even something as simple as a "public Image getImage()" method in the IPerspectiveFactory interface (which is then employed by the workbench) might go a long way to solving the problem. This would allow the workbench to obtain the image dynamically, instead of once at startup from the associated extension spec, and allow the client implementation of IPerspectiveFactory some flexibility in terms of the location from which the image is retrieved.
There are no plans to work on this or bug 118296 in 3.4. However, I would consider patches if submitted. PW