title: Hiding folders that start with dot in Project Explorer in RCP Project
body: <p>In my RCP project, I would like to programmatically hide the folders that starts with dot in the <em>Project Explorer</em> (when the user browse to open a file).</p>
  
  <p>I have used the below extensions to achieve this, but sadly it did not work. Can someone help? Thank You.</p>
  
  <pre><code>&lt;extension point="org.eclipse.ui.navigator.navigatorContent"&gt;
      &lt;commonFilter
          description="Hides .* resources"
          id="com.xyz.commonFilter.hidePj"
          name=".* resources"
          activeByDefault="true"&gt;
          &lt;filterExpression&gt;
              &lt;and&gt;
                  &lt;adapt type="org.eclipse.core.resources.IResource"&gt;
                      &lt;test property="org.eclipse.core.resources.name" value=".*"/&gt;
                  &lt;/adapt&gt;
              &lt;/and&gt;
          &lt;/filterExpression&gt;
      &lt;/commonFilter&gt;
  &lt;/extension&gt;
  
  &lt;extension point="org.eclipse.ui.navigator.viewer"&gt;
      &lt;viewerContentBinding
            viewerId="org.eclipse.ui.navigator.ProjectExplorer"&gt;
            &lt;includes&gt;
             &lt;contentExtension pattern="com.xyz.commonFilter.hidePj"/&gt; 
            &lt;/includes&gt;
      &lt;/viewerContentBinding&gt;
  &lt;/extension&gt;
  </code></pre>
  
  <p><strong>Note:</strong> I am using eclipse Ganymede.</p>