假设我在 Eclipse 中有 n 个项目,它们只是在概念上连接。
如何将这些项目中的每一个作为一个包添加到一个新的伞形项目中?
In order to logically combine the elements (in this case, projects) together, you can create a "Working Set" in Eclipse. There can be different type of working set.
Here are steps to create a Java working set (as the question is tagged as Java):
Once the working set is created, you can use it at many place in eclipse. Personally I use them a lot in search to narrow the search results and on Package/Project Explorer to see only the projects I am interested in at the moment.
To emphasize that the Java working sets are just logical grouping of the projects, here are couple of examples.
Read more on the offical eclipse documentation.