|
wdsci-l-bounces@xxxxxxxxxxxx wrote on 08/11/2004 10:32:49 AM: > > > > Did you ever get this figured out? I have saved off my own perspective > and > > would > > like to change the icon on it. It is based on the RSE one with > TurnOver > > views > > added in. > > No, and it REALLY ticked me off. I hear things like "it can't be done", > which you and I both know is complete bullshit. Unless it's a hardcoded > value in some Java class (which means the programmer hardcoded one icon > for each possible Perspective), then there's a setting somewhere. > > I'm getting worried that the product has gotten so large and/or there's > been enough outsourcing or turnover that there are now parts of the tool > that nobody understands. If it were my team, I'd simply go to the guy > in charge of the perspective bar (which changes drastically in Eclipse > 3.0, by the way) and ask him where he gets his icons. If there is no > such person, then you've got a serious problem in your project > management. > > But no, ask me how I REALLY feel... <grumpf> > I do not think anyone has said it cannot be done. It is just a priority issue. Also, this is an open source project, there are no managers or anyone else's ass to kick. The icon for a perspective is declared in the plugin.xml of the plugin that declares the perspective. For example, this is the XML that defines the RSE perspective: <extension point="org.eclipse.ui.perspectives"> <perspective name="%Perspective.Explorer" icon="./icons/full/cview16/system_persp.gif" class="com.ibm.etools.systems.core.ui.view.SystemPerspectiveLayout" id="com.ibm.etools.systems.core.ui.view.SystemPerspective"> </perspective> </extension> The issue is that there is no plugin.xml for perspectives you create yourself. Your perspective is just stored in the pref_store.ini file within your workspace .metadata folder and it just points to the perspective id you started with for the icon. They need to enhance this to also store a path to an icon, and then of course also create UI for all of this to let you define it. It is doable, but enough work that most people are not going to want to bother. Mark _____________________________________________________________________________ Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs. _____________________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.