IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Eclipse technology  >  

Standard Widget Graphics for Eclipse

A set of standard graphic objects built into the Standard Widget Toolkit (SWT) from Eclipse, providing both new widget controls and an animation framework that share a common programming model with the existing controls in SWT.


Date Posted: March 1, 2007
OverviewRequirementsDownload FAQs Forum Reviews

Platform requirements

PC platform

  • Operating systems: Windows, Linux (x86/GTK 2 or x86_64/GTK 2). (For further information, please see "Supported Versions" in the section "SWT Binary and Source" at Eclipse. SWG is based upon SWT and has the same platform requirements.)
  • Hardware: x86-based PC
  • Software: Java 1.4.2 or above.

Embedded platform

  • Operating systems: Nokia Series 80
  • Hardware: Nokia 9300 or 9500 Communicator phone.

Installation instructions

The Standard Widget Graphics (SWG) comprises a set of stand-alone installations, an archive that allows SWG to be easily installed into the Eclipse platform, and a zip file containing the modified SWT/eSWT source files that were altered in support of the SWG.

The naming convention used for the packages includes the Eclipse version of SWT/eSWT upon which the code has been built. In the actual download packages, the 3.x.x and 1.x.x as indicated in the package names below is replaced by the actual Eclipse version. In addition, yyyymmdd is replaced by the SWG package build date.

PC platform: Windows and Linux (x86/GTK 2 or x86_64/GTK 2)

The following packages contain the Standard Widget Graphics and can be used to develop and run stand-alone applications. The packages contain the binary object code (libraries) for SWG, Javadoc for the API, a reference book PDF, sample code for SWG including a launcher, source code for the samples, licenses, notices, and a readme file.

  • swg-win32.win32.x86-3.x.x-yyyymmdd.zip
  • swg-gtk.linux.x86-3.x.x-yyyymmdd.tar.gz
  • swg-gtk.linux.x86_64-3.x.x-yyyymmdd.tar.gz

Install the appropriate file for your platform as follows:

  1. Unpack the file into a directory of your choice.
  2. In order to run the launcher for the samples, run the run.bat or run.sh file.

Optional installation as an Eclipse feature

An archive package is also provided that allows the Standard Widget Graphics to be installed as a feature in Eclipse. This file contains the binary SWG library files from the above packages in a form that can be easily installed into and uninstalled from Eclipse. Because the SWG contains the complete SWT code, this feature will cause Eclipse to use it as a "new version of SWT." This archive is best installed as an "archived site": There is no need to unpack the zip file; just use it directly for the installation process, which will install only the correct platform code from this archive. Detailed installation procedures in the zip file can be extracted if you are not familiar with installing a feature into Eclipse.

    swg-archive-3.x.x-yyyymmdd.zip

Embedded platform

The following package contains the Standard Widget Graphics and can be used to develop and run stand-alone applications for the embedded platform. This package's content is similar to that of the stand-alone PC platform packages; however, instead of launching a run file from the unpacked contents, it has a Symbian OS .sis installer for loading the SWG JAR and sample content on the device. In addition, unlike the Windows and Linux packages, which are completely self-contained, this Series 80 version requires the Eclipse eSWT to first be installed on the device. The readme file in the package contains detailed instructions for this and for running the installed samples launcher.

    swg-eswt.series80-1.x.x-yyyymmdd.zip

Graphics hooks

Under the terms of the Eclipse Public License, the following zip file contains the modified set of source files from SWT and eSWT. The modifications provide the "graphics hooks" for SWG. The complete source for the original SWT and eSWT versions can be found on the Eclipse Web site; the files in this package replace the corresponding files of the original source in order to form the SWT and eSWT with "graphics hooks" components. (Note: The SWG contains other new IBM developed code under the alphaWorks license. That source code is not provided.)

    swg-source.delta-yyyymmdd.zip

View screenshots:
Simple applications built with Standard Widget Graphics.

Download now Download now

Related technologies

For platform(s):
Multi-Platform

For topics:
application programming interface (API), Developer kits, Eclipse, Graphics, Java technology, linux, Standard Widget Toolkit (SWT), user interface, visualization, Rich client


Related resources

Create richer, graphical, interactive applications with Standard Widget Graphics for Eclipse

 

    About IBM Privacy Contact