<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
    <extension
         id="org.eclipse.ui.ide.workbench"
         point="org.eclipse.core.runtime.applications">
      <application>
         <run
               class="org.eclipse.ui.internal.ide.application.IDEApplication">
         </run>
      </application>
   </extension>
    <extension
          point="org.eclipse.ui.preferencePages">
     <page
            name="%PreferencePages.Startup"
            category="org.eclipse.ui.preferencePages.Workbench"
            class="org.eclipse.ui.internal.ide.application.dialogs.IDEStartupPreferencePage"
            id="org.eclipse.ui.preferencePages.Startup">
         <keywordReference id="org.eclipse.ui.ide.startupAndShutdown"/>
         <keywordReference id="org.eclipse.ui.ide.application.problems"/>
      </page>
     <page
            name="%PreferencePages.Startup.Workspaces"
            category="org.eclipse.ui.preferencePages.Startup"
            class="org.eclipse.ui.internal.ide.application.dialogs.RecentWorkspacesPreferencePage"
            id="org.eclipse.ui.preferencePages.Startup.Workspaces">
         <keywordReference id="org.eclipse.ui.ide.recentWorkspaces"/>
      </page>
     <page
           category="org.eclipse.ui.preferencePages.Workbench"
           class="org.eclipse.ui.internal.ide.application.dialogs.UriSchemeHandlerPreferencePage"
           id="org.eclipse.ui.preferencePages.General.LinkHandlers"
           name="%PreferencePages.General.LinkHandlers">
        <keywordReference
              id="org.eclipse.ui.ide.application.linkhandler">
        </keywordReference>
     </page>
    </extension>
     <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            name="%Perspective.resourcePerspective"
            icon="$nl$/icons/full/eview16/resource_persp.png"
            class="org.eclipse.ui.internal.ide.application.ResourcePerspective"
            id="org.eclipse.ui.resourcePerspective">
         <description>
            %Perspective.resourceDescription
         </description>
      </perspective>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <showInPart
               id="org.eclipse.ui.navigator.ProjectExplorer">
         </showInPart>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="menu:file?before=quit">
         <command
               commandId="org.eclipse.ui.file.restartWorkbench"
               id="org.eclipse.ui.file.restartWorkbench"
               style="push">
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.ui.popup.any?after=additions">
         <menu
               id="org.eclipse.ui.projectConfigure"
               label="%projectConfigure.label"
               mnemonic="%projectConfigure.mnemonic">
            <visibleWhen
                  checkEnabled="false">
               <with
                     variable="activeMenuSelection">
                  <iterate
                        ifEmpty="false">
                     <adapt
                           type="org.eclipse.core.resources.IProject">
                        <test
                              property="org.eclipse.core.resources.open"
                              value="true">
                        </test>
                     </adapt>
                  </iterate>
               </with>
            </visibleWhen>
            <separator
                  name="additions"
                  visible="false">
            </separator>
         </menu>
      </menuContribution>
      <menuContribution
            allPopups="false"
            locationURI="menu:window?after=openNewWindow">
         <menu
               id="org.eclipse.ui.editors"
               label="%menu.editor.label"
               mnemonic="%menu.editor.mnemonic">
            <command
                  commandId="org.eclipse.ui.window.splitEditor"
                  icon="icons/full/elcl16/split_horizontal.png"
                  mnemonic="%command.split.horizontal.mnemonic"
                  style="push">
               <parameter
                     name="Splitter.isHorizontal"
                     value="true">
               </parameter>
            </command>
            <command
                  commandId="org.eclipse.ui.window.splitEditor"
                  icon="icons/full/elcl16/split_vertical.png"
                  mnemonic="%command.split.vertical.mnemonic"
                  style="push">
               <parameter
                     name="Splitter.isHorizontal"
                     value="false">
               </parameter>
            </command>
            <command
                  commandId="org.eclipse.ui.window.newEditor"
                  label="%command.clone.label"
                  mnemonic="%command.clone.mnemonic"
                  style="push">
            </command>
            <command
                  commandId="org.eclipse.ui.edit.text.toggleWordWrap"
                  mnemonic="%command.wordwrap.mnemonic"
                  style="push">
               <visibleWhen
                     checkEnabled="true">
               </visibleWhen>
            </command>
            <command
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
                  mnemonic="%command.whitespace.mnemonic"
                  style="push">
               <visibleWhen
                     checkEnabled="true">
               </visibleWhen>
            </command>
            <command
                  commandId="org.eclipse.ui.edit.text.zoomIn"
                  mnemonic="%command.zoomIn.mnemonic"
                  style="push">
               <visibleWhen
                     checkEnabled="true">
               </visibleWhen>
            </command>
            <command
                  commandId="org.eclipse.ui.edit.text.zoomOut"
                  mnemonic="%command.zoomOut.mnemonic"
                  style="push">
               <visibleWhen
                     checkEnabled="true">
               </visibleWhen>
            </command>
         </menu>
      </menuContribution>
   </extension>
   <extension
         id="id1"
         point="org.eclipse.e4.workbench.model">
      <fragment
            uri="LegacyIDE_fragment.e4xmi">
      </fragment>
   </extension>
   <extension
         point="org.eclipse.ui.keywords">
      <keyword
            id="org.eclipse.ui.ide.application.problems"
            label="%keyword.problems">
      </keyword>
      <keyword
            id="org.eclipse.ui.ide.application.linkhandler"
            label="%keyword.linkhanders">
      </keyword>
   </extension>
</plugin>
