목요일, 12월 04, 2008

SWT Development Tools

http://www.eclipse.org/swt/tools.php

이런것도 잇네요.

SWT Development Tools

JniGen is a tool that generates JNI wrappers for creating the SWT Platform Interface. For more information on how to generate the JNI code, see this tutorial.

Sleak is a simple tool that monitors the creation and disposing of SWT graphics resources. (see tutorial)

* Sleak plug-in for Eclipse 2.1.0 to 3.3 (zip file)
o Extract the zip file into the eclipse/plugins/ folder.
* Sleak plug-in for Eclipse 3.4 M1 - M5 (zip file)
o Extract the zip file into the eclipse/plugins/ folder.
* Sleak plug-in for Eclipse 3.4 M6 or later (zip file)
o Extract the zip file into the eclipse/dropins/ folder.
* After extracting the Sleak plug-in (above):
o Extract the .options file from the eclipse/plugins/org.eclipse.ui_.jar/ archive to the eclipse/ folder.
o Add the following lines to the .options file:
org.eclipse.ui/debug=true
org.eclipse.ui/trace/graphics=true
o Launch Eclipse with the "-clean -debug" option on the command line.
+ Note that you do not need the "-clean" option with Eclipse 3.4 M6 or later.
o Open the SWT Sleak view (Window > Show View > Other ... > SWT Tools > Sleak)
o The plug-in monitors all other plug-ins running in its Eclipse environment.
* Sleak for standalone applications (Sleak.java)

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.
* Save org.eclipse.swt.spy_1.0.1.jar into the eclipse/plugins/ folder.
* Launch eclipse with "-clean" argument (clears caches so eclipse will pick up new plugin).
* Open the SWT Spy view (Window > Show View > Other ... > SWT 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+".".

댓글 없음:

댓글 쓰기