Fixes a problem that could have solved #2071; Resolves the problems described in...
[taxeditor.git] / taxeditor-store / plugin.xml
index 248134d02b4e34111f548e985b2aa8f44e84cacc..1915742e22bd9fe20d7b0ba86134c8a76b3015cc 100644 (file)
             category="eu.etaxonomy.taxeditor.preferences.general"
             class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
             id="eu.etaxonomy.taxeditor.preferences.matching"
-            name="Matching">
+            name="Matching (Experimental)">
       </page>
       <page
             category="eu.etaxonomy.taxeditor.preferences.matching"
                      name="org.eclipse.ui.views.showView.viewId"
                      value="eu.etaxonomy.taxeditor.reporting.viewPart">
                </parameter>
+               <visibleWhen
+                     checkEnabled="true">
+                  <reference
+                        definitionId="isShowExperimentalFeatures">
+                  </reference>
+               </visibleWhen>
             </command>
          </menu>
       </menuContribution>
          properties="isCompatible"
          type="org.eclipse.jface.viewers.IStructuredSelection">
    </propertyTester>
+   <propertyTester
+         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
+         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
+         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
+         properties="isShowExperimentalFeatures"
+         type="org.eclipse.jface.viewers.IStructuredSelection">
+   </propertyTester>
 </extension>
 <extension
       point="org.eclipse.core.expressions.definitions">
          </test>
       </with>
    </definition>
+   <definition
+         id="isShowExperimentalFeatures">
+      <with
+            variable="activeMenuSelection">
+         <test
+               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
+         </test>
+      </with>
+   </definition>
 </extension>
        
 </plugin>