Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Reveal a file in the package explorer
Reveal a file in the package explorer [message #1042707] Tue, 16 April 2013 15:33
Damien Martin-Guillerez is currently offline Damien Martin-Guillerez
Messages: 10
Registered: December 2012
Junior Member
Hello,

I am trying to reveal a file in the package explorer when creating a project using a wizard. To do so, I found the following solution:
Quote:

PackageExplorerPart part = PackageExplorerPart.getFromActivePerspective();
part.selectAndReveal(file);


However, it is discouraged to access the PackageExplorerPart but I cannot find a way to do that easily by another mean. Can someone point me to the correct solution?

Thanks!
Previous Topic:Plugins installed using aTarget Definition are not properly installed
Next Topic:Project icon is not visualized
Goto Forum:
  


Current Time: Fri Aug 29 10:16:59 EDT 2014

Powered by FUDForum. Page generated in 0.01633 seconds