core/com.nokia.carbide.cpp.leavescan/plugin.xml
author cawthron
Fri, 03 Apr 2009 14:27:34 -0500
changeset 40 0ca05f80360c
parent 2 d760517a8095
permissions -rw-r--r--
put branch name in .branch.txt
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
cawthron
parents:
diff changeset
     2
<?eclipse version="3.2"?>
cawthron
parents:
diff changeset
     3
<plugin>
cawthron
parents:
diff changeset
     4
cawthron
parents:
diff changeset
     5
   <extension
cawthron
parents:
diff changeset
     6
         point="org.eclipse.ui.popupMenus">
cawthron
parents:
diff changeset
     7
      <objectContribution
cawthron
parents:
diff changeset
     8
	        adaptable="true"
cawthron
parents:
diff changeset
     9
            objectClass="org.eclipse.core.resources.IFile"
cawthron
parents:
diff changeset
    10
            id="com.nokia.carbide.cpp.leavescan.runLeaveScan">
cawthron
parents:
diff changeset
    11
             <!-- Only show action for Carbide.c++ projects. The leavescan action utilizes some Carbide.c++ specific APIs -->
cawthron
parents:
diff changeset
    12
             <visibility>
cawthron
parents:
diff changeset
    13
               <and>
cawthron
parents:
diff changeset
    14
                 <objectState
cawthron
parents:
diff changeset
    15
                    name="projectNature"
cawthron
parents:
diff changeset
    16
                    value="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature"/>
cawthron
parents:
diff changeset
    17
                  <or>
cawthron
parents:
diff changeset
    18
                    <objectState
cawthron
parents:
diff changeset
    19
                       name="extension"
cawthron
parents:
diff changeset
    20
                       value="cpp"
cawthron
parents:
diff changeset
    21
                       />
cawthron
parents:
diff changeset
    22
                     <objectState
cawthron
parents:
diff changeset
    23
                        name="extension" 
cawthron
parents:
diff changeset
    24
                        value="cp"
cawthron
parents:
diff changeset
    25
                        />
cawthron
parents:
diff changeset
    26
                  </or>
cawthron
parents:
diff changeset
    27
               </and>
cawthron
parents:
diff changeset
    28
              </visibility>
cawthron
parents:
diff changeset
    29
         <action
cawthron
parents:
diff changeset
    30
               label="Run Leavescan"
cawthron
parents:
diff changeset
    31
               class="com.nokia.carbide.cpp.internal.leavescan.popup.actions.LeavescanAction"
cawthron
parents:
diff changeset
    32
               menubarPath="buildGroup"
cawthron
parents:
diff changeset
    33
               enablesFor="+"
cawthron
parents:
diff changeset
    34
               icon="icons/Run_Leavescan.png"
cawthron
parents:
diff changeset
    35
               id="com.nokia.carbide.cpp.leavescan.leaveScanAction">
cawthron
parents:
diff changeset
    36
         </action>
cawthron
parents:
diff changeset
    37
      </objectContribution>
cawthron
parents:
diff changeset
    38
   </extension>
cawthron
parents:
diff changeset
    39
	
cawthron
parents:
diff changeset
    40
	<extension
cawthron
parents:
diff changeset
    41
         point="org.eclipse.ui.popupMenus">
cawthron
parents:
diff changeset
    42
      <objectContribution
cawthron
parents:
diff changeset
    43
	        adaptable="true"
cawthron
parents:
diff changeset
    44
            objectClass="org.eclipse.core.resources.IFile"
cawthron
parents:
diff changeset
    45
            nameFilter="*.mmp"
cawthron
parents:
diff changeset
    46
            id="com.nokia.carbide.cpp.leavescan.runLeaveScanOnMMP">
cawthron
parents:
diff changeset
    47
             <!-- Only show action for Carbide.c++ projects. The leavescan action utilizes some Carbide.c++ specific APIs -->
cawthron
parents:
diff changeset
    48
             <visibility>
cawthron
parents:
diff changeset
    49
              <objectState
cawthron
parents:
diff changeset
    50
                 name="projectNature"
cawthron
parents:
diff changeset
    51
                 value="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature"/>
cawthron
parents:
diff changeset
    52
              </visibility>
cawthron
parents:
diff changeset
    53
         <action
cawthron
parents:
diff changeset
    54
               label="Run Leavescan on Project MMP"
cawthron
parents:
diff changeset
    55
               class="com.nokia.carbide.cpp.internal.leavescan.popup.actions.LeavescanAction"
cawthron
parents:
diff changeset
    56
               menubarPath="buildGroup"
cawthron
parents:
diff changeset
    57
               enablesFor="1"
cawthron
parents:
diff changeset
    58
               icon="icons/Run_Leavescan.png"
cawthron
parents:
diff changeset
    59
               id="com.nokia.carbide.cpp.leavescan.leaveScanActionOnMMP">
cawthron
parents:
diff changeset
    60
         </action>
cawthron
parents:
diff changeset
    61
      </objectContribution>
cawthron
parents:
diff changeset
    62
   </extension>
cawthron
parents:
diff changeset
    63
	
cawthron
parents:
diff changeset
    64
	<extension
cawthron
parents:
diff changeset
    65
         id="LeaveScanErrorParser"
cawthron
parents:
diff changeset
    66
         name="LeaveScan Error Parser"
cawthron
parents:
diff changeset
    67
         point="org.eclipse.cdt.core.ErrorParser">
cawthron
parents:
diff changeset
    68
      <errorparser
cawthron
parents:
diff changeset
    69
            class="com.nokia.carbide.cpp.internal.leavescan.error.parsers.LeaveScanErrorParser">
cawthron
parents:
diff changeset
    70
      </errorparser>
cawthron
parents:
diff changeset
    71
    </extension>
cawthron
parents:
diff changeset
    72
    
cawthron
parents:
diff changeset
    73
    <extension
cawthron
parents:
diff changeset
    74
         point="org.eclipse.ui.preferencePages">
cawthron
parents:
diff changeset
    75
      <page
cawthron
parents:
diff changeset
    76
            name="Leavescan Preferences"
cawthron
parents:
diff changeset
    77
            class="com.nokia.carbide.cpp.internal.leavescan.ui.LeavescanPreferences"
cawthron
parents:
diff changeset
    78
            category="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage"
cawthron
parents:
diff changeset
    79
            id="com.nokia.carbide.cpp.leavescan.ui.LeavescanPreferences">
cawthron
parents:
diff changeset
    80
      </page>
cawthron
parents:
diff changeset
    81
   </extension>
cawthron
parents:
diff changeset
    82
   
cawthron
parents:
diff changeset
    83
   <extension
cawthron
parents:
diff changeset
    84
         point="org.eclipse.core.runtime.preferences">
cawthron
parents:
diff changeset
    85
      <initializer
cawthron
parents:
diff changeset
    86
            class="com.nokia.carbide.cpp.internal.leavescan.ui.LeavescanPreferenceInitializer">
cawthron
parents:
diff changeset
    87
      </initializer>
cawthron
parents:
diff changeset
    88
   </extension>
cawthron
parents:
diff changeset
    89
   <extension
cawthron
parents:
diff changeset
    90
         point="org.eclipse.ui.startup">
cawthron
parents:
diff changeset
    91
   </extension>
cawthron
parents:
diff changeset
    92
cawthron
parents:
diff changeset
    93
cawthron
parents:
diff changeset
    94
	<!-- Carbide Tool Help extension -->
cawthron
parents:
diff changeset
    95
	<!-- Uncomment to add content assist material to the Help system -->
cawthron
parents:
diff changeset
    96
	<!--
cawthron
parents:
diff changeset
    97
	<extension point="org.eclipse.help.toc">
cawthron
parents:
diff changeset
    98
		<toc
cawthron
parents:
diff changeset
    99
			file="html/toolTOC.xml"
cawthron
parents:
diff changeset
   100
			primary="true"/>
cawthron
parents:
diff changeset
   101
	</extension>
cawthron
parents:
diff changeset
   102
    -->
cawthron
parents:
diff changeset
   103
	
cawthron
parents:
diff changeset
   104
	<!-- Carbide.c++ cheatsheets extension -->
cawthron
parents:
diff changeset
   105
	<!-- Uncomment to add cheatsheet content -->
cawthron
parents:
diff changeset
   106
	
cawthron
parents:
diff changeset
   107
	<!-- Rename the "id" as appropriate for your tool -->
cawthron
parents:
diff changeset
   108
	<!--
cawthron
parents:
diff changeset
   109
	<extension point="org.eclipse.ui.cheatsheets.cheatSheetContent">
cawthron
parents:
diff changeset
   110
		<cheatsheet
cawthron
parents:
diff changeset
   111
			category="com.nokia.carbide.ide.cheatsheets"
cawthron
parents:
diff changeset
   112
			contentFile="html/cheatsheets/getStarted_tool.xml"
cawthron
parents:
diff changeset
   113
			id="com.nokia.carbide.cpp.leavescan.tool"
cawthron
parents:
diff changeset
   114
			name="Tool Example"/>
cawthron
parents:
diff changeset
   115
	</extension>
cawthron
parents:
diff changeset
   116
    -->
cawthron
parents:
diff changeset
   117
	
cawthron
parents:
diff changeset
   118
	<!-- CONTEXT IDs for CONTEXTUAL HELP in windows, dialogs, and views -->
cawthron
parents:
diff changeset
   119
	<!-- Uncomment to add F1 user assistance content -->
cawthron
parents:
diff changeset
   120
	<!--
cawthron
parents:
diff changeset
   121
	<extension point="org.eclipse.help.contexts" >
cawthron
parents:
diff changeset
   122
cawthron
parents:
diff changeset
   123
       <contexts file="html/context_help/org_eclipse_debug_ui.xml"
cawthron
parents:
diff changeset
   124
       		plugin="org.eclipse.debug.ui" />
cawthron
parents:
diff changeset
   125
cawthron
parents:
diff changeset
   126
	</extension>
cawthron
parents:
diff changeset
   127
	-->
cawthron
parents:
diff changeset
   128
	
cawthron
parents:
diff changeset
   129
	<!-- Keyword Indexing support -->
cawthron
parents:
diff changeset
   130
	<!-- Uncomment to add keyword index to Help system -->
cawthron
parents:
diff changeset
   131
	<!--
cawthron
parents:
diff changeset
   132
	<extension point="org.eclipse.help.index" >
cawthron
parents:
diff changeset
   133
        <index file="html/index.xml"/>
cawthron
parents:
diff changeset
   134
    </extension>
cawthron
parents:
diff changeset
   135
	-->
cawthron
parents:
diff changeset
   136
cawthron
parents:
diff changeset
   137
</plugin>