Colorado State University

How To Import Files In To Eclipse


The easiest way to import files (such as the code examples you downloaded
from the book), is to drag-and-drop them from the file system.
Click on the file(s) you wish to import, holding the mouse button down
drag the mouse over to the project folder where you want to dump them.


There's a really cool wizard and help doc with graphics at:

www.eclipse.org 's help on the wizard



Text explanation from eclipse.org::

Importing resources from the file system

You can use the Import Wizard to copy files from a file system directory into the Workbench.

   1. From the main menu bar, select File > Import. The Import wizard opens.
   2. Select File System and click Next.
   3. Click the Browse button on the next page of the wizard 
	to select the directories from which you would like to add the resources.
   4. In the import selection panes, 
	use the following methods to 
	select exactly the resources you want to add:
          * Expand the hierarchies in the left pane and 
		select or clear the checkboxes that represent the folders 
		in the selected directory. 
		Then in the right pane, select or clear checkboxes for individual files.
          * Click Filter Types to filter the current selection for files of a specific type.
          * Click Select All to select all resources in the directory, 
		then go through and deselect the ones that you do not want to add.
          * Click Deselect All to deselect all resources in the directory, 
		then go through and choose individual resources to add.
   5. Specify the Workbench project or folder that will be the import destination.
   6. When you have finished specifying your import options, click Finish.