<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title>SWT - Example Launcher</title> | |
</head> | |
<body> | |
<h2>SWT Example Launcher</h2> | |
<p> | |
The Example Launcher is used to launch SWT examples which can either be Workbench Views, | |
or Standalone applications. | |
</p> | |
<ul> | |
<li>Workbench Views are examples that are integrated into Eclipse. When the Launcher | |
starts a Workbench View, it is opened in the currently active perspective. | |
<li>Standalone applications are launched in a separate window. | |
</ul> | |
<h3>Running the Example Launcher</h3> | |
<p> | |
From the Window menu, select Show View --> Other. | |
In the Show View dialog, expand SWT Examples and select the SWT Example Launcher view. | |
A view containing a list of examples will appear in your current perspective. | |
Select an example from the list. A brief description of the example is displayed. | |
Click on the Run button to launch the example. | |
</p> | |
<h3>Details</h3> | |
<p>The example launcher view contains a tree list, a text area, and a button. | |
The tree list contains a list of all the SWT examples you can choose | |
to run. When an example is selected from the tree, the text area | |
displays a short description of the example. The selected example can | |
be launched by clicking on the Run button. Standalone examples are run in the | |
same thread as the workbench's UI but they are not integrated into the perspective. | |
The launcher invokes the <code>open()</code> method of the standalone example. | |
</p> | |
<p><a href="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation and others 2000, 2002. All Rights Reserved." BORDER=0 height=14 width=324></a></p> | |
</body> | |
</html> |