<commit_before><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="org.csstudio.logbook.ui.propertywidget" name="Property Widget" schema="schema/org.csstudio.logbook.ui.propertywidget.exsd"/>
   <extension
         point="org.eclipse.ui.views">
      <category
            id="org.csstudio"
            name="CSS">
      </category>
      <view
            category="org.csstudio"
            class="org.csstudio.logbook.ui.CreateLogEntryView"
            icon="icons/logentry-add-16.png"
            id="org.csstudio.logbook.ui.CreateLogEntry"
            name="%MakeLogEntry"
            restorable="true">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="false"
            locationURI="menu:utility">
         <command
               commandId="org.csstudio.logbook.ui.OpenLogEntryBuilderDialog"
               icon="icons/logentry-add-16.png"
               label="%MakeLogEntry"
               style="push">
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.ui.popup.any">
         <menu
               icon="icons/logbook-16.png"
               id="org.csstudio.ui.menu.popup.logbook"
               label="Logbook">
            <separator
                  name="main">
            </separator>
            <visibleWhen>
               <with
                     variable="activeMenuSelection">
                  <iterate>
                     <adapt
                           type="org.csstudio.logbook.LogEntryBuilder">
                     </adapt>
                  </iterate>
               </with>
            </visibleWhen>
         </menu>
      </menuContribution>
      <menuContribution
            allPopups="false"
            locationURI="popup:org.csstudio.ui.menu.popup.logbook">
         <command
               commandId="org.csstudio.logbook.ui.OpenLogEntryBuilderDialog"
               icon="icons/logentry-add-16.png"
               label="%MakeLogEntry"
               style="push">
         </command>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.help.toc">
      <toc
            file="toc.xml"
            primary="true"/>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.csstudio.logbook.ui.OpenLogEntryBuilderDialog"
            id="org.csstudio.logbook.ui.OpenLogEntryBuilderDialog"
            name="%MakeLogEntry">
      </command>
   </extension>
   <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.csstudio.logbook.LogEntry"
            class="org.csstudio.logbook.ui.LogEntryAdapterFactory"><commit_msg>..logbook.ui: moving create command out of logbook menu and directly in the main popup menu<commit_after><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="org.csstudio.logbook.ui.propertywidget" name="Property Widget" schema="schema/org.csstudio.logbook.ui.propertywidget.exsd"/>
   <extension
         point="org.eclipse.ui.views">
      <category
            id="org.csstudio"
            name="CSS">
      </category>
      <view
            category="org.csstudio"
            class="org.csstudio.logbook.ui.CreateLogEntryView"
            icon="icons/logentry-add-16.png"
            id="org.csstudio.logbook.ui.CreateLogEntry"
            name="%MakeLogEntry"
            restorable="true">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="false"
            locationURI="menu:utility">
         <command
               commandId="org.csstudio.logbook.ui.OpenLogEntryBuilderDialog"
               icon="icons/logentry-add-16.png"
               label="%MakeLogEntry"
               style="push">
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.ui.popup.any">
         <command
               commandId="org.csstudio.logbook.ui.OpenLogEntryBuilderDialog"
               icon="icons/logentry-add-16.png"
               label="%MakeLogEntry"
               style="push">
            <visibleWhen>
               <with
                     variable="activeMenuSelection">
                  <iterate>
                     <adapt
                           type="org.csstudio.logbook.LogEntryBuilder">
                     </adapt>
                  </iterate>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.help.toc">
      <toc
            file="toc.xml"
            primary="true"/>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.csstudio.logbook.ui.OpenLogEntryBuilderDialog"
            id="org.csstudio.logbook.ui.OpenLogEntryBuilderDialog"
            name="%MakeLogEntry">
      </command>
   </extension>
   <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.csstudio.logbook.LogEntry"
            class="org.csstudio.logbook.ui.LogEntryAdapterFactory">
{'fraction_non_alphanumeric': 0.12441004342080422, 'fraction_numerical': 0.004530866528223523, 'mean_word_length': 1.7351574599896749, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 2, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '7656212', 'n_tokens_mistral': 1517, 'n_tokens_neox': 1469, 'n_words': 179}