Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2cea00a0c9c2c747610c62deffe4d4fc97994c41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!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 &rarr; 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 2000, 2002.  All Rights Reserved." BORDER=0 height=12 width=195></a></p>
</body>
</html>

Back to the top