Can I specify a custom widget icon?

Power users and administrators can add an attribute to the palleteItem element in a widget's extension.xml definition to specify a custom icon to use in the sidebar view/title bar.

About this task

The viewImageURL attribute value in the widget's extension.xml file must contain a URL to the desired image, for example:
viewImageUrl="http://my.server.com/myImage.ico"
Example widget XML syntax is shown below:
<?xml version="1.0" encoding="UTF-8"?>
<webcontextConfiguration version="1.1">
palleteItem allowMutlipleSidebars="true" contributeToSideshelfOnStartup="false" 
id="1140471160" viewImageUrl="http://my.server.com/myImage.ico" 
imageUrl="http://www.google.com/favicon.ico" providerId="com.ibm.rcp.toolbox.web.provider.WebServicesPalleteProvider" 
title="rg - Google Search" 
url="http://www.google.com/#hl=en&source=hp&q=rg&btnG=Google+Search&aq=f&aqi=&oq=&fp=a048890d3c90c6fc"> 
<preferences> 
<preference name="q">
value>rg</value>
displayName>q</displayName>
enumValues/>
enumDisplayValues/>
datatype></datatype>
isEnum>false</isEnum>
isRequired>true</isRequired>
isHidden>false</isHidden>
/preference>
/preferences>
data>
authForm/>
/data>
/palleteItem>
/webcontextConfiguration>