title: Extension point need to register?
body: <p>I have created a new extension point. After creating the extension point and trying to get the configuration elements of the newly created extension point, it always giving me the empty results. Do I need to configure the newly created extension point anywhere in order to make it work?</p>
  
  <p>I followed the same steps that are mentioned in the Vogella tutorial site.</p>
  
  <p><a href="http://www.vogella.com/tutorials/EclipseExtensionPoint/article.html#tutorialextensionpoint_usingextension" rel="nofollow noreferrer">http://www.vogella.com/tutorials/EclipseExtensionPoint/article.html#tutorialextensionpoint_usingextension</a></p>
  
  <p>Everything I have followed according to the above tutorial except the portion of getting:</p>
  
  
  
  <pre class="lang-java prettyprint-override"><code>IConfigurationElement[] config =
          registry.getConfigurationElementsFor(IGREETER_ID);
  </code></pre>
  
  <p>Because I am not using any injection. I added the code in start() method of <code>Activator</code> . Below is the code: </p>
  
  <pre class="lang-java prettyprint-override"><code>IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry();
  IExtensionPoint extensionPoint = extensionRegistry.getExtensionPoint(IGREETER_ID);
  IConfigurationElement[] configurationElements = extensionPoint.getConfigurationElements();
  </code></pre>
  
  <p>I am using Eclipse Mars.</p>