summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2002-06-19 19:50:55 +0000
committerVeronika Irvine <veronika>2002-06-19 19:50:55 +0000
commite900db71e3840d73d6c621f5072a7db6f60ce758 (patch)
tree30b1ecac1daebc1343616e6f3252c5e6063706dd /examples
parentf9c953e387db05b5ddfe65c4933fb2d40f2972a0 (diff)
downloadeclipse.platform.swt-e900db71e3840d73d6c621f5072a7db6f60ce758.tar.gz
eclipse.platform.swt-e900db71e3840d73d6c621f5072a7db6f60ce758.tar.xz
eclipse.platform.swt-e900db71e3840d73d6c621f5072a7db6f60ce758.zip
documentation updates
Diffstat (limited to 'examples')
-rw-r--r--[-rwxr-xr-x]examples/org.eclipse.swt.examples.controls/doc-html/hglegal2002.htm (renamed from examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm)4
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gifbin814 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy2002.gifbin0 -> 1558 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html26
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/plugin.properties8
-rw-r--r--examples/org.eclipse.swt.examples.launcher/doc-html/hglegal2002.htm (renamed from examples/org.eclipse.swt.examples.layouts/doc-html/hglegal.htm)4
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gifbin814 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy2002.gifbin0 -> 1558 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html57
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/plugin.properties35
-rw-r--r--[-rwxr-xr-x]examples/org.eclipse.swt.examples.layouts/doc-html/hglegal2002.htm (renamed from examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm)4
-rw-r--r--examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy.gifbin814 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy2002.gifbin0 -> 1558 bytes
-rw-r--r--examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html111
-rw-r--r--examples/org.eclipse.swt.examples.layouts/plugin.properties10
15 files changed, 74 insertions, 185 deletions
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.controls/doc-html/hglegal2002.htm
index b071dbdf45..74393f08f3 100755..100644
--- a/examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm
+++ b/examples/org.eclipse.swt.examples.controls/doc-html/hglegal2002.htm
@@ -2,13 +2,13 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">
+ <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Legal Notices</title>
</head>
<body>
<h3>
<a NAME="Notices"></a>Notices</h3>
-(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.
+(c) Copyright IBM Corp. 2000, 2002. All Rights Reserved.
</body>
</html>
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif
deleted file mode 100755
index 360f8e9989..0000000000
--- a/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy2002.gif b/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy2002.gif
new file mode 100644
index 0000000000..dd2f444669
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy2002.gif
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html b/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html
index 46c2349bf4..cf6bad3808 100755
--- a/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html
+++ b/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html
@@ -6,28 +6,22 @@
</head>
<body>
-<h2>Example - SWT Controls</h2>
+<h2>SWT Example - Controls Example</h2>
-<h3>Introduction</h3>
-<p>This example is a simple demonstration of common Standard Widget Toolkit
-(SWT) UI controls.&nbsp; It consists of a shell and tab folder where each
-tab in the folder allows the user to interact with a control.
+<p>
+The Controls example is a simple demonstration of common SWT controls.
+It consists of a tab folder where each tab in the folder allows the user
+to interact with a different control.
+The user can change styles and settings and view how this affects the control.
</p>
<h3>Running the example</h3>
-<p>To run the Controls Example, pull down the Perspective menu, select the
-Show View menu item, then select Other from the submenu.&nbsp; A dialog
-will come up with a list of views.&nbsp; Expand SWT Examples and select
-the view named Controls.&nbsp; A view containing a number of tabbed pages
-will appear.
+<p>To run the Controls Example, from the Window menu select Show View &#8594; Other.
+In the Show View dialog, expand SWT Examples and select the
+view named SWT Controls. A view titled SWT Controls will appear in your current perspective.
</p>
-<h3>Details</h3>
-<p>Each page (tab) of the controls example allows the user to interact with
-a different SWT control.&nbsp; The name of the control being demonstrated
-on each page is on the tab.
-</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></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>
diff --git a/examples/org.eclipse.swt.examples.controls/plugin.properties b/examples/org.eclipse.swt.examples.controls/plugin.properties
index fb8794eefc..418cd71a1e 100755
--- a/examples/org.eclipse.swt.examples.controls/plugin.properties
+++ b/examples/org.eclipse.swt.examples.controls/plugin.properties
@@ -10,7 +10,7 @@ launchcategory.SWTViewExamples.description = \
launchitem.ControlsExample.name = Controls
launchitem.ControlsExample.description = \
- This example is a simple demonstration of common Standard Widget Toolkit (SWT) UI controls.\n\n\
- The example consists of a shell and tab folder where each tab in the folder allows the user to interact with a control. \
- Each page (tab) of the controls example allows the user to interact with a different SWT control. \
- The name of the control being demonstrated on each page is on the tab.
+ This example is a simple demonstration of common SWT controls.\n\n\
+ It consists of a tab folder where each tab allows the user \
+ to interact with a different SWT control. \
+ The user can change styles and settings and view how this affects the control. \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.layouts/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal2002.htm
index b071dbdf45..74393f08f3 100644
--- a/examples/org.eclipse.swt.examples.layouts/doc-html/hglegal.htm
+++ b/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal2002.htm
@@ -2,13 +2,13 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">
+ <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Legal Notices</title>
</head>
<body>
<h3>
<a NAME="Notices"></a>Notices</h3>
-(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.
+(c) Copyright IBM Corp. 2000, 2002. All Rights Reserved.
</body>
</html>
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif
deleted file mode 100755
index 360f8e9989..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy2002.gif b/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy2002.gif
new file mode 100644
index 0000000000..dd2f444669
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy2002.gif
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html b/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html
index de06be5062..a174343532 100755
--- a/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html
+++ b/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html
@@ -6,49 +6,40 @@
</head>
<body>
-<h2>Example Launcher</h2>
+<h2>SWT Example Launcher</h2>
-<h3>Introduction</h3>
-<p>The Example Launcher is a tool for enumerating, running and browsing a variety of examples.
-While these operations may be performed manually (with some difficulty), the Example Launcher
-offers a convenient interface.&nbsp; For information on how to manipulate particular examples
-manually, please consult their related documentation.
+<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>To run the Example Launcher, pull down the Perspective menu, select the
-Show View menu item, then select Other from the submenu.&nbsp; A dialog
-will come up with a list of views.&nbsp; Expand SWT Examples and select
-the view named SWT Example Launcher.&nbsp; A view containing a list of examples to
-choose will appear.
-</p>
-<h3>About the examples</h3>
-<p>The Example Launcher can launch two different types of examples: Workbench Views,
-and Standalone applications.&nbsp; Examples will generally be organized into categories to
-distinguish the one from the other.
-</p>
-<p>Workbench Views are GUI panels that sit inside a given perspective. When the Launcher
-starts a program that is written to interact with the Workbench as a view, it is opened and
-embedded into the currently active perspective.
-</p>
-<p>Standalone applications are programs that run using the platform's event loop.
-The open() method of these programs is invoked from the launcher.
+<p>
+From the Window menu, select Show View &#8594; 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 2 buttons.
+<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.&nbsp; When an example is selected from the tree, the text area
-shows a short description of each example.&nbsp; The selected example can
-be executed by clicking on the Run button, which can be found just below
-the tree list.
-</p><p>
-Depending on the example and on the configuration of your system, it may be
-necessary to alter Project build paths or to define classpath variables to compile
-or run examples that have been imported to the Workspace.
+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="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></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>
diff --git a/examples/org.eclipse.swt.examples.launcher/plugin.properties b/examples/org.eclipse.swt.examples.launcher/plugin.properties
index 8b0bf5b105..05c328a5f7 100755
--- a/examples/org.eclipse.swt.examples.launcher/plugin.properties
+++ b/examples/org.eclipse.swt.examples.launcher/plugin.properties
@@ -12,36 +12,11 @@ launchcategory.SWTViewExamples.description = \
launchitem.LauncherExample.name = Launcher
launchitem.LauncherExample.description = \
- Introduction\n\
- The Example Launcher is a tool for enumerating, running and browsing a variety of examples. \
- While these operations may be performed manually (with some difficulty), the Example Launcher \
- offers a convenient interface. For information on how to manipulate particular examples \
- manually, please consult their related documentation.\n\n\
- Running the Example Launcher\n\
- To run the Example Launcher, pull down the Perspective menu, select the \
- Show View menu item, then select Other from the submenu. A dialog \
- will come up with a list of views. Expand SWT Examples and select \
- the view named SWT Example Launcher. A view containing a list of examples to \
- choose will appear.\n\n\
- About the examples\n\
- The Example Launcher can launch two different types of examples: Workbench Views, \
- and Standalone applications. Examples will generally be organized into categories to \
- distinguish the one from the other.\n\n\
- Workbench Views are GUI panels that sit inside a given perspective. When the Launcher \
- starts a program that is written to interact with the Workbench as a view, it is opened and \
- embedded into the currently active perspective.\n\n\
- Standalone applications are programs that run using the platform's event loop. The \
- open() method of these programs is invoked from the launcher.\n\n\
- Details\n\n\
- The example launcher view contains a tree list, a text area, and 2 buttons. \
- 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 \
- shows a short description of each example. The selected example can \
- be executed by clicking on the Run button, which can be found just below \
- the tree list.\n\n\
- Depending on the example and on the configuration of your system, it may be \
- necessary to alter Project build paths or to define classpath variables to compile \
- or run examples that have been imported to the Workspace.
+ The Example Launcher is used to launch SWT examples which can either be \
+ Workbench Views, or Standalone applications.\n\n\
+ Workbench Views are examples that are integrated into Eclipse. When the Launcher \
+ starts a Workbench View, it is opened in the currently active perspective.\n\n\
+ Standalone applications are launched in a separate window.
error.CouldNotLoadResources = Unable to load resources
error.CouldNotFindRegisteredExtensions = Could Not Find Registered Extensions
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.layouts/doc-html/hglegal2002.htm
index b071dbdf45..74393f08f3 100755..100644
--- a/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm
+++ b/examples/org.eclipse.swt.examples.layouts/doc-html/hglegal2002.htm
@@ -2,13 +2,13 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.73 [en] (Win98; U) [Netscape]">
+ <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Legal Notices</title>
</head>
<body>
<h3>
<a NAME="Notices"></a>Notices</h3>
-(c) Copyright IBM Corp. 2000, 2001. All Rights Reserved.
+(c) Copyright IBM Corp. 2000, 2002. All Rights Reserved.
</body>
</html>
diff --git a/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy.gif
deleted file mode 100644
index 360f8e9989..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy2002.gif b/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy2002.gif
new file mode 100644
index 0000000000..dd2f444669
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy2002.gif
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html b/examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html
index 62958746f3..74676b3999 100644
--- a/examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html
+++ b/examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html
@@ -1,102 +1,29 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html xmlns:v="urn:schemas-microsoft-com:vml"
-xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
+<html>
<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List href="./swt_laoyut_ex_files/filelist.xml">
-<link rel=Edit-Time-Data href="./swt_laoyut_ex_files/editdata.mso">
-<!--[if !mso]>
-<style>
-v\:* {behavior:url(#default#VML);}
-o\:* {behavior:url(#default#VML);}
-w\:* {behavior:url(#default#VML);}
-.shape {behavior:url(#default#VML);}
-</style>
-<![endif]-->
-<title>SWT - Controls Example</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Author>SJacoby</o:Author>
- <o:Template>Normal</o:Template>
- <o:LastAuthor>SJacoby</o:LastAuthor>
- <o:Revision>3</o:Revision>
- <o:TotalTime>1</o:TotalTime>
- <o:Created>2002-04-01T14:31:00Z</o:Created>
- <o:LastSaved>2002-04-01T14:31:00Z</o:LastSaved>
- <o:Pages>1</o:Pages>
- <o:Words>127</o:Words>
- <o:Characters>729</o:Characters>
- <o:Company>Object Technology International</o:Company>
- <o:Lines>6</o:Lines>
- <o:Paragraphs>1</o:Paragraphs>
- <o:CharactersWithSpaces>895</o:CharactersWithSpaces>
- <o:Version>9.3821</o:Version>
- </o:DocumentProperties>
-</xml><![endif]-->
-<style>
-<!--
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0cm;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:612.0pt 792.0pt;
- margin:72.0pt 90.0pt 72.0pt 90.0pt;
- mso-header-margin:35.4pt;
- mso-footer-margin:35.4pt;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>SWT - Layout Overview</title>
</head>
+<body>
-<body lang=EN-CA link=blue vlink=blue style='tab-interval:36.0pt'>
-
-<div class=Section1>
-
-<h2>Example - SWT Layouts</h2>
+<h2>SWT Example - Layout Overview</h2>
-<h3>Introduction</h3>
-
-<p>This example is a simple demonstration of common Standard Widget Toolkit
-(SWT) layouts.&nbsp; It consists of a shell and tab folder where each tab in
-the folder allows the user to interact with a layout. </p>
+<p>
+This example is a simple demonstration of common SWT layouts.
+It consists of a tab folder where each tab allows the
+user to interact with a different SWT layout.
+The user can insert widgets into a layout and set the values of the layout data
+using a property sheet. When the user has a suitable arrangement, code can be
+generated by clicking on the Code button.
+</p>
<h3>Running the example</h3>
-<p>To run the Layout Example, pull down the Perspective menu, select the Show
-View menu item, then select Other from the submenu.&nbsp; A dialog will come up
-with a list of views.&nbsp; Expand SWT Examples and select the view named Layouts.&nbsp;
-A view containing a number of tabbed pages will appear. </p>
-
-<h3>Details</h3>
-
-<p>Each page (tab) of the controls example allows the user to interact with a
-different SWT layout.&nbsp; The name of the control being demonstrated on each
-page is on the tab. </p>
-
-<p><a href="hglegal.htm"><span style='text-decoration:none;text-underline:none'><img
-border=0 width=195 height=12 id="_x0000_i1025" src=ngibmcpy.gif
-alt="Copyright IBM Corporation 2000, 2001. All Rights Reserved."></span></a></p>
-
-</div>
+<p>From the Window menu select Show View &#8594; Other.
+In the Show View dialog, expand SWT Examples and select the
+view named SWT Layouts. A view titled SWT Layouts will appear in your current perspective.
+</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>
+</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.layouts/plugin.properties b/examples/org.eclipse.swt.examples.layouts/plugin.properties
index 4ffc017872..2e18a431a5 100644
--- a/examples/org.eclipse.swt.examples.layouts/plugin.properties
+++ b/examples/org.eclipse.swt.examples.layouts/plugin.properties
@@ -10,7 +10,9 @@ launchcategory.SWTViewExamples.description = \
launchitem.LayoutExample.name = Layouts
launchitem.LayoutExample.description = \
- This example is a simple demonstration of common Standard Widget Toolkit (SWT) layouts.\n\n\
- The example consists of a shell and tab folder where each tab in the folder allows the user to interact with a layout. \
- Each page (tab) of the layout example allows the user to interact with a different SWT layout by adding controls and modifying their layout data. \
- The name of the layout being demonstrated on each page is on the tab.
+ This example is a simple demonstration of common SWT layouts. \n\n\
+ It consists of a tab folder where each tab allows the \
+ user to interact with a different SWT layout.\
+ The user can insert widgets into a layout and set the values of the layout data \
+ using a property sheet. When the user has a suitable arrangement, code can be \
+ generated by clicking on the Code button.