public static IFile getResourceFromFSPath ( String location ) { return Activator . getDefault ( ) . getWorkspace ( ) . getRoot ( ) . getFileForLocation ( new Path ( location ) ) ; }
Resolves a file system location to an Eclipse workspace resource .