Skip to main content
summaryrefslogblamecommitdiffstats
blob: 0c49b543a37eedb44c5f66e712f3c9f8ad313f35 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                            






                                                                            
                                                                                       

                                                                            
                                               


                                                                          



                                                                     

















                                                                                      

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

   <extension
         point="org.eclipse.ui.startup">
      <startup
            class="org.eclipse.cdt.codan.internal.ui.cxx.Startup"></startup>
   </extension>

   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="popup:org.eclipse.ui.popup.any?after=additions">
            <command
                  commandId="org.eclipse.cdt.codan.commands.runCodanCommand"
                  icon="platform:/plugin/org.eclipse.cdt.codan.ui/icons/search_bug.gif"
                  id="org.eclipse.cdt.codan.ui.cxx.menus.runCodanCxxCommand"
                  label="%command.name"
                  mnemonic="%command.mnemonic">
             <visibleWhen checkEnabled="false">
               <iterate ifEmpty="false">
		       <adapt type="org.eclipse.core.resources.IResource">
		          <test
                  forcePluginActivation="true"
                  property="org.eclipse.core.resources.projectNature"
                  value="org.eclipse.cdt.core.cnature"/>
		       </adapt> 
		       </iterate>
             </visibleWhen>
            </command>
      </menuContribution>
     <!-- <menuContribution
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
         <toolbar
               id="org.eclipse.cdt.codan.ui.cxx.toolbars.sampleToolbar">
            <command
                  commandId="org.eclipse.cdt.codan.ui.cxx.commands.runCodanCxxCommand"
                  icon="icons/sample.gif"
                  id="org.eclipse.cdt.codan.ui.cxx.toolbars.sampleCommand"
                  tooltip="%command.name">
            </command>
         </toolbar>
      </menuContribution> -->
   </extension>
  
</plugin>

Back to the top