<commit_before><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
  Copyright (c) 2006, 2011 <NAME>.
  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:
      <NAME> - initial API and implementation
      
  $Id$
-->

<plugin>

   <extension point="org.eclipse.ui.perspectives">
      <perspective
           class="org.openhealthtools.mdht.uml.ui.perspective.PerspectiveFactory"
           id="org.openhealthtools.mdht.uml.ui.perspective"
           name="%Perspective_name">
      </perspective>
   </extension>
  
   <extension point = "org.eclipse.ui.editors">
     <editor
          class="org.openhealthtools.mdht.uml.ui.editors.UMLTableEditor"
          contributorClass="org.openhealthtools.mdht.uml.ui.editors.UMLTableActionBarContributor"
          default="true"
          extensions="uml,xmi"
          icon="icons/full/eview16/uml.gif"
          id="org.openhealthtools.mdht.uml.ui.UMLTableEditorID"
          name="%UMLTableEditor_label">
     </editor>
   </extension>  
  
   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
      		adaptable="true"
            objectClass="org.eclipse.uml2.uml.Element"
            id="mdht.objectContribution.uml.Element">
         <menu
               label="%openWith_label"
               path="group.openWith"
               id="openWith">
            <separator name="ext"/>
         </menu>
         <visibility>
             <or>
               <objectClass name="org.eclipse.uml2.uml.Package"/>
               <objectClass name="org.eclipse.uml2.uml.Classifier"/>
             </or>
         </visibility>
         <action
               label="%UMLTableEditor_label"
               class="org.openhealthtools.mdht.uml.ui.actions.OpenUMLTableEditorAction"
               menubarPath="openWith/ext"
               enablesFor="+"
               id="org.openhealthtools.mdht.uml.ui.actions.OpenUMLTableEditorAction">
         </action>
      </objectContribution>
   </extension>
  
  <!--
  <extension point="org.eclipse.ui.commands">
    <category name="%category.model.name" 
    	description="%category.model.description" 
    	id="org.openhealthtools.mdht.uml.ui.category.model" />
    	
    <command
      name="%_UI_Menu_OpenType_label"
      description="%_UI_Menu_OpenType_description"
      categoryId="org.openhealthtools.mdht.uml.ui.category.model"
      id="org.openhealthtools.mdht.uml.ui.OpenElementCommand" />  
  </extension>
  
  <extension
      point="org.eclipse.ui.bindings">
    <key
      commandId="org.openhealthtools.mdht.uml.ui.OpenElementCommand"
      sequence="M1+M2+T"
      schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />
  </extension>
  -->

   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
      		adaptable="true"
            objectClass="org.eclipse.uml2.uml.Element"
            id="org.openhealthtools.mdht.uml.common.ui.popupMenus.umlClass">
			<visibility>
				<objectClass name="org.eclipse.uml2.uml.Class" />
			</visibility>
            
		  <action label="%openSubclassEditor.label"
                icon="icons/full/obj16/Class.gif"
				class="org.openhealthtools.mdht.uml.common.ui.actions.OpenSubclassEditorAction"
				menubarPath="group.openWith" 
				enablesFor="1"
				id="org.openhealthtools.mdht.uml.common.ui.actions.openSubclassEditorAction">
		 </action>
      </objectContribution>
   </extension>
			
   <!--
     - Add UML popup menu
     -->
   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.openhealthtools.mdht.uml.ui.navigator.UMLDomainNavigatorItem"
            id="mdht.objectContribution.uml">
         <visibility>
            <objectState name="umlType" value="Element"/>
         </visibility>
         <menu
               label="%addUML.label"
               path="group.new"
               id="mdht.addUML">
            <separator name="propertyGroup"/>
            <separator name="classifierGroup"/>
            <separator name="packageGroup"/>
            <separator name="constraintGroup"/>
            <separator name="commentGroup"/>
         </menu>
      </objectContribution>
   </extension>
   
   <!-- UML Package menu items -->
   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.openhealthtools.mdht.uml.ui.navigator.UMLDomainNavigatorItem"
            id="mdht.objectContribution.uml.package">
         <visibility>
            <objectState name="umlType" value="Package"/>
         </visibility>
         <!--
         <action
               label="%addUMLPackage.label"
               icon="icons/full/obj16/Package.gif"
               class="org.openhealthtools.mdht.uml.ui.actions.AddUMLPackageAction"
               menubarPath="mdht.addUML/packageGroup"
               enablesFor="1"
               id="mdht.actions.addUML.package">
         </action>
         -->
         <action
               label="%addUMLElementImport.label"
               icon="icons/full/obj16/ElementImport.gif"
               class="org.openhealthtools.mdht.uml.ui.actions.AddElementImportAction"
               menubarPath="mdht.addUML/packageGroup"
               enablesFor="1"
               id="mdht.actions.addUML.elementImport">
         </action>
         <action
               label="%addUMLPackageImport.label"
               icon="icons/full/obj16/PackageImport.gif"
               class="org.openhealthtools.mdht.uml.ui.actions.AddPackageImportAction"
               menubarPath="mdht.addUML/packageGroup"
               enablesFor="1"
               id="mdht.actions.addUML.packageImport">
         </action>
         
         <action
               label="%addUMLEnumeration.label"
               icon="icons/full/obj16/Enumeration.gif"<commit_msg>enable menu Add UML > Package<commit_after><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
  Copyright (c) 2006, 2011 <NAME>.
  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:
      <NAME> - initial API and implementation
      
  $Id$
-->

<plugin>

   <extension point="org.eclipse.ui.perspectives">
      <perspective
           class="org.openhealthtools.mdht.uml.ui.perspective.PerspectiveFactory"
           id="org.openhealthtools.mdht.uml.ui.perspective"
           name="%Perspective_name">
      </perspective>
   </extension>
  
   <extension point = "org.eclipse.ui.editors">
     <editor
          class="org.openhealthtools.mdht.uml.ui.editors.UMLTableEditor"
          contributorClass="org.openhealthtools.mdht.uml.ui.editors.UMLTableActionBarContributor"
          default="true"
          extensions="uml,xmi"
          icon="icons/full/eview16/uml.gif"
          id="org.openhealthtools.mdht.uml.ui.UMLTableEditorID"
          name="%UMLTableEditor_label">
     </editor>
   </extension>  
  
   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
      		adaptable="true"
            objectClass="org.eclipse.uml2.uml.Element"
            id="mdht.objectContribution.uml.Element">
         <menu
               label="%openWith_label"
               path="group.openWith"
               id="openWith">
            <separator name="ext"/>
         </menu>
         <visibility>
             <or>
               <objectClass name="org.eclipse.uml2.uml.Package"/>
               <objectClass name="org.eclipse.uml2.uml.Classifier"/>
             </or>
         </visibility>
         <action
               label="%UMLTableEditor_label"
               class="org.openhealthtools.mdht.uml.ui.actions.OpenUMLTableEditorAction"
               menubarPath="openWith/ext"
               enablesFor="+"
               id="org.openhealthtools.mdht.uml.ui.actions.OpenUMLTableEditorAction">
         </action>
      </objectContribution>
   </extension>
  
  <!--
  <extension point="org.eclipse.ui.commands">
    <category name="%category.model.name" 
    	description="%category.model.description" 
    	id="org.openhealthtools.mdht.uml.ui.category.model" />
    	
    <command
      name="%_UI_Menu_OpenType_label"
      description="%_UI_Menu_OpenType_description"
      categoryId="org.openhealthtools.mdht.uml.ui.category.model"
      id="org.openhealthtools.mdht.uml.ui.OpenElementCommand" />  
  </extension>
  
  <extension
      point="org.eclipse.ui.bindings">
    <key
      commandId="org.openhealthtools.mdht.uml.ui.OpenElementCommand"
      sequence="M1+M2+T"
      schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />
  </extension>
  -->

   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
      		adaptable="true"
            objectClass="org.eclipse.uml2.uml.Element"
            id="org.openhealthtools.mdht.uml.common.ui.popupMenus.umlClass">
			<visibility>
				<objectClass name="org.eclipse.uml2.uml.Class" />
			</visibility>
            
		  <action label="%openSubclassEditor.label"
                icon="icons/full/obj16/Class.gif"
				class="org.openhealthtools.mdht.uml.common.ui.actions.OpenSubclassEditorAction"
				menubarPath="group.openWith" 
				enablesFor="1"
				id="org.openhealthtools.mdht.uml.common.ui.actions.openSubclassEditorAction">
		 </action>
      </objectContribution>
   </extension>
			
   <!--
     - Add UML popup menu
     -->
   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.openhealthtools.mdht.uml.ui.navigator.UMLDomainNavigatorItem"
            id="mdht.objectContribution.uml">
         <visibility>
            <objectState name="umlType" value="Element"/>
         </visibility>
         <menu
               label="%addUML.label"
               path="group.new"
               id="mdht.addUML">
            <separator name="propertyGroup"/>
            <separator name="classifierGroup"/>
            <separator name="packageGroup"/>
            <separator name="constraintGroup"/>
            <separator name="commentGroup"/>
         </menu>
      </objectContribution>
   </extension>
   
   <!-- UML Package menu items -->
   <extension point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.openhealthtools.mdht.uml.ui.navigator.UMLDomainNavigatorItem"
            id="mdht.objectContribution.uml.package">
         <visibility>
            <objectState name="umlType" value="Package"/>
         </visibility>
         <action
               label="%addUMLPackage.label"
               icon="icons/full/obj16/Package.gif"
               class="org.openhealthtools.mdht.uml.ui.actions.AddUMLPackageAction"
               menubarPath="mdht.addUML/packageGroup"
               enablesFor="1"
               id="mdht.actions.addUML.package">
         </action>
         <action
               label="%addUMLElementImport.label"
               icon="icons/full/obj16/ElementImport.gif"
               class="org.openhealthtools.mdht.uml.ui.actions.AddElementImportAction"
               menubarPath="mdht.addUML/packageGroup"
               enablesFor="1"
               id="mdht.actions.addUML.elementImport">
         </action>
         <action
               label="%addUMLPackageImport.label"
               icon="icons/full/obj16/PackageImport.gif"
               class="org.openhealthtools.mdht.uml.ui.actions.AddPackageImportAction"
               menubarPath="mdht.addUML/packageGroup"
               enablesFor="1"
               id="mdht.actions.addUML.packageImport">
         </action>
         
         <action
               label="%addUMLEnumeration.label"
               icon="icons/full/obj16/Enumeration.gif"
{'fraction_non_alphanumeric': 0.12588815514503052, 'fraction_numerical': 0.006687285797876787, 'mean_word_length': 2.204070701660418, 'pattern_counts': {'":': 0, '<': 152, '<?xml version=': 2, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4936000', 'n_tokens_mistral': 3719, 'n_tokens_neox': 3650, 'n_words': 423}