SWT Spy
From AbbotWiki
http://dev.eclipse.org/viewcvs/index.cgi/platform-swt-home/dev.html?rev=HEAD#tools > SWT Spy plug-in for Eclipse is a simple tool that prints out > information about the widget under the cursor. Currently, this > includes style, layout and parent information. > * Requires Eclipse 3.0 or later. > * Extract org.eclipse.swt.spy_1.0.0.zip
org.eclipse.swt.spy_1.0.0.zip (http://dev.eclipse.org/viewcvs/index.cgi/platform-swt-home/tools/org.eclipse.swt.spy_1.0.0.zip)
> into the eclipse/plugins/ folder. > * Launch eclipse with "-clean" argument (clears caches so eclipse > will pick up new plugin).
IIRC -clean is unnecessary in 3.1.
> * Open the SWT Spy view (Window -> Show View -> Other ... -> Tools > -> SWT Spy. > * Enable collection of info by clicking on the "Monitor" button in > Spy view. > * Move cursor over the control of interest and see data printed in > Spy view. > * To start or stop data collection while over a control, toggle the > monitor action using ALT+SHIFT+".".
![[Main Page]](/wiki/stylesheets/images/wiki.png)