| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<?eclipse version="3.4"?> |
| 3 |
<plugin> |
| 4 |
<extension |
| 5 |
id="org.wesnoth.builders.wesnoth" |
| 6 |
name="Wesnoth Project Builder" |
| 7 |
point="org.eclipse.core.resources.builders"> |
| 8 |
<builder hasNature="true"> |
| 9 |
<run |
| 10 |
class="org.wesnoth.builder.WesnothProjectBuilder"> |
| 11 |
</run> |
| 12 |
</builder> |
| 13 |
</extension> |
| 14 |
<extension |
| 15 |
id="org.wesnoth.natures.wesnoth" |
| 16 |
name="Wesnoth Project Nature" |
| 17 |
point="org.eclipse.core.resources.natures"> |
| 18 |
<runtime> |
| 19 |
<run |
| 20 |
class="org.wesnoth.builder.WesnothProjectNature"> |
| 21 |
</run> |
| 22 |
</runtime> |
| 23 |
<builder |
| 24 |
id="org.wesnoth.builders.wesnoth"> |
| 25 |
</builder> |
| 26 |
</extension> |
| 27 |
<extension |
| 28 |
id="org.wesnoth.markers.wmllint" |
| 29 |
name="WMLLint suggestion" |
| 30 |
point="org.eclipse.core.resources.markers"> |
| 31 |
<super |
| 32 |
type="org.eclipse.core.resources.taskmarker"> |
| 33 |
</super> |
| 34 |
<persistent |
| 35 |
value="true"> |
| 36 |
</persistent> |
| 37 |
</extension> |
| 38 |
<extension |
| 39 |
id="org.wesnoth.application" |
| 40 |
point="org.eclipse.core.runtime.applications"> |
| 41 |
<application |
| 42 |
icon="icons/wesnoth-icon_16.png" |
| 43 |
thread="main" |
| 44 |
visible="true"> |
| 45 |
<run |
| 46 |
class="org.wesnoth.product.WesnothApplication"> |
| 47 |
</run> |
| 48 |
</application> |
| 49 |
</extension> |
| 50 |
<extension |
| 51 |
point="org.eclipse.core.runtime.preferences"> |
| 52 |
<initializer |
| 53 |
class="org.wesnoth.preferences.Preferences"> |
| 54 |
</initializer> |
| 55 |
</extension> |
| 56 |
<extension |
| 57 |
id="product" |
| 58 |
point="org.eclipse.core.runtime.products"> |
| 59 |
<product |
| 60 |
application="org.wesnoth.application" |
| 61 |
description="User Made Content Developent Environment" |
| 62 |
name="Wesnoth UMC Dev"> |
| 63 |
<property |
| 64 |
name="appName" |
| 65 |
value="Wesnoth UMC Dev"> |
| 66 |
</property> |
| 67 |
<property |
| 68 |
name="preferenceCustomization" |
| 69 |
value="plugin_customization.ini"> |
| 70 |
</property> |
| 71 |
<property |
| 72 |
name="startupForegroundColor" |
| 73 |
value="000000"> |
| 74 |
</property> |
| 75 |
<property |
| 76 |
name="startupMessageRect" |
| 77 |
value="100,265,200,15"> |
| 78 |
</property> |
| 79 |
<property |
| 80 |
name="startupProgressRect" |
| 81 |
value="0,280,455,15"> |
| 82 |
</property> |
| 83 |
<property |
| 84 |
name="aboutImage" |
| 85 |
value="icons/wesnoth-about.png"> |
| 86 |
</property> |
| 87 |
<property |
| 88 |
name="aboutText" |
| 89 |
value="Battle for Wesnoth User Made Content Development"> |
| 90 |
</property> |
| 91 |
<property |
| 92 |
name="windowImages" |
| 93 |
value="icons/wesnoth-icon_16.png,icons/wesnoth-icon_32.png,icons/wesnoth-icon.png"> |
| 94 |
</property> |
| 95 |
</product> |
| 96 |
</extension> |
| 97 |
<extension |
| 98 |
id="org.wesnoth.help" |
| 99 |
point="org.eclipse.help.toc"> |
| 100 |
<toc |
| 101 |
file="help/toc.xml" |
| 102 |
primary="true"> |
| 103 |
</toc> |
| 104 |
<toc |
| 105 |
file="help/tocfeatures.xml"> |
| 106 |
</toc> |
| 107 |
<toc |
| 108 |
file="help/tocgettingstarted.xml"> |
| 109 |
</toc> |
| 110 |
</extension> |
| 111 |
<extension |
| 112 |
point="org.eclipse.help.contexts"> |
| 113 |
<contexts |
| 114 |
file="help/contextHelp.xml" |
| 115 |
plugin="org.wesnoth"> |
| 116 |
</contexts> |
| 117 |
</extension> |
| 118 |
<extension |
| 119 |
point="org.eclipse.ui.editors"> |
| 120 |
<editor |
| 121 |
default="true" |
| 122 |
extensions="map" |
| 123 |
icon="icons/wesnoth_editor-icon_16.png" |
| 124 |
id="org.wesnoth.editor.mapEditor" |
| 125 |
launcher="org.wesnoth.editors.MapFileEditor" |
| 126 |
name="Wesnoth map editor"> |
| 127 |
</editor> |
| 128 |
</extension> |
| 129 |
<extension |
| 130 |
point="org.eclipse.ui.newWizards"> |
| 131 |
<category |
| 132 |
id="org.wesnoth.wizards" |
| 133 |
name="Wesnoth"> |
| 134 |
</category> |
| 135 |
<wizard |
| 136 |
category="org.wesnoth.wizards" |
| 137 |
class="org.wesnoth.wizards.newfile.NewConfigFileWizard" |
| 138 |
icon="icons/wesnoth-icon_16.png" |
| 139 |
id="org.wesnoth.wizards.NewConfigFileWizard" |
| 140 |
name="Wesnoth file wizard (.cfg)"> |
| 141 |
<description> |
| 142 |
Creates a new config file |
| 143 |
</description> |
| 144 |
</wizard> |
| 145 |
<wizard |
| 146 |
category="org.wesnoth.wizards" |
| 147 |
class="org.wesnoth.wizards.emptyproject.EmptyProjectNewWizard" |
| 148 |
icon="icons/wesnoth-icon_16.png" |
| 149 |
id="org.wesnoth.wizards.emptyProjectWizard" |
| 150 |
name="Empty project" |
| 151 |
project="true"> |
| 152 |
<description> |
| 153 |
Creates a new empty project |
| 154 |
</description> |
| 155 |
</wizard> |
| 156 |
<wizard |
| 157 |
category="org.wesnoth.wizards" |
| 158 |
class="org.wesnoth.wizards.campaign.CampaignNewWizard" |
| 159 |
icon="icons/wesnoth-icon_16.png" |
| 160 |
id="org.wesnoth.wizards.CampaignNewWizard" |
| 161 |
name="Wesnoth Campaign" |
| 162 |
project="true"> |
| 163 |
<description> |
| 164 |
Create a new Wesnoth campaign. |
| 165 |
</description> |
| 166 |
</wizard> |
| 167 |
<wizard |
| 168 |
category="org.wesnoth.wizards" |
| 169 |
class="org.wesnoth.wizards.scenario.ScenarioNewWizard" |
| 170 |
icon="icons/wesnoth-icon_16.png" |
| 171 |
id="org.wesnoth.wizards.ScenarioNewWizard" |
| 172 |
name="Wesnoth Scenario" |
| 173 |
project="false"> |
| 174 |
<description> |
| 175 |
Create a Wesnoth single player or multiplayer scenario. |
| 176 |
</description> |
| 177 |
</wizard> |
| 178 |
<wizard |
| 179 |
category="org.wesnoth.wizards" |
| 180 |
class="org.wesnoth.wizards.era.EraNewWizard" |
| 181 |
icon="icons/wesnoth-icon_16.png" |
| 182 |
id="org.wesnoth.wizards.eraNewWizard" |
| 183 |
name="Wesnoth Era" |
| 184 |
project="false"> |
| 185 |
<description> |
| 186 |
Create a new wesnoth era. |
| 187 |
</description> |
| 188 |
</wizard> |
| 189 |
<wizard |
| 190 |
category="org.wesnoth.wizards" |
| 191 |
class="org.wesnoth.wizards.faction.FactionNewWizard" |
| 192 |
icon="icons/wesnoth-icon_16.png" |
| 193 |
id="org.wesnoth.wizards.factionNewWizard" |
| 194 |
name="Wesnoth Faction" |
| 195 |
project="false"> |
| 196 |
<description> |
| 197 |
Create a new Wesnoth faction. |
| 198 |
</description> |
| 199 |
</wizard> |
| 200 |
<wizard |
| 201 |
category="org.wesnoth.wizards" |
| 202 |
class="org.wesnoth.wizards.generator.WizardLauncher" |
| 203 |
icon="icons/wesnoth-icon_16.png" |
| 204 |
id="org.wesnoth.wizards.wizardLauncher" |
| 205 |
name="Wizard Launcher" |
| 206 |
project="false"> |
| 207 |
<description> |
| 208 |
Launches the wizard based on the selected tag. |
| 209 |
</description> |
| 210 |
</wizard> |
| 211 |
</extension> |
| 212 |
<extension |
| 213 |
point="org.eclipse.ui.views"> |
| 214 |
|
| 215 |
<category |
| 216 |
name="Wesnoth" |
| 217 |
id="org.wesnoth.views"> |
| 218 |
</category> |
| 219 |
<view |
| 220 |
category="org.wesnoth.views" |
| 221 |
class="org.wesnoth.views.WesnothProjectsExplorer" |
| 222 |
icon="icons/wesnoth-icon_16.png" |
| 223 |
id="org.wesnoth.views.WesnothProjectsExplorer" |
| 224 |
name="Wesnoth Projects"> |
| 225 |
</view> |
| 226 |
<view |
| 227 |
allowMultiple="false" |
| 228 |
category="org.wesnoth.views" |
| 229 |
class="org.wesnoth.views.AddonsView" |
| 230 |
icon="icons/icon-addon-publish.png" |
| 231 |
id="org.wesnoth.addonsView" |
| 232 |
name="Wesnoth Addons " |
| 233 |
restorable="true"> |
| 234 |
</view> |
| 235 |
</extension> |
| 236 |
<extension |
| 237 |
point="org.eclipse.ui.navigator.navigatorContent"> |
| 238 |
<commonFilter |
| 239 |
activeByDefault="true" |
| 240 |
id="org.wesnoth.navigator.filters.hideAutoLinkedProject" |
| 241 |
name="Hide Autolinked CFG Projects"> |
| 242 |
<filterExpression> |
| 243 |
<or> |
| 244 |
<adapt |
| 245 |
type="org.eclipse.core.resources.IProject"> |
| 246 |
<test |
| 247 |
property="org.eclipse.core.resources.name" |
| 248 |
value="_AutoLinked_CFGExternalFiles_"> |
| 249 |
</test> |
| 250 |
</adapt> |
| 251 |
</or></filterExpression> |
| 252 |
</commonFilter> |
| 253 |
<commonFilter |
| 254 |
activeByDefault="true" |
| 255 |
id="org.wesnoth.navigator.filters.buildxml" |
| 256 |
name="Hide build.xml"> |
| 257 |
<filterExpression> |
| 258 |
<or> |
| 259 |
<adapt |
| 260 |
type="org.eclipse.core.resources.IFile"> |
| 261 |
<test |
| 262 |
property="org.eclipse.core.resources.name" |
| 263 |
value="build.xml"> |
| 264 |
</test> |
| 265 |
</adapt> |
| 266 |
</or> |
| 267 |
</filterExpression> |
| 268 |
</commonFilter> |
| 269 |
</extension> |
| 270 |
<extension |
| 271 |
point="org.eclipse.ui.navigator.viewer"> |
| 272 |
<viewer |
| 273 |
viewerId="org.wesnoth.views.WesnothProjectsExplorer"> |
| 274 |
</viewer> |
| 275 |
<viewerContentBinding |
| 276 |
viewerId="org.wesnoth.views.WesnothProjectsExplorer"> |
| 277 |
<includes> |
| 278 |
<contentExtension |
| 279 |
pattern="org.eclipse.ui.navigator.resourceContent"> |
| 280 |
</contentExtension> |
| 281 |
<contentExtension |
| 282 |
pattern="org.eclipse.ui.navigator.resources.filters.*"> |
| 283 |
</contentExtension> |
| 284 |
<contentExtension |
| 285 |
pattern="org.wesnoth.navigator.filters.*"> |
| 286 |
</contentExtension> |
| 287 |
</includes> |
| 288 |
</viewerContentBinding> |
| 289 |
<viewerActionBinding |
| 290 |
viewerId="org.wesnoth.views.WesnothProjectsExplorer"> |
| 291 |
<includes> |
| 292 |
<actionExtension |
| 293 |
pattern="org.eclipse.ui.navigator.resources.*"> |
| 294 |
</actionExtension> |
| 295 |
</includes> |
| 296 |
</viewerActionBinding> |
| 297 |
</extension> |
| 298 |
|
| 299 |
<extension |
| 300 |
point="org.eclipse.ui.popupMenus"> |
| 301 |
<objectContribution |
| 302 |
adaptable="true" |
| 303 |
id="org.wesnoth.popupMenus.projectContributions" |
| 304 |
nameFilter="*" |
| 305 |
objectClass="org.eclipse.core.resources.IProject"> |
| 306 |
<action |
| 307 |
class="org.wesnoth.action.WesnothProjectReport" |
| 308 |
enablesFor="1" |
| 309 |
icon="icons/wesnoth-icon_16.png" |
| 310 |
id="org.wesnoth.popupMenus.projectReport" |
| 311 |
label="Wesnoth project report" |
| 312 |
menubarPath="_wesnoth"> |
| 313 |
</action> |
| 314 |
<visibility> |
| 315 |
<objectState |
| 316 |
name="projectNature" |
| 317 |
value="org.wesnoth.natures.wesnoth"> |
| 318 |
</objectState> |
| 319 |
</visibility> |
| 320 |
</objectContribution> |
| 321 |
<objectContribution |
| 322 |
adaptable="false" |
| 323 |
id="org.wesnoth.popupMenus.mapDirectoriesContributions" |
| 324 |
nameFilter="*maps*" |
| 325 |
objectClass="org.eclipse.core.resources.IFolder"> |
| 326 |
<action |
| 327 |
class="org.wesnoth.action.ImportMap" |
| 328 |
enablesFor="1" |
| 329 |
icon="icons/wesnoth_editor-icon_16.png" |
| 330 |
id="org.wesnoth.popupMenus.importmap" |
| 331 |
label="Import map" |
| 332 |
menubarPath="_wesnoth"> |
| 333 |
</action> |
| 334 |
<visibility> |
| 335 |
<objectState |
| 336 |
name="projectNature" |
| 337 |
value="org.wesnoth.natures.wesnoth"> |
| 338 |
</objectState> |
| 339 |
</visibility> |
| 340 |
</objectContribution> |
| 341 |
<objectContribution |
| 342 |
adaptable="false" |
| 343 |
id="org.wesnoth.popupMenus.mapFilesContributions" |
| 344 |
nameFilter="*.map" |
| 345 |
objectClass="org.eclipse.core.resources.IFile"> |
| 346 |
<action |
| 347 |
class="org.wesnoth.action.OpenMapInEditor" |
| 348 |
enablesFor="1" |
| 349 |
icon="icons/wesnoth_editor-icon_16.png" |
| 350 |
id="org.wesnoth.popupMenus.openMapInEditor" |
| 351 |
label="Open map in editor" |
| 352 |
menubarPath="_wesnoth"> |
| 353 |
</action> |
| 354 |
<visibility> |
| 355 |
<objectState |
| 356 |
name="projectNature" |
| 357 |
value="org.wesnoth.natures.wesnoth"> |
| 358 |
</objectState> |
| 359 |
</visibility> |
| 360 |
</objectContribution> |
| 361 |
<objectContribution |
| 362 |
adaptable="false" |
| 363 |
id="org.wesnoth.popupMenus.configFilesContributions" |
| 364 |
nameFilter="*.cfg" |
| 365 |
objectClass="org.eclipse.core.resources.IFile"> |
| 366 |
<action |
| 367 |
class="org.wesnoth.action.OpenScenarioInGame" |
| 368 |
enablesFor="1" |
| 369 |
icon="icons/wesnoth-icon_16.png" |
| 370 |
id="org.wesnoth.popupMenus.openScenarioInGame" |
| 371 |
label="Open scenario in game" |
| 372 |
menubarPath="_wesnoth"> |
| 373 |
</action> |
| 374 |
<menu |
| 375 |
icon="icons/wesnoth-icon_16.png" |
| 376 |
id="org.wesnoth.popupMenus.preprocessorMenu" |
| 377 |
label="Preprocessor" |
| 378 |
path="_wesnoth"> |
| 379 |
<groupMarker |
| 380 |
name="preprocessorMenuMarker"> |
| 381 |
</groupMarker> |
| 382 |
</menu> |
| 383 |
<action |
| 384 |
class="org.wesnoth.action.ShowPreprocessedConfig" |
| 385 |
id="org.wesnoth.popupMenus.preprocessedConfig" |
| 386 |
label="Show preprocessed file" |
| 387 |
menubarPath="plugin.preprocessorMenu/preprocessorMenuMarker"> |
| 388 |
</action> |
| 389 |
<action |
| 390 |
class="org.wesnoth.action.ShowPlainPreprocessedConfig" |
| 391 |
id="org.wesnoth.popupMenus.plainPreprocessedconfig" |
| 392 |
label="Show plain preprocessed file" |
| 393 |
menubarPath="plugin.preprocessorMenu/preprocessorMenuMarker"> |
| 394 |
</action> |
| 395 |
<menu |
| 396 |
icon="icons/wesnoth-icon_16.png" |
| 397 |
id="org.wesnoth.popupMenus.wmltoolsCfgMenu" |
| 398 |
label="WML Tools" |
| 399 |
path="_wesnoth"> |
| 400 |
<groupMarker |
| 401 |
name="wmltoolsCfgMenuMarker"> |
| 402 |
</groupMarker> |
| 403 |
</menu> |
| 404 |
<action |
| 405 |
class="org.wesnoth.action.RunWMLLintOnSelection" |
| 406 |
id="org.wesnoth.popupMenus.wmllintOnFile" |
| 407 |
label="Run "wmllint" on this file" |
| 408 |
menubarPath="plugin.wmltoolsCfgMenu/wmltoolsCfgMenuMarker"> |
| 409 |
</action> |
| 410 |
<action |
| 411 |
class="org.wesnoth.action.RunWMLScopeOnSelection" |
| 412 |
id="org.wesnoth.popupMenus.wmlscope" |
| 413 |
label="Run "wmlscope" on this file" |
| 414 |
menubarPath="plugin.wmltoolsCfgMenu/wmltoolsCfgMenuMarker"> |
| 415 |
</action> |
| 416 |
<action |
| 417 |
class="org.wesnoth.action.RunWMLIndentOnSelection" |
| 418 |
id="org.wesnoth.popupMenus.wmlindent" |
| 419 |
label="Run "wmlindent" on this file" |
| 420 |
menubarPath="plugin.wmltoolsCfgMenu/wmltoolsCfgMenuMarker"> |
| 421 |
</action> |
| 422 |
<visibility> |
| 423 |
<objectState |
| 424 |
name="projectNature" |
| 425 |
value="org.wesnoth.natures.wesnoth"> |
| 426 |
</objectState> |
| 427 |
</visibility> |
| 428 |
</objectContribution> |
| 429 |
<objectContribution |
| 430 |
adaptable="false" |
| 431 |
id="org.wesnoth.popupMenus.containerContributions" |
| 432 |
nameFilter="*" |
| 433 |
objectClass="org.eclipse.core.resources.IContainer"> |
| 434 |
<action |
| 435 |
class="org.wesnoth.action.UploadAddon" |
| 436 |
icon="icons/wesnoth-icon_16.png" |
| 437 |
id="org.wesnoth.popupMenus.addonUpload" |
| 438 |
label="Upload Add-on" |
| 439 |
menubarPath="_wesnoth"> |
| 440 |
</action> |
| 441 |
<action |
| 442 |
class="org.wesnoth.action.OpenCampaignInGame" |
| 443 |
icon="icons/wesnoth-icon_16.png" |
| 444 |
id="org.wesnoth.popupMenus.startCampaign" |
| 445 |
label="Open campaign in game" |
| 446 |
menubarPath="_wesnoth"> |
| 447 |
</action> |
| 448 |
<menu |
| 449 |
icon="icons/wesnoth-icon_16.png" |
| 450 |
id="org.wesnoth.popupMenus.wmltoolsContainerMenu" |
| 451 |
label="WML Tools" |
| 452 |
path="_wesnoth"> |
| 453 |
<groupMarker |
| 454 |
name="wmltoolsContainerMenuMarker"> |
| 455 |
</groupMarker> |
| 456 |
</menu> |
| 457 |
<action |
| 458 |
class="org.wesnoth.action.RunWMLScopeOnSelection" |
| 459 |
id="org.wesnoth.popupMenus.wmlscopeOnContainer" |
| 460 |
label="Run "wmlscope" on the container" |
| 461 |
menubarPath="plugin.wmltoolsContainerMenu/wmltoolsContainerMenuMarker"> |
| 462 |
</action> |
| 463 |
<action |
| 464 |
class="org.wesnoth.action.RunWMLIndentOnSelection" |
| 465 |
id="org.wesnoth.popupMenus.wmlindentOnContainer" |
| 466 |
label="Run "wmlindent" on the container" |
| 467 |
menubarPath="plugin.wmltoolsContainerMenu/wmltoolsContainerMenuMarker"> |
| 468 |
</action> |
| 469 |
<action |
| 470 |
class="org.wesnoth.action.RunWMLLintOnSelection" |
| 471 |
id="org.wesnoth.popupMenus.wmllintOnContainer" |
| 472 |
label="Run "wmllint" on the container" |
| 473 |
menubarPath="plugin.wmltoolsContainerMenu/wmltoolsContainerMenuMarker"> |
| 474 |
</action> |
| 475 |
<visibility> |
| 476 |
<objectState |
| 477 |
name="projectNature" |
| 478 |
value="org.wesnoth.natures.wesnoth"> |
| 479 |
</objectState> |
| 480 |
</visibility> |
| 481 |
</objectContribution> |
| 482 |
<objectContribution |
| 483 |
adaptable="false" |
| 484 |
id="org.wesnoth.popupMenus.allProjectContributions" |
| 485 |
objectClass="org.eclipse.core.resources.IProject"> |
| 486 |
<action |
| 487 |
class="org.wesnoth.action.RegenerateBuildFiles" |
| 488 |
enablesFor="+" |
| 489 |
id="org.wesnoth.popupMenus.regenBuildFiles" |
| 490 |
label="Regenerate build files" |
| 491 |
menubarPath="_wesnoth"> |
| 492 |
</action> |
| 493 |
<menu |
| 494 |
id="buildersMenu" |
| 495 |
label="Builders" |
| 496 |
path="_wesnoth"> |
| 497 |
<separator name="buildersGroup" /> |
| 498 |
</menu> |
| 499 |
<action |
| 500 |
class="org.wesnoth.builder.ToggleWesnothNatureAction" |
| 501 |
enablesFor="+" |
| 502 |
icon="icons/wesnoth-icon_16.png" |
| 503 |
id="org.wesnoth.popupMenus.addRemoveWesnothNature" |
| 504 |
label="Add/Remove wesnoth Builder" |
| 505 |
menubarPath="buildersMenu/buildersGroup"> |
| 506 |
</action> |
| 507 |
<action |
| 508 |
class="org.wesnoth.builder.ToggleXtextNatureAction" |
| 509 |
enablesFor="+" |
| 510 |
icon="icons/wesnoth-icon_16.png" |
| 511 |
id="org.wesnoth.popupMenusj.addRemovextextNature" |
| 512 |
label="Add/Remove xtext Builder" |
| 513 |
menubarPath="buildersMenu/buildersGroup"> |
| 514 |
</action> |
| 515 |
</objectContribution> |
| 516 |
</extension> |
| 517 |
<extension |
| 518 |
point="org.eclipse.ui.commands"> |
| 519 |
<category |
| 520 |
id="org.wesnoth.commands.category" |
| 521 |
name="Wesnoth"> |
| 522 |
</category> |
| 523 |
<command |
| 524 |
defaultHandler="org.wesnoth.handlers.OpenEditorHandler" |
| 525 |
description="Opens the wesnoth editor" |
| 526 |
id="org.wesnoth.commands.openEditor" |
| 527 |
name="openeditor"> |
| 528 |
</command> |
| 529 |
<command |
| 530 |
defaultHandler="org.wesnoth.handlers.ImportMapHandler" |
| 531 |
description="Import an existing map into the current maps folder" |
| 532 |
id="org.wesnoth.commands.importMap" |
| 533 |
name="importMap"> |
| 534 |
</command> |
| 535 |
<command |
| 536 |
defaultHandler="org.wesnoth.handlers.OpenGameHandler" |
| 537 |
description="Opens the game" |
| 538 |
id="org.wesnoth.commands.openGame" |
| 539 |
name="openGame"> |
| 540 |
</command> |
| 541 |
<command |
| 542 |
defaultHandler="org.wesnoth.handlers.OpenMapInEditorHandler" |
| 543 |
description="Opens the selected map in the map editor" |
| 544 |
id="org.wesnoth.commands.openMapInEditor" |
| 545 |
name="openMapInEditor"> |
| 546 |
</command> |
| 547 |
<command |
| 548 |
defaultHandler="org.wesnoth.handlers.SetupWorkspaceHandler" |
| 549 |
description="Setups the workspace" |
| 550 |
id="org.wesnoth.commands.setupWorkspace" |
| 551 |
name="setupWorkspace"> |
| 552 |
</command> |
| 553 |
<command |
| 554 |
defaultHandler="org.wesnoth.handlers.ReloadFilesHandler" |
| 555 |
description="Reloads all plugin related files" |
| 556 |
id="org.wesnoth.commands.reloadFiles" |
| 557 |
name="reloadFiles"> |
| 558 |
</command> |
| 559 |
<command |
| 560 |
defaultHandler="org.wesnoth.handlers.TestHandler" |
| 561 |
id="org.wesnoth.commands.test" |
| 562 |
name="test command"> |
| 563 |
</command> |
| 564 |
</extension> |
| 565 |
<extension |
| 566 |
point="org.eclipse.ui.menus"> |
| 567 |
<menuContribution |
| 568 |
locationURI="menu:org.eclipse.ui.main.menu?after=additions"> |
| 569 |
<menu |
| 570 |
icon="icons/wesnoth-icon_16.png" |
| 571 |
id="org.wesnoth.menus.wesnothMenu" |
| 572 |
label="Wesnoth" |
| 573 |
mnemonic="s"> |
| 574 |
<command |
| 575 |
commandId="org.wesnoth.commands.openEditor" |
| 576 |
icon="icons/wesnoth_editor-icon_16.png" |
| 577 |
id="org.wesnoth.menus.openEditor" |
| 578 |
label="Open editor" |
| 579 |
mnemonic="e"> |
| 580 |
</command> |
| 581 |
<command |
| 582 |
commandId="org.wesnoth.commands.openGame" |
| 583 |
icon="icons/wesnoth-icon_16.png" |
| 584 |
id="org.wesnoth.menus.openGame" |
| 585 |
label="Open game" |
| 586 |
mnemonic="g"> |
| 587 |
</command> |
| 588 |
<separator |
| 589 |
name="separator1" |
| 590 |
visible="true"> |
| 591 |
</separator> |
| 592 |
<command |
| 593 |
commandId="org.wesnoth.commands.importMap" |
| 594 |
icon="icons/wesnoth_editor-icon_16.png" |
| 595 |
label="Import Map"> |
| 596 |
</command> |
| 597 |
<command |
| 598 |
commandId="org.wesnoth.commands.openMapInEditor" |
| 599 |
icon="icons/wesnoth_editor-icon_16.png" |
| 600 |
label="Open map with editor" |
| 601 |
style="push"> |
| 602 |
</command> |
| 603 |
<separator |
| 604 |
name="separator2" |
| 605 |
visible="true"> |
| 606 |
</separator> |
| 607 |
<command |
| 608 |
commandId="org.wesnoth.commands.setupWorkspace" |
| 609 |
label="Setup Workspace" |
| 610 |
style="push"> |
| 611 |
</command> |
| 612 |
<command |
| 613 |
commandId="org.wesnoth.commands.reloadFiles" |
| 614 |
label="Reload cache" |
| 615 |
style="push"> |
| 616 |
</command> |
| 617 |
<command |
| 618 |
commandId="org.eclipse.ui.window.preferences" |
| 619 |
label="Open plugin's preferences" |
| 620 |
style="push"> |
| 621 |
<parameter |
| 622 |
name="preferencePageId" |
| 623 |
value="org.wesnoth.preferences.UMCPage"> |
| 624 |
</parameter> |
| 625 |
</command> |
| 626 |
<separator |
| 627 |
name="separator3" |
| 628 |
visible="true"> |
| 629 |
</separator> |
| 630 |
<command |
| 631 |
commandId="org.wesnoth.commands.test" |
| 632 |
label="Test (FOR DEBUG ONLY!!)" |
| 633 |
style="push"> |
| 634 |
</command> |
| 635 |
</menu> |
| 636 |
</menuContribution> |
| 637 |
</extension> |
| 638 |
<extension |
| 639 |
point="org.eclipse.ui.preferencePages"> |
| 640 |
<page |
| 641 |
class="org.wesnoth.preferences.WesnothPreferencesPage" |
| 642 |
id="org.wesnoth.preferences.UMCPage" |
| 643 |
name="Wesnoth UMC"> |
| 644 |
</page> |
| 645 |
<page |
| 646 |
category="org.wesnoth.preferences.UMCPage" |
| 647 |
class="org.wesnoth.preferences.WesnothInstallsPage" |
| 648 |
id="org.wesnoth.preferences.InstallsPage" |
| 649 |
name="Wesnoth Installs"> |
| 650 |
</page> |
| 651 |
<page |
| 652 |
category="org.wesnoth.preferences.UMCPage" |
| 653 |
class="org.wesnoth.preferences.WMLToolsPreferencePage" |
| 654 |
id="org.wesnoth.preferences.WMLToolsPage" |
| 655 |
name="WML Tools"> |
| 656 |
</page> |
| 657 |
<page |
| 658 |
category="org.wesnoth.preferences.UMCPage" |
| 659 |
class="org.wesnoth.preferences.AddonUploadPreferencePage" |
| 660 |
id="org.wesnoth.preferences.AddonPage" |
| 661 |
name="Addon Uploader"> |
| 662 |
</page> |
| 663 |
<page |
| 664 |
category="org.wesnoth.preferences.UMCPage" |
| 665 |
class="org.wesnoth.preferences.AdvancedPreferencePage" |
| 666 |
id="org.wesnoth.preferences.AdvancedPage" |
| 667 |
name="Advanced Preferences"> |
| 668 |
</page> |
| 669 |
</extension> |
| 670 |
<extension |
| 671 |
id="org.wesnoth.perspectives" |
| 672 |
point="org.eclipse.ui.perspectives"> |
| 673 |
<perspective |
| 674 |
class="org.wesnoth.product.WMLPerspective" |
| 675 |
icon="icons/wesnoth_editor-icon_16.png" |
| 676 |
id="org.wesnoth.product.WMLPerspective" |
| 677 |
name="Wesnoth"> |
| 678 |
</perspective> |
| 679 |
</extension> |
| 680 |
<extension |
| 681 |
point="org.eclipse.ui.elementFactories"> |
| 682 |
<factory |
| 683 |
class="org.wesnoth.views.WesnothProjectsExplorer" |
| 684 |
id="org.wesnoth.views.WesnothProjectsExplorer"> |
| 685 |
</factory> |
| 686 |
</extension> |
| 687 |
<extension |
| 688 |
point="org.eclipse.ui.intro"> |
| 689 |
<intro |
| 690 |
class="org.eclipse.ui.intro.config.CustomizableIntroPart" |
| 691 |
icon="icons/wesnoth-icon_16.png" |
| 692 |
id="org.wesnoth.intro" |
| 693 |
label="Welcome to Wesnoth User Made Content Plugin"> |
| 694 |
</intro> |
| 695 |
<introProductBinding |
| 696 |
introId="org.wesnoth.intro" |
| 697 |
productId="org.wesnoth.product"> |
| 698 |
</introProductBinding> |
| 699 |
</extension> |
| 700 |
<extension |
| 701 |
point="org.eclipse.ui.intro.config"> |
| 702 |
<config |
| 703 |
content="help/intro/content.xml" |
| 704 |
id="org.wesnoth.introConfigId" |
| 705 |
introId="org.wesnoth.intro"> |
| 706 |
<presentation |
| 707 |
home-page-id="root"> |
| 708 |
<implementation |
| 709 |
kind="html" |
| 710 |
os="win32,linux,macosx" |
| 711 |
style="content/shared.css"> |
| 712 |
</implementation> |
| 713 |
</presentation> |
| 714 |
</config> |
| 715 |
</extension> |
| 716 |
<extension |
| 717 |
id="org.wesnoth.marker.wmlscope" |
| 718 |
name="WMLScope problem" |
| 719 |
point="org.eclipse.core.resources.markers"> |
| 720 |
<super |
| 721 |
type="org.eclipse.core.resources.problemmarker"> |
| 722 |
</super> |
| 723 |
<persistent |
| 724 |
value="true"> |
| 725 |
</persistent> |
| 726 |
</extension> |
| 727 |
<!-- |
| 728 |
<extension |
| 729 |
point="org.eclipse.ui.activities"> |
| 730 |
<activity |
| 731 |
id="org.wesnoth.product.disableextra" |
| 732 |
name="disable_extra_features"> |
| 733 |
<enabledWhen> |
| 734 |
<with variable="true"> |
| 735 |
<equals |
| 736 |
value="false"> |
| 737 |
</equals> |
| 738 |
</with></enabledWhen> |
| 739 |
</activity> |
| 740 |
|
| 741 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.jdt.ui.wizards.*"> </activityPatternBinding> |
| 742 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.jdt.debug.ui.snippetEditor.NewSnippetFileCreationWizard"> </activityPatternBinding> |
| 743 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.team.cvs.ui.newLocation"> </activityPatternBinding> |
| 744 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.team.cvs.ui.newProjectCheckout"> </activityPatternBinding> |
| 745 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.emf.ecore.presentation.EcoreModelWizardID"> </activityPatternBinding> |
| 746 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.emf.codegen.ecore.ui.EmptyProjectWizard"> </activityPatternBinding> |
| 747 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.emf.mwe2.language.ui.wizard.NewMwe2FileWizard"> </activityPatternBinding> |
| 748 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.emf.mwe.internal.ui.wizard.NewWorkflowFileWizard"> </activityPatternBinding> |
| 749 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.mylyn.tasks.ui.wizards.*"> </activityPatternBinding> |
| 750 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.wst.xml.ui.internal.wizards.*"> </activityPatternBinding> |
| 751 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.wst.xml.ui.XMLExampleProjectCreationWizard"> </activityPatternBinding> |
| 752 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.xpand.ui.wizard.*"> </activityPatternBinding> |
| 753 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.xtend.shared.ui.wizard.*"> </activityPatternBinding> |
| 754 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.xtend.xtend.wizard.*"> </activityPatternBinding> |
| 755 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.xtext.xtext.ui.wizard.*"> </activityPatternBinding> |
| 756 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.xtend.check.ui.wizard.NewCheckFileWizard"> </activityPatternBinding> |
| 757 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.xtext.examples.*"> </activityPatternBinding> |
| 758 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.wst.xsd.ui.internal.wizards.*"> </activityPatternBinding> |
| 759 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.wst.dtd.ui.internal.wizard.*"> </activityPatternBinding> |
| 760 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.ui.externaltools.*"> </activityPatternBinding> |
| 761 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.debug.*"> </activityPatternBinding> |
| 762 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.mylyn.tasks.ui.bug.report.*"> </activityPatternBinding> |
| 763 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.ui.actions.showKeyAssistHandler.*"> </activityPatternBinding> |
| 764 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction.*"> </activityPatternBinding> |
| 765 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.mylyn.task.*"> </activityPatternBinding> |
| 766 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.jdt.*"> </activityPatternBinding> |
| 767 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.xtend.*"> </activityPatternBinding> |
| 768 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.team.*"> </activityPatternBinding> |
| 769 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.wst.*"> </activityPatternBinding> |
| 770 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.team.internal.ccvs*"> </activityPatternBinding> |
| 771 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.search.*"> </activityPatternBinding> |
| 772 |
<activityPatternBinding activityId="org.wesnoth.product.disableextra" pattern=".*/org.eclipse.ant.*"> </activityPatternBinding> |
| 773 |
</extension> |
| 774 |
<extension |
| 775 |
point="org.eclipse.ui.startup"> |
| 776 |
<startup |
| 777 |
class="org.wesnoth.product.ActionWiper"> |
| 778 |
</startup> |
| 779 |
</extension> |
| 780 |
--> |
| 781 |
<extension |
| 782 |
point="org.eclipse.core.contenttype.contentTypes"> |
| 783 |
<content-type |
| 784 |
base-type="org.eclipse.core.runtime.text" |
| 785 |
default-charset="UTF-8" |
| 786 |
file-extensions="cfg" |
| 787 |
id="org.wesnoth.wmlcontent" |
| 788 |
name="WML File" |
| 789 |
priority="normal"> |
| 790 |
</content-type> |
| 791 |
</extension> |
| 792 |
<extension |
| 793 |
point="org.eclipse.ui.propertyPages"> |
| 794 |
<page |
| 795 |
class="org.wesnoth.propertypages.WesnothProjectPage" |
| 796 |
icon="icons/wesnoth-icon_16.png" |
| 797 |
id="org.wesnoth.propertyPages.wesnothProject" |
| 798 |
name="Wesnoth Project"> |
| 799 |
<enabledWhen> |
| 800 |
<instanceof |
| 801 |
value="org.eclipse.core.resources.IProject"> |
| 802 |
</instanceof></enabledWhen> |
| 803 |
</page> |
| 804 |
</extension> |
| 805 |
|
| 806 |
<extension point="org.eclipse.emf.ecore.generated_package"> |
| 807 |
<package |
| 808 |
uri = "http://www.wesnoth.org/WML" |
| 809 |
class = "org.wesnoth.wml.WmlPackage" |
| 810 |
genModel = "org/wesnoth/WML.genmodel" /> |
| 811 |
|
| 812 |
</extension> |
| 813 |
<extension |
| 814 |
point="org.eclipse.ui.importWizards"> |
| 815 |
<category |
| 816 |
id="org.wesnoth.importWizards" |
| 817 |
name="Wesnoth"> |
| 818 |
</category> |
| 819 |
<wizard |
| 820 |
category="org.wesnoth.importWizards" |
| 821 |
class="org.wesnoth.importWizards.ImportProjectWizard" |
| 822 |
icon="icons/wesnoth-icon_16.png" |
| 823 |
id="org.wesnoth.projectImportWizard" |
| 824 |
name="Import Wesnoth Project"> |
| 825 |
<description> |
| 826 |
Import a directory as a wesnoth project |
| 827 |
</description> |
| 828 |
</wizard> |
| 829 |
</extension> |
| 830 |
|
| 831 |
</plugin> |