title: Eclipse RCP 4.x - Defining workspace location
body: <p>I know that this question was asked many times, but I didn't find an exact answer which would fulfill my desires :) </p>
  
  <p>Long story short:
  I've got simple E4 application, product project, feature and main plugin with simple trim window. </p>
  
  <p>Works, after exporting works too.</p>
  
  <p>Now. I add lifeCycleURI property, create bundleclass for it and create simple dialog with Text area and a Button. Run it\export it and it works, before running main Trim Window dialog is shown. Fine.. Cool etc.</p>
  
  <p>But I want to enter location eg. C:\TEST and after clicking button I want it to be my workspace area for the application (with .metedata and so on). HOW ???</p>
  
  <p>Of course I've tried with :</p>
  
  <pre><code>Location instanceLocation = Platform.getInstanceLocation();
  instanceLocation.set(new URL("file", null, "C:\TEST"), false);
  </code></pre>
  
  <p>But... It says that I can't change location cause it is already set... Tried to use above in Activator. The same. Tried to add 
  <code>-data @noDefault</code> in products Launching Arguments ... The same...</p>
  
  <p>I always try to accomplish my tasks by myself but this.... this... ehh... Help ?</p>