"Go Into" a specific project in the package explorer [message #695079] |
Sun, 10 July 2011 19:40  |
Eclipse User |
|
|
|
Hi.
I'm currently listing all projects, via ResourcePlugin.getWorkspace().getRoot().getPlugins(), this is the easy part.
You know that you can "Go Into" a project by right-clicking it and selecting "Go Into" in the package explorer(of the JDT). I now want to do exactly that in my java code, I just don't know how. looking at the plugin.xml of org.eclipse.jdt.ui, I can only see the org.eclipse.jdt.ui.PackageExplorer class which
1) I can't use in my code(eclipse does not give me content assist for it)
2) I can't find in the source jar(org.eclipse.jdt.ui.source[...].jar)
Another alternative would be some kind of Filter I can apply to only show resources of a specific project(if that's possible).
So, I hope someone knows how to achieve what I want.
|
|
|
|
|
Re: "Go Into" a specific project in the package explorer [message #697117 is a reply to message #695369] |
Fri, 15 July 2011 11:06  |
Eclipse User |
|
|
|
I looked into it again, and it looks like the ProjectExplorer also has the "Go Into" functionality and since I use my own perspective and don't really want a JDT dependency, using the ProjectExplorer is more appropriate.
Unfortunately, I also can't find information about how to achieve it with the ProjectExplorer. Googling is kinda hard, most of the entries are simply about how to add a filter with the UI :/
|
|
|
Powered by
FUDForum. Page generated in 0.03771 seconds