4.5. SummarySWT is a well-designed native UI library for Java that is based on a long history of similar work done by IBM and OTI over the years. It is the native UI library of Eclipse itself and will be used extensively in any Eclipse plug-in that you create. SWT is also more than powerful enough to be used for creating standalone Java applications that don't require any of the other Eclipse frameworks. SWT includes a rich collection of built-in widgets that are mapped to native-platform widgets whenever possible and are emulated when an appropriate widget is not present on a specific platform. SWT also includes a wide array of layout management classes ranging from the simple FillLayout to the more complex GridLayout and FormLayout. With these widgets and layout managers, you can create any user interface that you want to use for your plug-in. ReferencesChapter source (www.qualityeclipse.com/projects/source-ch-04-and-05.zip). Northover, Steve, and Mike Wilson, SWT: The Standard Widget Toolkit. Addison-Wesley, Boston, 2004. Harris, Robert, and Rob Warner, The Definitive Guide to SWT and JFACE. Apress, Berkeley, CA, 2004. Holder, Stephen, Stephen Holder, Stanford Ng, and Laurent Mihalkovic, SWT/JFace in Action: GUI Design with Eclipse 3.0. Manning Publications, Greenwich, CT, 2004. Cornu, Christophe, "A Small Cup of SWT," IBM OTI Labs, September 19, 2003 (www.eclipse.org/articles/Article-small-cup-of-swt/pocket-PC.html). Winchester, Joe, "Taking a Look at SWT Images," IBM, September 10, 2003 (www.eclipse.org/articles/Article-SWT-images/graphics-resources.html). Irvine, Veronika, "Drag and DropAdding Drag and Drop to an SWT Application," IBM, August 25, 2003 (www.eclipse.org/articles/Article-SWT-DND/DND-in-SWT.html). Arthorne, John, "Drag and Drop in the Eclipse UI," IBM, August 25, 2003 (www.eclipse.org/articles/Article-Workbench-DND/drag_drop.html). Bordeau, Eric, "Using Native Drag and Drop with GEF," IBM, August 25, 2003 (www.eclipse.org/articles/Article-GEF-dnd/GEF-dnd.html). Savarese, Daniel F., "Eclipse vs. Swing," JavaPro, December 2002 (www.ftponline.com/javapro/2002_12/magazine/columns/proshop/default_pf.aspx). Majewski, Bo, "Using OpenGL with SWT," Cisco Systems, Inc., April 15, 2005 (www.eclipse.org/articles/Article-SWT-OpenGL/opengl.html). Kues, Lynne, and Knut Radloff, "Getting Your Feet Wet with the SWT StyledText Widget," OTI, July 19, 2004 (www.eclipse.org/articles/StyledText%201/article1.html). Kues, Lynne, and Knut Radloff, "Into the Deep End of the SWT StyledText Widget," OTI, September 18, 2002 (www.eclipse.org/articles/StyledText%202/article2.html). Li, Chengdong, "A Basic Image Viewer," University of Kentucky, March 15, 2004 (www.eclipse.org/articles/Article-Image-Viewer/Image_viewer.html). MacLeod, Caroly, n and Shantha Ramachandran, "Understanding Layouts in SWT," OTI, May 2, 2002 (www.eclipse.org/articles/Understanding%20Layouts/Understanding%20Layouts.htm). Northover, Steve, "SWT: The Standard Widget ToolkitPART 1: Implementation Strategy for Java™ Natives," OTI, March 22, 2001 (www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html). MacLeod, Carolyn, and Steve Northover, "SWT: The Standard Widget ToolkitPART 2: Managing Operating System Resources," OTI, November 27, 2001 (www.eclipse.org/articles/swt-design-2/swt-design-2.html). Moody, James, and Carolyn MacLeod, "SWT Color Model," OTI, April 24, 2001 (www.eclipse.org/articles/Article-SWT-Color-Model/swt-color-model.htm). Irvine, Veronika, "ActiveX Support In SWT: How Do I Include an OLE Document or ActiveX Control in My Eclipse Plug-in?," OTI, March 22, 2001 (www.eclipse.org/articles/Article-ActiveX%20Support%20in%20SWT/ActiveX%20Support%20in%20SWT.html). |