title: Relative filepath to access resources
body: <p>I am quite new to Eclipse 4, RCP and SWT and I am stuck on this issue :
  I want to access image resources from code with a relative filepath. Problem is that the default location <code>./</code> is set to my home directory <code>/home/name/</code> (I'm using Ubuntu). I have found that by creating a new File and printing its CanonicalPath.</p>
  
  <p>I am used to having the default location set to the project directory, such as <code>/home/name/workspace/project/</code>, which is, from what I've seen so far, the default behavior in Eclipse / java programs.</p>
  
  <p>I would like to keep this behavior because it seems more reliable to me (after deployment for example).</p>
  
  <p><strong>Note</strong>: I have tagged e4, rcp and swt because I'm not sure which one causes the difference.</p>