<commit_before><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

   <extension
         point="org.eclipse.ui.editors">
      <editor
            name="Requirements Editor"
            extensions="rqs"
            icon="icons/sample.gif"
            contributorClass="eu.scasefp7.eclipse.reqeditor.editors.MyReqEditorContributor"
            class="eu.scasefp7.eclipse.reqeditor.editors.MyReqEditor"
            id="eu.scasefp7.eclipse.reqeditor.editors.MyReqEditor">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.newWizards">
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard
            name="Requirements Editor file"
            icon="icons/sample.gif"
            category="ReqEditor"
            class="eu.scasefp7.eclipse.reqeditor.wizards.CreateRqsWizard"
            id="eu.scasefp7.eclipse.reqeditor.wizards.CreateRqsWizard">
            <description>Create a Requirements Editor file</description>
      </wizard>
   </extension>

   <extension 
       point="org.eclipse.ui.exportWizards"> 
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard 
         name="Export requirements in rqs format" 
         icon="icons/sample.gif"
         category="ReqEditor"
         class="eu.scasefp7.eclipse.reqeditor.wizards.ExportRqsWizard"
         id="eu.scasefp7.eclipse.reqeditor.wizards.ExportRqsWizard">
         <description>Export a Requirements Editor file in rqs format</description>
      </wizard> 
   </extension> 

   <extension 
       point="org.eclipse.ui.exportWizards"> 
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard 
         name="Export requirements in txt/ann format" 
         icon="icons/sample.gif"
         category="ReqEditor"
         class="eu.scasefp7.eclipse.reqeditor.wizards.ExportTxtAnnWizard"
         id="eu.scasefp7.eclipse.reqeditor.wizards.ExportTxtAnnWizard">
         <description>Export a Requirements Editor file in txt/ann format</description>
      </wizard> 
   </extension> 

   <extension 
       point="org.eclipse.ui.importWizards"> 
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard 
         name="Import requirements from rqs format" 
         icon="icons/sample.gif"
         category="ReqEditor"
         class="eu.scasefp7.eclipse.reqeditor.wizards.ImportRqsWizard"
         id="eu.scasefp7.eclipse.reqeditor.wizards.ImportRqsWizard">
         <description>Import a Requirements Editor file from rqs format</description>
      </wizard> 
   </extension> 

   <extension 
       point="org.eclipse.ui.importWizards"> 
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard 
         name="Import requirements from txt/ann format" 
         icon="icons/sample.gif"
         category="ReqEditor"
         class="eu.scasefp7.eclipse.reqeditor.wizards.ImportTxtAnnWizard"
         id="eu.scasefp7.eclipse.reqeditor.wizards.ImportTxtAnnWizard">
         <description>Import a Requirements Editor file from txt/ann format</description>
      </wizard> 
   </extension>

   <extension point="org.eclipse.ui.commands">
      <category id="eu.scasefp7.eclipse.reqeditor.commands.category" name="SCaseReqEditor Commands Category"/>
      <command categoryId="eu.scasefp7.eclipse.reqeditor.commands.category" id="eu.scasefp7.eclipse.reqeditor.commands.clearAnnotations" name="Clear all annotations"/>
      <command categoryId="eu.scasefp7.eclipse.reqeditor.commands.category" id="eu.scasefp7.eclipse.reqeditor.commands.autoAnnotate" name="Auto annotate"/>
      <command categoryId="eu.scasefp7.eclipse.reqeditor.commands.category" id="eu.scasefp7.eclipse.reqeditor.commands.exportToOntology" name="Export to ontology"/>
   </extension>

   <extension point="org.eclipse.ui.handlers">
      <handler class="eu.scasefp7.eclipse.reqeditor.handlers.ClearAllAnnotationsHandler" commandId="eu.scasefp7.eclipse.reqeditor.commands.clearAnnotations"/>
   </extension>
   <extension point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.jdt.ui.PackageExplorer">
            <command commandId="eu.scasefp7.eclipse.reqeditor.commands.clearAnnotations" id="eu.scasefp7.eclipse.reqeditor.menus.clearAnnotations" icon="icons/sample.gif">
                  <visibleWhen>
				           <with variable="activeMenuSelection">
				            <iterate ifEmpty="false">
				             <adapt type="org.eclipse.core.resources.IResource">
				               <test property="org.eclipse.core.resources.name" value="*rqs" />
				             </adapt>
				            </iterate>
				           </with>
                  </visibleWhen>
            </command>
      </menuContribution>
   </extension>

   <extension point="org.eclipse.ui.handlers">
      <handler class="eu.scasefp7.eclipse.reqeditor.handlers.AutoAnnotateHandler" commandId="eu.scasefp7.eclipse.reqeditor.commands.autoAnnotate"/>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.jdt.ui.PackageExplorer">
            <command commandId="eu.scasefp7.eclipse.reqeditor.commands.autoAnnotate" id="eu.scasefp7.eclipse.reqeditor.menus.autoAnnotate" icon="icons/sample.gif">
                  <visibleWhen>
				           <with variable="activeMenuSelection">
				            <iterate ifEmpty="false">
				             <adapt type="org.eclipse.core.resources.IResource">
				               <test property="org.eclipse.core.resources.name" value="*rqs" />
				             </adapt>
				            </iterate>
				           </with>
                  </visibleWhen>
            </command>
      </menuContribution>
   </extension>

   <extension point="org.eclipse.ui.handlers">
      <handler class="eu.scasefp7.eclipse.reqeditor.handlers.ExportToOntologyHandler" commandId="eu.scasefp7.eclipse.reqeditor.commands.exportToOntology">
      	<enabledWhen>
   			<with variable="selection">
    			<iterate ifEmpty="false">
     				<adapt type="org.eclipse.core.resources.IResource">
         				<test property="org.eclipse.core.resources.name" value="*.rqs" />
        			</adapt>
    			</iterate>
           </with>
      	</enabledWhen>
      </handler>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.jdt.ui.PackageExplorer">
            <command commandId="eu.scasefp7.eclipse.reqeditor.commands.exportToOntology" id="eu.scasefp7.eclipse.reqeditor.menus.exportToOntology" icon="icons/sample.gif">
                  <visibleWhen>
				           <with variable="activeMenuSelection">
				            <iterate ifEmpty="false">
				             <adapt type="org.eclipse.core.resources.IResource">
				               <test property="org.eclipse.core.resources.name" value="*rqs" />
				             </adapt>
				            </iterate>
				           </with>
                  </visibleWhen>
            </command>
      </menuContribution>
   </extension>
<commit_msg>Fix for allowing right click options for rqs files on any view<commit_after><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

   <extension
         point="org.eclipse.ui.editors">
      <editor
            name="Requirements Editor"
            extensions="rqs"
            icon="icons/sample.gif"
            contributorClass="eu.scasefp7.eclipse.reqeditor.editors.MyReqEditorContributor"
            class="eu.scasefp7.eclipse.reqeditor.editors.MyReqEditor"
            id="eu.scasefp7.eclipse.reqeditor.editors.MyReqEditor">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.newWizards">
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard
            name="Requirements Editor file"
            icon="icons/sample.gif"
            category="ReqEditor"
            class="eu.scasefp7.eclipse.reqeditor.wizards.CreateRqsWizard"
            id="eu.scasefp7.eclipse.reqeditor.wizards.CreateRqsWizard">
            <description>Create a Requirements Editor file</description>
      </wizard>
   </extension>

   <extension 
       point="org.eclipse.ui.exportWizards"> 
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard 
         name="Export requirements in rqs format" 
         icon="icons/sample.gif"
         category="ReqEditor"
         class="eu.scasefp7.eclipse.reqeditor.wizards.ExportRqsWizard"
         id="eu.scasefp7.eclipse.reqeditor.wizards.ExportRqsWizard">
         <description>Export a Requirements Editor file in rqs format</description>
      </wizard> 
   </extension> 

   <extension 
       point="org.eclipse.ui.exportWizards"> 
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard 
         name="Export requirements in txt/ann format" 
         icon="icons/sample.gif"
         category="ReqEditor"
         class="eu.scasefp7.eclipse.reqeditor.wizards.ExportTxtAnnWizard"
         id="eu.scasefp7.eclipse.reqeditor.wizards.ExportTxtAnnWizard">
         <description>Export a Requirements Editor file in txt/ann format</description>
      </wizard> 
   </extension> 

   <extension 
       point="org.eclipse.ui.importWizards"> 
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard 
         name="Import requirements from rqs format" 
         icon="icons/sample.gif"
         category="ReqEditor"
         class="eu.scasefp7.eclipse.reqeditor.wizards.ImportRqsWizard"
         id="eu.scasefp7.eclipse.reqeditor.wizards.ImportRqsWizard">
         <description>Import a Requirements Editor file from rqs format</description>
      </wizard> 
   </extension> 

   <extension 
       point="org.eclipse.ui.importWizards"> 
      <category
            name="Requirements Editor"
            id="ReqEditor">
      </category>
      <wizard 
         name="Import requirements from txt/ann format" 
         icon="icons/sample.gif"
         category="ReqEditor"
         class="eu.scasefp7.eclipse.reqeditor.wizards.ImportTxtAnnWizard"
         id="eu.scasefp7.eclipse.reqeditor.wizards.ImportTxtAnnWizard">
         <description>Import a Requirements Editor file from txt/ann format</description>
      </wizard> 
   </extension>

   <extension point="org.eclipse.ui.commands">
      <category id="eu.scasefp7.eclipse.reqeditor.commands.category" name="SCaseReqEditor Commands Category"/>
      <command categoryId="eu.scasefp7.eclipse.reqeditor.commands.category" id="eu.scasefp7.eclipse.reqeditor.commands.clearAnnotations" name="Clear all annotations"/>
      <command categoryId="eu.scasefp7.eclipse.reqeditor.commands.category" id="eu.scasefp7.eclipse.reqeditor.commands.autoAnnotate" name="Auto annotate"/>
      <command categoryId="eu.scasefp7.eclipse.reqeditor.commands.category" id="eu.scasefp7.eclipse.reqeditor.commands.exportToOntology" name="Export to ontology"/>
   </extension>

   <extension point="org.eclipse.ui.handlers">
      <handler class="eu.scasefp7.eclipse.reqeditor.handlers.ClearAllAnnotationsHandler" commandId="eu.scasefp7.eclipse.reqeditor.commands.clearAnnotations"/>
   </extension>
   <extension point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.ui.popup.any">
            <command commandId="eu.scasefp7.eclipse.reqeditor.commands.clearAnnotations" id="eu.scasefp7.eclipse.reqeditor.menus.clearAnnotations" icon="icons/sample.gif">
                  <visibleWhen>
				           <with variable="activeMenuSelection">
				            <iterate ifEmpty="false">
				             <adapt type="org.eclipse.core.resources.IResource">
				               <test property="org.eclipse.core.resources.name" value="*rqs" />
				             </adapt>
				            </iterate>
				           </with>
                  </visibleWhen>
            </command>
      </menuContribution>
   </extension>

   <extension point="org.eclipse.ui.handlers">
      <handler class="eu.scasefp7.eclipse.reqeditor.handlers.AutoAnnotateHandler" commandId="eu.scasefp7.eclipse.reqeditor.commands.autoAnnotate"/>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.ui.popup.any">
            <command commandId="eu.scasefp7.eclipse.reqeditor.commands.autoAnnotate" id="eu.scasefp7.eclipse.reqeditor.menus.autoAnnotate" icon="icons/sample.gif">
                  <visibleWhen>
				           <with variable="activeMenuSelection">
				            <iterate ifEmpty="false">
				             <adapt type="org.eclipse.core.resources.IResource">
				               <test property="org.eclipse.core.resources.name" value="*rqs" />
				             </adapt>
				            </iterate>
				           </with>
                  </visibleWhen>
            </command>
      </menuContribution>
   </extension>

   <extension point="org.eclipse.ui.handlers">
      <handler class="eu.scasefp7.eclipse.reqeditor.handlers.ExportToOntologyHandler" commandId="eu.scasefp7.eclipse.reqeditor.commands.exportToOntology">
      	<enabledWhen>
   			<with variable="selection">
    			<iterate ifEmpty="false">
     				<adapt type="org.eclipse.core.resources.IResource">
         				<test property="org.eclipse.core.resources.name" value="*.rqs" />
        			</adapt>
    			</iterate>
           </with>
      	</enabledWhen>
      </handler>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.ui.popup.any">
            <command commandId="eu.scasefp7.eclipse.reqeditor.commands.exportToOntology" id="eu.scasefp7.eclipse.reqeditor.menus.exportToOntology" icon="icons/sample.gif">
                  <visibleWhen>
				           <with variable="activeMenuSelection">
				            <iterate ifEmpty="false">
				             <adapt type="org.eclipse.core.resources.IResource">
				               <test property="org.eclipse.core.resources.name" value="*rqs" />
				             </adapt>
				            </iterate>
				           </with>
                  </visibleWhen>
            </command>
      </menuContribution>
   </extension>

{'fraction_non_alphanumeric': 0.1242296239872585, 'fraction_numerical': 0.005124298871269303, 'mean_word_length': 2.4467780429594272, 'pattern_counts': {'":': 0, '<': 237, '<?xml version=': 2, '>': 237, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1354992', 'n_tokens_mistral': 4453, 'n_tokens_neox': 4097, 'n_words': 573}