1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
|
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
<extension point="org.eclipse.ui.newWizards">
<wizard name="Umlet diagram" id="com.umlet.plugin.wizards.NewWizard"
icon="img/umlet_eclipse.gif" category="com.baselet.plugin"
class="com.baselet.plugin.wizard.NewWizard" />
</extension>
<extension point="org.eclipse.ui.editors">
<editor name="Umlet Editor" id="com.umlet.plugin.Editor" icon="img/umlet_eclipse.gif"
class="com.baselet.plugin.gui.Editor" contributorClass="com.baselet.plugin.gui.Contributor"
extensions="uxf" default="false" />
</extension>
<extension id="umletBuilder" name="Umlet Builder"
point="org.eclipse.core.resources.builders">
<builder hasNature="true">
<run class="com.baselet.plugin.builder.UmletBuilder">
</run>
</builder>
</extension>
<extension point="org.eclipse.ui.commands">
<category id="com.umlet.plugin.umletNature.category" name="Umlet Project Nature commands">
</category>
<command categoryId="com.umlet.plugin.umletNature.category"
defaultHandler="com.baselet.plugin.builder.AddRemoveUmletNatureHandler"
id="com.umlet.plugin.addRemoveUmletNature" name="Add/RemoveUmlet Project Nature">
</command>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.projectConfigure?after=additions">
<command commandId="com.umlet.plugin.addRemoveUmletNature"
label="Disable Umlet builder" style="push">
<visibleWhen checkEnabled="false">
<with variable="selection">
<count value="1">
</count>
<iterate>
<adapt type="org.eclipse.core.resources.IProject">
<test property="org.eclipse.core.resources.projectNature"
value="com.umlet.plugin.umletNature">
</test>
</adapt>
</iterate>
</with>
</visibleWhen>
</command>
<command commandId="com.umlet.plugin.addRemoveUmletNature"
label="Enable Umlet builder" style="push">
<visibleWhen checkEnabled="false">
<with variable="selection">
<count value="1">
</count>
<iterate>
<adapt type="org.eclipse.core.resources.IProject">
<and>
<not>
<test property="org.eclipse.core.resources.projectNature"
value="com.umlet.plugin.umletNature">
</test>
</not>
<test property="org.eclipse.core.resources.projectNature"
value="org.eclipse.jdt.core.javanature">
</test>
</and>
</adapt>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension id="builderProblem" point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker" />
<persistent value="true" />
</extension>
<extension id="imgMissing" point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker" />
<super type="org.eclipse.core.resources.textmarker" />
<persistent value="true" />
</extension>
<extension point="org.eclipse.jdt.ui.javaCompletionProposalComputer"
id="umlet_proposals" name="Umlet Proposals">
<proposalCategory />
</extension>
<extension point="org.eclipse.jdt.ui.javaCompletionProposalComputer"
id="javadocCompletion" name="Umlet Javadoc Completion">
<javaCompletionProposalComputer
activate="true" class="com.baselet.plugin.contentAssist.ImgRefProposalComputer"
categoryId="com.umlet.plugin.umlet_proposals">
<partition type="__java_javadoc" />
</javaCompletionProposalComputer>
</extension>
<extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
<renameParticipant id="com.umlet.plugin.renameFileParticipant"
name="UmletRenameFolderParticipant" class="com.baselet.plugin.refactoring.RenameFileParticipant">
<enablement>
<with variable="affectedNatures">
<iterate operator="or">
<equals value="com.umlet.plugin.umletNature" />
</iterate>
</with>
<with variable="element">
<instanceof value="org.eclipse.core.resources.IFile" />
</with>
</enablement>
</renameParticipant>
</extension>
<extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
<renameParticipant id="com.umlet.plugin.renameFolderParticipant"
name="UmletRenameFolderParticipant" class="com.baselet.plugin.refactoring.RenameFolderParticipant">
<enablement>
<with variable="affectedNatures">
<iterate operator="or">
<equals value="com.umlet.plugin.umletNature" />
</iterate>
</with>
<with variable="element">
<instanceof value="org.eclipse.core.resources.IResource" />
</with>
</enablement>
</renameParticipant>
</extension>
<extension point="org.eclipse.ltk.core.refactoring.moveParticipants">
<moveParticipant id="com.umlet.plugin.moveResourceParticipant"
name="UmletMoveResourceParticipant" class="com.baselet.plugin.refactoring.MoveResourceParticipant">
<enablement>
<with variable="affectedNatures">
<iterate operator="or">
<equals value="com.umlet.plugin.umletNature" />
</iterate>
</with>
<with variable="element">
<instanceof value="org.eclipse.core.resources.IResource" />
</with>
</enablement>
</moveParticipant>
</extension>
<extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
<renameParticipant id="com.umlet.plugin.renamePackageParticipant"
name="UmletPackageParticipant" class="com.baselet.plugin.refactoring.RenamePackageParticipant">
<enablement>
<with variable="affectedNatures">
<iterate operator="or">
<equals value="com.umlet.plugin.umletNature" />
</iterate>
</with>
<with variable="element">
<instanceof value="org.eclipse.jdt.core.IPackageFragment" />
</with>
</enablement>
</renameParticipant>
</extension>
<extension point="org.eclipse.ltk.core.refactoring.moveParticipants">
<moveParticipant id="com.umlet.plugin.moveClassParticipant"
name="UmletMoveClassParticipant" class="com.baselet.plugin.refactoring.MoveClassParticipant">
<enablement>
<with variable="affectedNatures">
<iterate operator="or">
<equals value="com.umlet.plugin.umletNature" />
</iterate>
</with>
<with variable="element">
<instanceof value="org.eclipse.jdt.core.ICompilationUnit" />
</with>
</enablement>
</moveParticipant>
</extension>
<extension point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
<hyperlinkDetector activate="true"
class="com.baselet.plugin.hyperlink.ImageRefHyperlinkDetector" id="com.umlet.plugin.imageRefHyperlinkDetector"
name="ImageRefHyperlinkDetector" targetId="org.eclipse.jdt.ui.javaCode">
</hyperlinkDetector>
</extension>
<extension id="umletNature" name="Umlet Project Nature"
point="org.eclipse.core.resources.natures">
<runtime>
<run class="com.baselet.plugin.builder.UmletNature">
</run>
</runtime>
<builder id="com.umlet.plugin.umletBuilder">
</builder>
<requires-nature id="org.eclipse.jdt.core.javanature"/>
</extension>
<extension
point="org.eclipse.m2e.core.mavenProjectChangedListeners">
<listener
class="com.baselet.plugin.MavenProjectChangedListener">
</listener>
</extension>
</plugin>
|