Skip to main content

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

alphaworks tab navigation

 

Platform requirements

PC platform

Embedded platform

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.

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: swg-archive-3.x.x-yyyymmdd.zip. 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.

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: swg-eswt.series80-1.x.x-yyyymmdd.zip. 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.

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: swg-source.delta-yyyymmdd.zip. 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.)


Download description

Filename File size Description
swg-archive-3.2.1-20070503.zip    4488KBArchive to install SWG into Eclipse or Eclipse RCP based applications for Windows, Linux (x86/GTK 2) and Linux 64-bit (x86_64 /GTK 2)
swg-eswt.series80-1.0.0-20070503.zip    3064KBSWG (Standard Widget Graphics) for Nokia Series 80 embedded platform
swg-gtk.linux.x86-3.2.1-20070503.tar.gz    5024KBSWG (Standard Widget Graphics) for Linux (x86/GTK 2)
swg-gtk.linux.x86_64-3.2.1-20070503.tar.gz    4772KBSWG (Standard Widget Graphics) for Linux 64-bit (x86_64 /GTK 2)
swg-source.delta-20070503.zip    544KBThe modified original SWT/eSWT source code files providing the "Graphics hooks"
swg-win32.win32.x86-3.2.1-20070503.zip    5940KBSWG (Standard Widget Graphics) for Windows

Trademarks