title: Populate extension point's element attribute during runtime
body: <p>Here is my use case. I have an Editor that different plugins can use to display their data. These plugins can create (with intervention from user - wizards) different files that Editor can accept: .p1, .p2, etc. Each plugin contributes file extensions of files that it produces and this data is available via custom extension point. I need a way, if possible to "inject" this data into <strong>org.eclipse.ui.editors</strong> extension point's <strong>extensions</strong> attribute.</p>
  
  <p>One way I was thinking about doing this is in a plugin that is called early enough collect file extensions from all plugins that use my extension point and write these values into plugin.properties file's key like supportedFileExtension and extension point org.eclipse.ui.editors will in turn consume this file:</p>
  
  <pre><code> &lt;extension
     point="org.eclipse.ui.editors"&gt;
  &lt;editor
        class="MyEditor"
        contributorClass="MyActionBarContributor"
        default="false"
        extensions="%supportedFileExtensions"
        id="my.com.editor"
        name="My Editor"&gt;
  &lt;/editor&gt;
  </code></pre>
  
  <p></p>
  
  <p>I also saw class ExtensionParameterValues which is something I can possibly use, but for developer who might want to reuse this little mechanism, it might not be obvious enough what's going, especially when extensions attribute would be empty when using ExtensionParameterValues class. Of course I can put this in documentation, but who reads that, right? :)</p>
  
  <p>Perhaps I am overlooking something simple and there is an easier way to do what I am trying to accomplish?</p>