Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Eclipse Help  RSS feed

 
shriram raj
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to get the directory structure of the ActiveEditor(say Abc.java)
in the Workbench, as (c:\eclipse\workspace\Test\Abc.java)
Iam able to get the currently ActiveEditor name,but not the full file path.
IWorkbenchPage page=
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
IEditorPart editor=page.getActiveEditor();
How would i get it?? Any help would be greatly appreciated.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!