posted 20 years ago
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.