Stephan Herrmann | 0251847 | 2010-04-01 22:07:48 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
| 3 | <plugin> |
| 4 | |
| 5 | <!-- **************** TEST DECORATOR ******************* --> |
| 6 | <extension |
| 7 | point="org.eclipse.ui.decorators"> |
| 8 | <decorator |
| 9 | adaptable="true" |
| 10 | label="%TestLabelDecorator.label" |
| 11 | state="false" |
| 12 | class="org.eclipse.jdt.ui.examples.JavaElementDecorator" |
| 13 | id="org.eclipse.jdt.ui.examples.javaElementDecorator"> |
| 14 | <enablement> |
| 15 | <objectClass name="org.eclipse.jdt.core.IJavaElement"/> |
| 16 | </enablement> |
| 17 | <description> |
| 18 | Appends an asterisk (*) to all IJavaElements. |
| 19 | </description> |
| 20 | </decorator> |
| 21 | |
| 22 | <decorator |
| 23 | label="%TestLightweightLabelDecorator.label" |
| 24 | lightweight="true" |
| 25 | location="BOTTOM_LEFT" |
| 26 | state="true" |
| 27 | class="org.eclipse.jdt.ui.examples.JavaElementLightweightDecorator" |
| 28 | id="org.eclipse.jdt.ui.examples.javaElementLightweightDecorator"> |
| 29 | <enablement> |
| 30 | <or> |
| 31 | <objectClass |
| 32 | name="org.eclipse.core.resources.IResource"> |
| 33 | </objectClass> |
| 34 | <objectClass |
| 35 | name="org.eclipse.jdt.core.IJavaElement"> |
| 36 | </objectClass> |
| 37 | </or> |
| 38 | </enablement> |
| 39 | <description> |
| 40 | Renders files with open FileBuffers bold. |
| 41 | </description> |
| 42 | </decorator> |
| 43 | |
| 44 | </extension> |
| 45 | <extension |
| 46 | point="org.eclipse.ui.views"> |
| 47 | <view |
| 48 | name="MochPluginView" |
| 49 | class="org.eclipse.jdt.ui.tests.packageview.MockPluginView" |
| 50 | id="org.eclipse.jdt.ui.tests.packageview.MockPluginView"> |
| 51 | </view> |
| 52 | <view |
| 53 | name="MockPluginView" |
| 54 | class="org.eclipse.jdt.ui.tests.browsing.MockPluginView" |
| 55 | id="org.eclipse.jdt.ui.tests.browsing.MockPluginView"> |
| 56 | </view> |
| 57 | <view |
| 58 | name="MockPluginView" |
| 59 | class="org.eclipse.jdt.ui.tests.model.MockPluginView" |
| 60 | id="org.eclipse.jdt.ui.tests.model.MockPluginView"> |
| 61 | </view> |
| 62 | <view |
| 63 | allowMultiple="true" |
| 64 | class="org.eclipse.jdt.ui.tests.performance.views.MockupPackageExplorerPart" |
| 65 | id="org.eclipse.jdt.ui.tests.MockPackageExplorer" |
| 66 | name="Package Explorer Mock View"/> |
| 67 | </extension> |
| 68 | <!-- **************** TEST MARKER for quick fix ******************* --> |
| 69 | <extension |
| 70 | id="testmarker" |
| 71 | name="jdt-test-problem" |
| 72 | point="org.eclipse.core.resources.markers"> |
| 73 | <super type="org.eclipse.core.resources.problemmarker"/> |
| 74 | <super type="org.eclipse.core.resources.textmarker"/> |
| 75 | </extension> |
| 76 | |
| 77 | <extension |
| 78 | point="org.eclipse.ui.editors.annotationTypes"> |
| 79 | <type |
| 80 | name="org.eclipse.jdt.ui.testproblem" |
| 81 | super="org.eclipse.ui.workbench.texteditor.error" |
| 82 | markerType="org.eclipse.jdt.ui.tests.testmarker" |
| 83 | markerSeverity="2"> |
| 84 | </type> |
| 85 | </extension> |
| 86 | |
| 87 | <extension point="org.eclipse.ui.ide.markerSupport"> |
| 88 | <markerAttributeGrouping markerType="org.eclipse.jdt.ui.tests.testmarker" |
| 89 | defaultGroupingEntry="org.eclipse.jdt.ui.category.nls"/> |
| 90 | </extension> |
| 91 | |
| 92 | <extension |
| 93 | point="org.eclipse.ui.ide.markerResolution"> |
| 94 | <markerResolutionGenerator |
| 95 | markerType="org.eclipse.jdt.ui.tests.testmarker" |
| 96 | class="org.eclipse.jdt.ui.tests.quickfix.MarkerResolutionGenerator"> |
| 97 | </markerResolutionGenerator> |
| 98 | </extension> |
| 99 | <extension |
| 100 | point="org.eclipse.ui.popupMenus"> |
| 101 | <objectContribution |
| 102 | objectClass="org.eclipse.jdt.core.ICompilationUnit" |
| 103 | id="org.eclipse.jdt.ui.examples.AddTestMarkersAction"> |
| 104 | <action |
| 105 | label="%AddTestMarkersAction.label" |
| 106 | tooltip="%AddTestMarkersAction.tooltip" |
| 107 | class="org.eclipse.jdt.ui.examples.AddTestMarkersAction" |
| 108 | menubarPath="AddTestMarkers" |
| 109 | enablesFor="1" |
| 110 | id="addTestmarkers"> |
| 111 | </action> |
| 112 | </objectContribution> |
| 113 | </extension> |
| 114 | <extension |
| 115 | point="org.eclipse.jdt.ui.quickFixProcessors"> |
| 116 | <quickFixProcessor |
| 117 | name="%exampleQuickFixProcessor.name" |
| 118 | class="org.eclipse.jdt.ui.examples.MyQuickFixProcessor" |
| 119 | requiredSourceLevel="1.5" |
| 120 | id="org.eclipse.jdt.ui.examples.MyQuickFixProcessor"> |
| 121 | <enablement> |
| 122 | <with variable="compilationUnit"> |
| 123 | <test property="org.eclipse.jdt.core.name" value="A.java"/> |
| 124 | </with> |
| 125 | </enablement> |
| 126 | |
| 127 | </quickFixProcessor> |
| 128 | </extension> |
| 129 | <extension |
| 130 | point="org.eclipse.jdt.ui.quickAssistProcessors"> |
| 131 | <quickAssistProcessor |
| 132 | name="%exampleQuickAssistProcessor.name" |
| 133 | class="org.eclipse.jdt.ui.examples.MyQuickAssistProcessor" |
| 134 | id="org.eclipse.jdt.ui.examples.MyQuickAssistProcessor"> |
| 135 | <enablement> |
| 136 | <with variable="projectNatures"> |
| 137 | <iterate operator="or"> |
| 138 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 139 | </iterate> |
| 140 | </with> |
| 141 | </enablement> |
| 142 | </quickAssistProcessor> |
| 143 | </extension> |
| 144 | |
| 145 | <extension |
| 146 | point="org.eclipse.jdt.core.classpathContainerInitializer"> |
| 147 | <classpathContainerInitializer |
| 148 | class="org.eclipse.jdt.ui.examples.MyClasspathContainerInitializer" |
| 149 | id="org.eclipse.jdt.EXAMPLE_CONTAINER"> |
| 150 | </classpathContainerInitializer> |
| 151 | </extension> |
| 152 | |
| 153 | <extension |
| 154 | point="org.eclipse.jdt.ui.classpathContainerPage"> |
| 155 | <classpathContainerPage |
| 156 | name="My Example Container (jdt.ui.tests)" |
| 157 | class="org.eclipse.jdt.ui.examples.MyClasspathContainerPage" |
| 158 | id="org.eclipse.jdt.EXAMPLE_CONTAINER"> |
| 159 | </classpathContainerPage> |
| 160 | </extension> |
| 161 | |
| 162 | <extension |
| 163 | point="org.eclipse.jdt.ui.javadocExportWizardPage"> |
| 164 | <javadocExportWizardPage |
| 165 | description="My Javadoc Export Wizard Page (jdt.ui.tests)" |
| 166 | class="org.eclipse.jdt.ui.examples.MyJavadocExportWizardPage" |
| 167 | id="org.eclipse.jdt.EXAMPLE_JD_EXPORT_WP"> |
| 168 | </javadocExportWizardPage> |
| 169 | </extension> |
| 170 | |
| 171 | <!-- **************** TEST NEW PROJECT WIZARD ******************* --> |
| 172 | <extension |
| 173 | point="org.eclipse.ui.newWizards"> |
| 174 | <wizard |
| 175 | id="org.eclipse.jdt.ui.examples.MyProjectCreationWizard" |
| 176 | name="In/Out Project (jdt.ui.tests)" |
| 177 | class="org.eclipse.jdt.ui.examples.MyProjectCreationWizard" |
| 178 | category="org.eclipse.jdt.ui.java" |
| 179 | project="true" |
| 180 | finalPerspective="org.eclipse.jdt.ui.JavaPerspective"> |
| 181 | <description>In/Out Project (jdt.ui.tests)</description> |
| 182 | </wizard> |
| 183 | </extension> |
| 184 | |
| 185 | <extension point="org.eclipse.jdt.ui.javaElementFilters"> |
| 186 | <filter |
| 187 | targetId="org.eclipse.jdt.ui.PackageExplorer" |
| 188 | name="Hide Java projects with other natures (jdt.ui.test)" |
| 189 | enabled="false" |
| 190 | description="Hide Java projects with other natures (jdt.ui.test)" |
| 191 | class="org.eclipse.jdt.ui.examples.filters.PureProjectFilter" |
| 192 | id="org.eclipse.jdt.internal.ui.PackageExplorer.PureProjectFilter"> |
| 193 | </filter> |
| 194 | <filter |
| 195 | targetId="org.eclipse.jdt.ui.PackageExplorer" |
| 196 | name="Hide A.java (jdt.ui.test)" |
| 197 | enabled="false" |
| 198 | description="Hide A.java (jdt.ui.test)" |
| 199 | class="org.eclipse.jdt.ui.examples.filters.AFileFilter" |
| 200 | id="org.eclipse.jdt.internal.ui.PackageExplorer.AFileFilter"> |
| 201 | </filter> |
| 202 | </extension> |
| 203 | <extension point="org.eclipse.ui.navigator.navigatorContent"> |
| 204 | <commonFilter |
| 205 | activeByDefault="false" |
| 206 | class="org.eclipse.jdt.ui.examples.filters.AFileFilter" |
| 207 | name="Hide A.java (jdt.ui.test)" |
| 208 | description="Hide A.java (jdt.ui.test)" |
| 209 | id="org.eclipse.jdt.java.ui.filters.AFileFilter"/> |
| 210 | </extension> |
| 211 | |
| 212 | <!-- JavaLeakTest: --> |
| 213 | <extension |
| 214 | point="org.eclipse.ui.actionSets"> |
| 215 | <actionSet |
| 216 | id="org.eclipse.jdt.ui.tests.actionSet1" |
| 217 | label="JavaLeakTest" |
| 218 | visible="true"> |
| 219 | <action |
| 220 | definitionId="org.eclipse.jdt.ui.tests.JavaLeakTestActionDelegate" |
| 221 | label="JavaLeakTestActionDelegate" |
| 222 | class="org.eclipse.jdt.ui.tests.leaks.JavaLeakTestActionDelegate" |
| 223 | menubarPath="navigate/open.ext2" |
| 224 | enablesFor="*" |
| 225 | id="org.eclipse.jdt.ui.tests.actions.JavaLeakTestActionDelegate"> |
| 226 | <enablement> |
| 227 | <objectClass |
| 228 | name="org.eclipse.jface.text.ITextSelection"> |
| 229 | </objectClass> |
| 230 | </enablement> |
| 231 | </action> |
| 232 | </actionSet> |
| 233 | </extension> |
| 234 | |
| 235 | <extension |
| 236 | point="org.eclipse.ui.popupMenus"> |
| 237 | <viewerContribution |
| 238 | targetID="#TextEditorContext" |
| 239 | id="org.eclipse.jdt.ui.tests.PopupActions"> |
| 240 | <visibility> |
| 241 | <objectClass |
| 242 | name="org.eclipse.jface.text.ITextSelection"> |
| 243 | </objectClass> |
| 244 | </visibility> |
| 245 | <action |
| 246 | class="org.eclipse.jdt.ui.tests.leaks.JavaLeakTestActionDelegate" |
| 247 | definitionId="org.eclipse.jdt.ui.tests.JavaLeakTestActionDelegate" |
| 248 | enablesFor="*" |
| 249 | id="org.eclipse.jdt.ui.tests.actions.JavaLeakTestActionDelegate" |
| 250 | label="JavaLeakTestActionDelegate" |
| 251 | menubarPath="additions"> |
| 252 | </action> |
| 253 | </viewerContribution> |
| 254 | </extension> |
| 255 | |
| 256 | <extension point="org.eclipse.ui.commands"> |
| 257 | <command |
| 258 | name="JavaLeakTestActionDelegate" |
| 259 | description="JavaLeakTestActionDelegate" |
| 260 | id="org.eclipse.jdt.ui.tests.JavaLeakTestActionDelegate"> |
| 261 | </command> |
| 262 | </extension> |
| 263 | |
| 264 | <extension point="org.eclipse.ui.bindings"> |
| 265 | <key |
| 266 | sequence="M1+M2+M3+Q" |
| 267 | commandId="org.eclipse.jdt.ui.tests.JavaLeakTestActionDelegate" |
| 268 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
| 269 | </extension> |
| 270 | <!-- End of JavaLeakTest --> |
| 271 | |
| 272 | </plugin> |