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 19:33
Damien Martin-Guillerez is currently offline Damien Martin-GuillerezFriend
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 Nov 28 02:01:49 GMT 2014

Powered by FUDForum. Page generated in 0.01524 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software