title: Project specific preference page in Eclipse RCP application
body: <p>I want to enable project-based Preference-dialogs for our product. I stumble upon 2 different problems:</p>
  
  <p>How do I store those project related informations. As an educated guess I would try this one:</p>
  
  <ul>
  <li><code>IPreferenceStore store = new ScopedPreferenceStore(new ProjectScope(project.getIProject()), Activator.PLUGIN_ID)</code>;</li>
  <li>Afterwards set the "project store" as I want (for example inside a preference page as store)</li>
  </ul>
  
  <p>How do I enable a Preference Page only for a project? I know I can call a preference dialog with some preselected pages using the <code>PreferenceUtils.createPreferenceDialogOn(…)</code>. Unfortunately the IDs of the preference pages have to defined in the <code>org.eclipse.ui.preferencePages</code>extension point. But if they are inside this extension point, these pages are also in the global "Preferences" of the product. If they are not specified inside the EP the pages are not shown.</p>
  
  <p>Any hints on that? Thanks in advance :)</p>
  
  <p><strong>EDIT:</strong> What I actually wanted was a properties dialog, not a preference dialog. If you are working with property pages, the PreferenceUtils does not work at all. If you contribute a properties page via <code>org.eclipse.ui.propertyPages</code> it works well for the standard eclipse navigator - but how do I handle this inside a custom navigator (Common Navigator Framework)?</p>