eclipse - 谁能解释Eclipse中项目资源管理器,包资源管理器和导航器之间的确切区别?

标签 eclipse project package navigator

eclipse中的项目浏览器,程序包浏览器和导航器之间的确切区别是什么?

我很困惑使用这三个。因为所有人似乎都符合相同的目的。我不知道确切的区别是什么。谁能向我解释一下,并建议哪个更适合退房?

最佳答案

Eclipse Documentation about the Common Navigator Framework:

There are currently 3 major navigators in the Eclipse IDE.

  1. Project Explorer - This is an instance of the CommonNavigator that is provided by the org.eclipse.ui.navigator.resources plugin. It provides a view of the workspace and has a large number of NCEs contributed for resources, Java, C, Web Tools, Data Tools, PHP, etc.

  2. Package Explorer - Provided by the Java Development Tools (JDT) UI project, this provides a view of Java classes for the workspace. Generally speaking, the presentation of the Package Explorer and Project Explorer for Java objects is substantially similar. The JDT is not used for projects beyond Java.

  3. Navigator - This view is an implementation of the now deprecated (as of 3.5) org.eclipse.ui.views.navigator.ResourceNavigator class provided in the org.eclipse.ui.ide plugin. It shows only the workspace resources and does not support extensibility to show other content. In a future release, the Navigator view will be provided by an implementation of the CommonNavigator.



希望这可以帮助。

关于eclipse - 谁能解释Eclipse中项目资源管理器,包资源管理器和导航器之间的确切区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9991232/

相关文章:

java - 项目方面java 1.8版不存在

eclipse - 使用eclipse构建多个项目配置

C项目文件错误: structure is being duplicated in 2 files

java - 刷新gradle项目时IntellIj 2018.3 java.lang.AssertionError

Python 重新打包现有包以进行分发

haskell - Windows 10 上的 ghci 错误 : user specified . o/.so/.DLL 无法加载(addDLL: pthread

java - EMF 中是否可以将 POJO 作为 ESuperType?

sql - Eclipse sql 代码补全

go - 所有 Go 项目都需要在 GOPATH 下运行吗?

mysql - RMySQL 或 RMariaDB 连接到 MySQL 8 数据库?