|
Lines 19-43
Link Here
|
| 19 |
<command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.jdt.ui.JavaPerspective)" required="false" translate=""> |
19 |
<command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.jdt.ui.JavaPerspective)" required="false" translate=""> |
| 20 |
</command> |
20 |
</command> |
| 21 |
</item> |
21 |
</item> |
| 22 |
<item title="Download SWT standalone" dialog="true" skip="false" href="/org.eclipse.platform.doc.isv/guide/swt.htm"> |
|
|
| 23 |
<description> |
| 24 |
Open your Web browser to http://download.eclipse.org/eclipse/downloads/, |
| 25 |
select the latest release build, and find the <b>SWT Binary and Source</b> |
| 26 |
download.<br/> |
| 27 |
<br/> |
| 28 |
Save the file to your disk; you do not need to extract the archive. |
| 29 |
</description> |
| 30 |
</item> |
| 31 |
<item title="Import the SWT project" dialog="true" skip="false" href="/org.eclipse.platform.doc.user/tasks/tasks-importproject.htm"> |
22 |
<item title="Import the SWT project" dialog="true" skip="false" href="/org.eclipse.platform.doc.user/tasks/tasks-importproject.htm"> |
| 32 |
<description> |
23 |
<description> |
| 33 |
Import the SWT project from the main menu via File > Import..., |
24 |
Open the Import wizard from the main menu via <b>File > Import...</b>, |
| 34 |
and select <b>Existing Projects into Workspace</b>. Specify the |
25 |
and select <b>Plug-in Development > Plug-ins and Fragments</b>. Click <b>Next</b>.<br/><br/> |
| 35 |
<b>archive</b> file you downloaded and click <b>Finish</b>.<br/> |
26 |
On the <b>Import Plug-ins and Fragments</b> page, select <br/> |
|
|
27 |
<b>Import from: </b> The active target platform.<br/> |
| 28 |
<b>Plug-ins and Fragments to import: </b> Select from all plug-ins and fragments found at specified location.<br/> |
| 29 |
<b>Import As: </b> Projects with source folders.<br/> |
| 30 |
Click <b>Next</b>.<br/><br/> |
| 31 |
On the <b>Selection</b> page, Add <b>org.eclipse.swt.{platform}.{os}.{arch}</b> (for example: org.eclipse.swt.win32.win32.x86 for win32) to <b>Plug-ins and Fragments to Import:</b> list.<br/> |
| 32 |
Click <b>Finish</b>.<br/> |
| 36 |
<br/> |
33 |
<br/> |
| 37 |
This will create the org.eclipse.swt project which we will need |
34 |
This will create the org.eclipse.swt.{platform}.{os}.{arch} project which we will need |
| 38 |
to compile and run the application. |
35 |
to compile and run the application. |
| 39 |
</description> |
36 |
</description> |
| 40 |
<command serialization="org.eclipse.ui.file.import(importWizardId=org.eclipse.ui.wizards.import.ExternalProject)" required="false" translate=""> |
37 |
<command serialization="org.eclipse.ui.file.import(importWizardId=org.eclipse.pde.ui.PluginImportWizard)" required="false" translate=""> |
| 41 |
</command> |
38 |
</command> |
| 42 |
</item> |
39 |
</item> |
| 43 |
<item title="Create a Java project" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/concepts/concepts-3.htm"> |
40 |
<item title="Create a Java project" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/concepts/concepts-3.htm"> |
|
Lines 57-63
Link Here
|
| 57 |
<b>Properties</b>.<br/> |
54 |
<b>Properties</b>.<br/> |
| 58 |
<br/> |
55 |
<br/> |
| 59 |
In the <b>Java Build Path</b> page open the <b>Projects</b> tab, |
56 |
In the <b>Java Build Path</b> page open the <b>Projects</b> tab, |
| 60 |
add the org.eclipse.swt project, then click <b>OK</b>. |
57 |
add the org.eclipse.swt.{platform}.{os}.{arch} project, then click <b>OK</b>. |
| 61 |
</description> |
58 |
</description> |
| 62 |
</item> |
59 |
</item> |
| 63 |
<item title="Create a class" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/gettingStarted/qs-9.htm"> |
60 |
<item title="Create a class" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/gettingStarted/qs-9.htm"> |