Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 74867e408ea7ab240bf61bb0bcbfaf14ed5eb9ef (plain) (tree)






































































                                                                                                             
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
 Copyright (c) 2015 Christian W. Damus and others.
 
 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html

 Contributors:
   Christian W. Damus - Initial API and implementation
   
-->
<plugin>
   <extension
         id="org.eclipse.papyrus.dev.tests.framework.nature"
         point="org.eclipse.core.resources.natures"
         name="Papyrus Diagram Tests Project">
      <builder
            id="org.eclipse.papyrus.dev.tests.framework.builder">
      </builder>
      <requires-nature
            id="org.eclipse.jdt.core.javanature">
      </requires-nature>
      <requires-nature
            id="org.eclipse.xtext.ui.shared.xtextNature">
      </requires-nature>
      <runtime>
         <run
               class="org.eclipse.papyrus.dev.tests.framework.internal.PapyrusDiagramTestProjectNature">
         </run>
      </runtime>
   </extension>
   <extension
         id="org.eclipse.papyrus.dev.tests.framework.builder"
         point="org.eclipse.core.resources.builders"
         name="Papyrus Diagram Tests Generator">
      <builder
            callOnEmptyDelta="false"
            hasNature="true"
            isConfigurable="false"
            supportsConfigurations="false">
         <run
               class="org.eclipse.papyrus.dev.tests.framework.internal.PapyrusDiagramTestsGenerationBuilder">
         </run>
      </builder>
   </extension>
   <extension
         point="org.eclipse.core.expressions.definitions">
      <definition
            id="org.eclipse.papyrus.dev.tests.framework.hasNature">
         <and>
	        <count
	              value="+">
	        </count>
	        <iterate
	              ifEmpty="false"
	              operator="and">
	           <adapt
                     type="org.eclipse.core.resources.IProject">
	              <test
	                 property="org.eclipse.core.resources.projectNature"
	                 value="org.eclipse.papyrus.dev.tests.framework.nature">
	              </test>
	           </adapt>
	        </iterate>
	     </and>
      </definition>
   </extension>
</plugin>

Back to the top