Eclipse 简明教程

Eclipse - Workspaces

About Eclipse Workspace

Eclipse 工作区包含以下资源:

The eclipse workspace contains resources such as −

  1. Projects

  2. Files

  3. Folders

工作区具有一个层次结构。项目是层次结构的顶层,在其中你可以拥有文件和文件夹。插件使用资源插件提供的 API 来管理工作区中的资源。

The workspace has a hierarchical structure. Projects are at the top level of the hierarchy and inside them you can have files and folders. Plug-ins use an API provided by the resources plug-in to manage the resources in the workspace.

UI Elements for Managing the Workspace

用户使用视图、编辑器和向导提供的功能来创建和管理工作区中的资源。显示工作区内容的众多视图之一是项目资源管理器视图。

Users use the functionality provided by views, editors and wizard to create and manage resources in the workspace. One among the many views that show the content of the workspace is the Project Explorer view.

eclipse workspace pe

文件向导(文件 → 新建 → 文件)可用来创建一个新文件。

The File Wizard (File → New → File) can be used to create a new file.

eclipse workspace new file

文件夹向导(文件 → 新建 → 文件夹)可用来创建一个新文件夹。

The Folder Wizard (File → New → Folder) can be used to create a new folder.

eclipse workspace new folder