|
|
Re: "Go Into" a specific project in the package explorer [message #695369 is a reply to message #695262] |
Mon, 11 July 2011 15:43 |
timm Messages: 3 Registered: July 2011 |
Junior Member |
|
|
Quote:You will have to add org.eclipse.jdt.ui in your plugin.xml dependencies so that you can use org.eclipse.jdt.ui.PackageExplorer class while implementation.
I already did that.(org.eclipse.jdt.ui is 3.7 btw), but seems like there's no PackageExplorer class. I only get PackageExplorerContentProvider, PackageExplorerLabelProvider, PackageExplorerOpenActionProvider, PackageExplorerPart and PackageExplorerProblemsDecorator.
Quote:For a specific project you can use ResourcePlugin.getWorkspace().getRoot().getProject(projectName) to get a specific project.
I know that. But what I want to achieve is the following:
- Let the user select a project from my project list. When he selects one, I want the PackageExplorer to "go into"(i.e. only show resources of) that project.
[Updated on: Tue, 12 July 2011 17:35] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.07814 seconds