<?xml version="1.0" encoding="UTF-8"?>
<plugin
   id="org.eclipse.cdt.make.ui"
   name="%pluginName"
   version="1.2.0"
   provider-name="%providerName"
   class="org.eclipse.cdt.make.internal.ui.MakeUIPlugin">

   <runtime>
      <library name="cdtmakeui.jar">
         <export name="*"/>
      </library>
   </runtime>
   <requires>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.cdt.core"/>
      <import plugin="org.eclipse.cdt.ui"/>
      <import plugin="org.eclipse.cdt.make.core"/>
   </requires>


   <extension
         point="org.eclipse.ui.newWizards">
      <wizard
            name="%WizardNewCMakeProject.name"
            icon="icons/ctool16/newc_app.gif"
            category="org.eclipse.cdt.ui.newCWizards"
            class="org.eclipse.cdt.make.ui.wizards.NewMakeCProjectWizard"
            project="true"
            finalPerspective="org.eclipse.cdt.ui.CPerspective"
            id="org.eclipse.cdt.ui.wizards.NewMakeCProjectWizard">
         <description>
            %WizardNewCMakeProject.description
         </description>
      </wizard>
      <wizard
            name="%WizardConvertMakeProject.name"
            icon="icons/ctool16/convert-normal.gif"
            category="org.eclipse.cdt.ui.newCWizards"
            class="org.eclipse.cdt.make.ui.wizards.ConvertToMakeProjectWizard"
            finalPerspective="org.eclipse.cdt.ui.CPerspective"
            id="org.eclipse.cdt.ui.wizards.ConvertToMakeWizard">
         <description>
            %WizardConvertMakeProject.description
         </description>
         <selection
               class="org.eclipse.core.resources.IProject">
         </selection>
      </wizard>
<!-- For C++ Wizards -->
      <wizard
            name="%WizardNewCCMakeProject.name"
            icon="icons/ctool16/newcc_app.gif"
            category="org.eclipse.cdt.ui.newCCWizards"
            class="org.eclipse.cdt.make.ui.wizards.NewMakeCCProjectWizard"
            project="true"
            finalPerspective="org.eclipse.cdt.ui.CPerspective"
            id="org.eclipse.cdt.make.ui.wizards.NewMakeCCProjectWizard">
         <description>
            %WizardNewCCMakeProject.description
         </description>
      </wizard>
      <wizard
            name="%WizardConvertMakeProject.name"
            icon="icons/ctool16/convert-normal.gif"
            category="org.eclipse.cdt.ui.newCCWizards"
            class="org.eclipse.cdt.make.ui.wizards.ConvertToMakeProjectWizard"
            finalPerspective="org.eclipse.cdt.ui.CPerspective"
            id="org.eclipse.cdt.ui.wizards.ConvertToMakeWizard">
         <description>
            %WizardConvertMakeProject.description
         </description>
         <selection
               class="org.eclipse.core.resources.IProject">
         </selection>
      </wizard>
   </extension>
   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.eclipse.cdt.core.model.ICContainer"
            adaptable="false"
            id="org.eclipse.cdt.make.ui.popupMenu.CViewContribution">
         <action
               label="%ActionMakeCreateTarget.label"
               class="org.eclipse.cdt.make.ui.actions.CreateTargetAction"
               menubarPath="buildGroup"
               enablesFor="1"
               id="org.eclipse.cdt.make.ui.CViewCreateTargetAction">
         </action>
         <action
               label="%ActionMakeBuildTarget.label"
               class="org.eclipse.cdt.make.ui.actions.BuildTargetAction"
               menubarPath="buildGroup"
               enablesFor="1"
               id="org.eclipse.cdt.make.ui.CViewBuildTargetAction">
         </action>
         <filter
               name="projectNature"
               value="org.eclipse.cdt.make.core.makeNature">
         </filter>
      </objectContribution>
      <objectContribution
            objectClass="org.eclipse.core.resources.IContainer"
            adaptable="false"
            id="org.eclipse.cdt.make.ui.popupMenu.NavigatorContribution">
         <action
               label="%ActionMakeBuildTarget.label"
               class="org.eclipse.cdt.make.ui.actions.BuildTargetAction"
               menubarPath="additions"
               enablesFor="1"
               id="org.eclipse.cdt.make.ui.NavigatorBuildTargetAction">
         </action>
         <action
               label="%ActionMakeCreateTarget.label"
               class="org.eclipse.cdt.make.ui.actions.CreateTargetAction"
               menubarPath="additions"
               enablesFor="1"
               id="org.eclipse.cdt.make.ui.CViewCreateTargetAction">
         </action>
         <filter
               name="projectNature"
               value="org.eclipse.cdt.make.core.makeNature">
         </filter>
      </objectContribution>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            name="%CommandTargetBuild.name"
            description="%CommandTargetBuild.description"
            category="org.eclipse.ui.category.project"
            id="org.eclipse.cdt.make.ui.targetBuildCommand">
      </command>
      <command
            name="%CommandTargetCreate.name"
            description="%CommandTargetCreate.description"
            category="org.eclipse.ui.category.project"
            id="org.eclipse.cdt.make.ui.targetCreateCommand">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            name="%PreferenceMakeProject.name"
            category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
            class="org.eclipse.cdt.make.internal.ui.preferences.MakePreferencePage"
            id="org.eclipse.cdt.make.ui.preferences.MakePreferencePage">
      </page>
   </extension>
   <extension
         point="org.eclipse.ui.propertyPages">
      <page
            objectClass="org.eclipse.core.resources.IProject"
            adaptable="true"
            name="%PropertyMakeProject.name"
            class="org.eclipse.cdt.make.internal.ui.properties.MakePropertyPage"
            id="org.eclipse.cdt.make.ui.properties.MakePropertyPage">
         <filter
               name="nature"
               value="org.eclipse.cdt.make.core.makeNature">
         </filter>
      </page>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <category
            name="%ViewCatagoryMake.name"
            id="org.eclipse.cdt.make.ui">
      </category>
      <view
            name="%ViewMake.name"
            icon="icons/cview16/make_target.gif"
            category="org.eclipse.cdt.make.ui"
            class="org.eclipse.cdt.make.ui.views.MakeView"
            id="org.eclipse.cdt.make.ui.views.MakeView">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            label="%ActionSetUpdateMake.label"
            id="org.eclipse.cdt.make.ui.updateActionSet">
         <action
               label="%ActionMakeUpdate.label"
               icon="icons/ctool16/update_old.gif"
               tooltip="%ActionMakeUpdate.tooltip"
               class="org.eclipse.cdt.make.ui.actions.UpdateMakeProjectAction"
               toolbarPath="Normal"
               id="org.eclipse.cdt.make.ui.UpdateMakeAction">
            <enablement>
               <and>
                  <not>
                     <objectState
                           name="projectNature"
                           value="org.eclipse.cdt.make.core.makeNature">
                     </objectState>
                  </not>
                  <objectState
                        name="projectNature"
                        value="org.eclipse.cdt.core.cnature">
                  </objectState>
               </and>
            </enablement>
         </action>
      </actionSet>
      <actionSet
            label="%ActionSetMake.label"
            id="org.eclipse.cdt.make.ui.makeTargetActionSet">
         <action
               definitionId="org.eclipse.cdt.make.ui.targetBuildCommand"
               label="%ActionMakeBuildTarget.label"
               class="org.eclipse.cdt.make.ui.actions.BuildTargetAction"
               menubarPath="project/additions"
               enablesFor="1"
               id="org.eclipse.cdt.make.ui.makeTargetAction">
            <enablement>
               <or>
                  <objectClass
                        name="org.eclipse.core.resources.IContainer">
                  </objectClass>
                  <objectClass
                        name="org.eclipse.cdt.core.model.ICContainer">
                  </objectClass>
               </or>
            </enablement>
         </action>
         <action
               definitionId="org.eclipse.cdt.make.ui.targetCreateCommand"
               label="%ActionMakeCreateTarget.label"
               class="org.eclipse.cdt.make.ui.actions.CreateTargetAction"
               menubarPath="project/additions"
               enablesFor="1"
               id="org.eclipse.cdt.make.ui.createTargetAction">
            <enablement>
               <or>
                  <objectClass
                        name="org.eclipse.core.resources.IContainer">
                  </objectClass>
                  <objectClass
                        name="org.eclipse.cdt.core.model.ICContainer">
                  </objectClass>
               </or>
            </enablement>
         </action>
      </actionSet>
   </extension>

<!-- Makefile Editor comment out for CDT 1.2 -->
   <!--extension
         id="org.eclipse.cdt.make.editor"
         name="MakefileEditor"
         point="org.eclipse.ui.editors">
      <editor
            name="Makefile Editor"
            icon="icons/ctool16/makefile.gif"
            filenames="Makefile,makefile"
            contributorClass="org.eclipse.cdt.make.internal.ui.editor.MakefileEditorActionContributor"
            class="org.eclipse.cdt.make.internal.ui.editor.MakefileEditor"
            id="org.eclipse.cdt.make.editor">
      </editor>
   </extension -->
   <extension
         point="org.eclipse.ui.startup">
      <startup>
      </startup>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.cdt.ui.CPerspective">
         <view
               relative="org.eclipse.ui.views.ContentOutline"
               visible="true"
               relationship="stack"
               id="org.eclipse.cdt.make.ui.views.MakeView">
         </view>
         <viewShortcut
               id="org.eclipse.cdt.make.ui.views.MakeView">
         </viewShortcut>
         <actionSet
               id="org.eclipse.cdt.make.ui.makeTargetActionSet">
         </actionSet>
      </perspectiveExtension>
   </extension>

</plugin>
