|
Lines 49-55
Link Here
|
| 49 |
<!-- ****************** POPUP ACTIONS *************** --> |
49 |
<!-- ****************** POPUP ACTIONS *************** --> |
| 50 |
<extension |
50 |
<extension |
| 51 |
point="org.eclipse.ui.popupMenus"> |
51 |
point="org.eclipse.ui.popupMenus"> |
| 52 |
<objectContribution |
52 |
<!--objectContribution |
| 53 |
objectClass="org.eclipse.core.resources.mapping.ResourceMapping" |
53 |
objectClass="org.eclipse.core.resources.mapping.ResourceMapping" |
| 54 |
adaptable="true" |
54 |
adaptable="true" |
| 55 |
id="org.eclipse.team.ui.ResourceContributions"> |
55 |
id="org.eclipse.team.ui.ResourceContributions"> |
|
Lines 94-101
Link Here
|
| 94 |
name="projectGroup"> |
94 |
name="projectGroup"> |
| 95 |
</separator> |
95 |
</separator> |
| 96 |
</menu> |
96 |
</menu> |
| 97 |
</objectContribution> |
97 |
</objectContribution--> |
| 98 |
<objectContribution |
98 |
<!--objectContribution |
| 99 |
objectClass="org.eclipse.core.resources.mapping.ResourceMapping" |
99 |
objectClass="org.eclipse.core.resources.mapping.ResourceMapping" |
| 100 |
adaptable="true" |
100 |
adaptable="true" |
| 101 |
id="org.eclipse.team.ui.ProjectContributions"> |
101 |
id="org.eclipse.team.ui.ProjectContributions"> |
|
Lines 114-121
Link Here
|
| 114 |
</adapt> |
114 |
</adapt> |
| 115 |
</not> |
115 |
</not> |
| 116 |
</enablement> |
116 |
</enablement> |
| 117 |
</objectContribution> |
117 |
</objectContribution--> |
| 118 |
<objectContribution |
118 |
<!--objectContribution |
| 119 |
objectClass="org.eclipse.core.resources.IFile" |
119 |
objectClass="org.eclipse.core.resources.IFile" |
| 120 |
nameFilter="*.psf" |
120 |
nameFilter="*.psf" |
| 121 |
id="org.eclipse.team.ui.ProjectSetFileContributions"> |
121 |
id="org.eclipse.team.ui.ProjectSetFileContributions"> |
|
Lines 126-151
Link Here
|
| 126 |
enablesFor="*" |
126 |
enablesFor="*" |
| 127 |
id="nonbound.org.eclipse.team.ui.ImportProjectSetAction"> |
127 |
id="nonbound.org.eclipse.team.ui.ImportProjectSetAction"> |
| 128 |
</action> |
128 |
</action> |
| 129 |
</objectContribution> |
129 |
</objectContribution--> |
| 130 |
<objectContribution |
130 |
<objectContribution |
| 131 |
adaptable="true" |
131 |
adaptable="true" |
| 132 |
id="org.eclipse.team.ui.UnmanagedFileContributions" |
132 |
id="org.eclipse.team.ui.UnmanagedFileContributions" |
| 133 |
objectClass="org.eclipse.core.resources.IFile"> |
133 |
objectClass="org.eclipse.core.resources.IFile"> |
| 134 |
<action |
134 |
<!--action |
| 135 |
class="org.eclipse.team.internal.ui.history.ShowLocalHistory" |
135 |
class="org.eclipse.team.internal.ui.history.ShowLocalHistory" |
| 136 |
id="org.eclipse.team.ui.showLocalHistory" |
136 |
id="org.eclipse.team.ui.showLocalHistory" |
| 137 |
label="%ShowLocalHistory.label" |
137 |
label="%ShowLocalHistory.label" |
| 138 |
menubarPath="team.main/group4" |
138 |
menubarPath="team.main/group4" |
| 139 |
enablesFor="1" |
139 |
enablesFor="1" |
| 140 |
tooltip="%ShowLocalHistory.label"/> |
140 |
tooltip="%ShowLocalHistory.label"/--> |
| 141 |
<action |
141 |
<!--action |
| 142 |
class="org.eclipse.team.internal.ui.history.CompareLocalHistory" |
142 |
class="org.eclipse.team.internal.ui.history.CompareLocalHistory" |
| 143 |
id="org.eclipse.team.ui.compareLocalHistory" |
143 |
id="org.eclipse.team.ui.compareLocalHistory" |
| 144 |
label="%CompareLocalHistory.label" |
144 |
label="%CompareLocalHistory.label" |
| 145 |
menubarPath="compareWithMenu/compareWithGroup" |
145 |
menubarPath="compareWithMenu/compareWithGroup" |
| 146 |
enablesFor="1" |
146 |
enablesFor="1" |
| 147 |
overrideActionId="compareWithHistory" |
147 |
overrideActionId="compareWithHistory" |
| 148 |
tooltip="%CompareLocalHistory.tooltip"/> |
148 |
tooltip="%CompareLocalHistory.tooltip"/--> |
| 149 |
<action |
149 |
<action |
| 150 |
class="org.eclipse.team.internal.ui.history.ReplaceLocalHistory" |
150 |
class="org.eclipse.team.internal.ui.history.ReplaceLocalHistory" |
| 151 |
id="org.eclipse.team.ui.replaceLocalHistory" |
151 |
id="org.eclipse.team.ui.replaceLocalHistory" |
|
Lines 285-308
Link Here
|
| 285 |
id="org.eclipse.team.ui.category.team"> |
285 |
id="org.eclipse.team.ui.category.team"> |
| 286 |
</category> |
286 |
</category> |
| 287 |
<command |
287 |
<command |
| 288 |
name="%Command.syncAll.name" |
|
|
| 289 |
categoryId="org.eclipse.team.ui.category.team" |
| 290 |
description="%Command.syncAll.description" |
| 291 |
id="org.eclipse.team.ui.synchronizeAll"> |
| 292 |
</command> |
| 293 |
<command |
| 294 |
name="%Command.syncLast.name" |
288 |
name="%Command.syncLast.name" |
| 295 |
categoryId="org.eclipse.team.ui.category.team" |
289 |
categoryId="org.eclipse.team.ui.category.team" |
| 296 |
description="%Command.syncLast.description" |
290 |
description="%Command.syncLast.description" |
| 297 |
id="org.eclipse.team.ui.synchronizeLast"> |
291 |
id="org.eclipse.team.ui.synchronizeLast"> |
| 298 |
</command> |
292 |
</command> |
| 299 |
<command |
293 |
<command |
| 300 |
name="%Command.applyPatch.name" |
|
|
| 301 |
categoryId="org.eclipse.team.ui.category.team" |
| 302 |
description="%Command.applyPatch.description" |
| 303 |
id="org.eclipse.team.ui.applyPatch"> |
| 304 |
</command> |
| 305 |
<command |
| 306 |
name="%Synchronizing.perspective" |
294 |
name="%Synchronizing.perspective" |
| 307 |
description="%Synchronizing.openPerspectiveDescription" |
295 |
description="%Synchronizing.openPerspectiveDescription" |
| 308 |
categoryId="org.eclipse.ui.category.perspectives" |
296 |
categoryId="org.eclipse.ui.category.perspectives" |
|
Lines 317-322
Link Here
|
| 317 |
description="%ViewCommand.historyView.description" |
305 |
description="%ViewCommand.historyView.description" |
| 318 |
categoryId="org.eclipse.ui.category.views" |
306 |
categoryId="org.eclipse.ui.category.views" |
| 319 |
id="org.eclipse.team.ui.GenericHistoryView"/> |
307 |
id="org.eclipse.team.ui.GenericHistoryView"/> |
|
|
308 |
<!-- TZarna: added commands --> |
| 309 |
<command |
| 310 |
categoryId="org.eclipse.team.ui.category.team" |
| 311 |
defaultHandler="org.eclipse.team.internal.ui.actions.ApplyPatchAction" |
| 312 |
description="%Command.applyPatch.description" |
| 313 |
id="org.eclipse.team.ui.applyPatch" |
| 314 |
name="%Command.applyPatch.name"> |
| 315 |
</command> |
| 316 |
<command |
| 317 |
categoryId="org.eclipse.team.ui.category.team" |
| 318 |
defaultHandler="org.eclipse.team.internal.ui.actions.ConfigureProjectAction" |
| 319 |
id="org.eclipse.team.ui.configureProject" |
| 320 |
name="%Command.configureProject.name"> |
| 321 |
</command> |
| 322 |
<command |
| 323 |
categoryId="org.eclipse.team.ui.category.team" |
| 324 |
defaultHandler="org.eclipse.team.internal.ui.synchronize.actions.GlobalRefreshHandler" |
| 325 |
description="%Command.syncAll.description" |
| 326 |
id="org.eclipse.team.ui.synchronizeAll" |
| 327 |
name="%Command.syncAll.name"> |
| 328 |
</command> |
| 329 |
<command |
| 330 |
categoryId="org.eclipse.team.ui.category.team" |
| 331 |
defaultHandler="org.eclipse.team.internal.ui.actions.ImportProjectSetAction" |
| 332 |
description="%Command.importProjectSet.description" |
| 333 |
id="org.eclipse.team.ui.importProjectSet" |
| 334 |
name="%Command.importProjectSet.name"> |
| 335 |
</command> |
| 336 |
<command |
| 337 |
categoryId="org.eclipse.team.ui.category.team" |
| 338 |
defaultHandler="org.eclipse.team.internal.ui.history.ShowLocalHistory" |
| 339 |
description="%Command.showLocalHistory.description" |
| 340 |
id="org.eclipse.team.ui.showLocalHistory" |
| 341 |
name="%Command.showLocalHistory.name"> |
| 342 |
</command> |
| 343 |
<command |
| 344 |
categoryId="org.eclipse.team.ui.category.team" |
| 345 |
defaultHandler="org.eclipse.team.internal.ui.history.CompareLocalHistory" |
| 346 |
description="%Command.compareLocalHistory.description" |
| 347 |
id="org.eclipse.team.ui.compareLocalHistory" |
| 348 |
name="%Command.compareLocalHistory.name"> |
| 349 |
</command> |
| 320 |
</extension> |
350 |
</extension> |
| 321 |
|
351 |
|
| 322 |
<extension |
352 |
<extension |
|
Lines 333-339
Link Here
|
| 333 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
363 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
| 334 |
</extension> |
364 |
</extension> |
| 335 |
<!-- action sets --> |
365 |
<!-- action sets --> |
| 336 |
<extension |
366 |
<!--extension |
| 337 |
point="org.eclipse.ui.actionSets"> |
367 |
point="org.eclipse.ui.actionSets"> |
| 338 |
<actionSet |
368 |
<actionSet |
| 339 |
label="%Command.category.name" |
369 |
label="%Command.category.name" |
|
Lines 366-372
Link Here
|
| 366 |
menubarPath="project/additions" |
396 |
menubarPath="project/additions" |
| 367 |
tooltip="%ApplyPatch.tooltip"/> |
397 |
tooltip="%ApplyPatch.tooltip"/> |
| 368 |
</actionSet> |
398 |
</actionSet> |
| 369 |
</extension> |
399 |
</extension--> |
| 370 |
|
400 |
|
| 371 |
<!-- file modification validator --> |
401 |
<!-- file modification validator --> |
| 372 |
|
402 |
|
|
Lines 494-497
Link Here
|
| 494 |
</triggerPoint> |
524 |
</triggerPoint> |
| 495 |
</extension> |
525 |
</extension> |
| 496 |
|
526 |
|
|
|
527 |
<!-- *************** Menus **************** --> |
| 528 |
<extension |
| 529 |
point="org.eclipse.ui.menus"> |
| 530 |
<menuContribution |
| 531 |
locationURI="menu:project?after=additions"> |
| 532 |
<!-- always enabled --> |
| 533 |
<command |
| 534 |
commandId="org.eclipse.team.ui.applyPatch" |
| 535 |
label="%ApplyPatch.label" |
| 536 |
mnemonic="%ApplyPatch.mnemonic" |
| 537 |
style="push" |
| 538 |
tooltip="%ApplyPatch.tooltip"> |
| 539 |
<visibleWhen |
| 540 |
checkEnabled="false"> |
| 541 |
</visibleWhen> |
| 542 |
</command> |
| 543 |
</menuContribution> |
| 544 |
<menuContribution |
| 545 |
locationURI="menu:project?after=open.ext"> |
| 546 |
<!-- enablement? --> |
| 547 |
<command |
| 548 |
commandId="org.eclipse.team.ui.configureProject" |
| 549 |
id="org.eclipse.team.ui.ConfigureProject" |
| 550 |
label="%ConfigureProject.label" |
| 551 |
mnemonic="%ConfigureProject.mnemonic" |
| 552 |
style="push" |
| 553 |
tooltip="%ConfigureProject.tooltip"> |
| 554 |
</command> |
| 555 |
</menuContribution> |
| 556 |
<menuContribution |
| 557 |
locationURI="toolbar:org.eclipse.ui.main.toolbar"> |
| 558 |
<toolbar |
| 559 |
id="whatever"> |
| 560 |
<command |
| 561 |
commandId="org.eclipse.team.ui.synchronizeAll" |
| 562 |
icon="$nl$/icons/full/elcl16/synch_participants.gif" |
| 563 |
label="%Command.syncAll.name" |
| 564 |
style="pulldown"> |
| 565 |
</command> |
| 566 |
</toolbar> |
| 567 |
<!--toolbar |
| 568 |
id="toolbar:org.eclipse.ui.main.toolbar?after=search"> |
| 569 |
<command |
| 570 |
commandId="org.eclipse.team.ui.synchronizeAll2" |
| 571 |
icon="$nl$/icons/full/elcl16/synch_participants.gif" |
| 572 |
label="%Command.syncAll.name" |
| 573 |
style="pulldown"> |
| 574 |
</command> |
| 575 |
</toolbar--> |
| 576 |
</menuContribution> |
| 577 |
<menuContribution |
| 578 |
locationURI="popup:org.eclipse.ui.popup.any?after=team.main"> |
| 579 |
<!-- should be enabled only for IFiles with *.psf extension, multiselection is allowed --> |
| 580 |
<command |
| 581 |
commandId="org.eclipse.team.ui.importProjectSet" |
| 582 |
label="%Command.importProjectSet.name" |
| 583 |
style="push"> |
| 584 |
</command> |
| 585 |
</menuContribution> |
| 586 |
<menuContribution |
| 587 |
locationURI="popup:team.main?after=projectGroup"> |
| 588 |
<command |
| 589 |
commandId="org.eclipse.team.ui.configureProject" |
| 590 |
id="nonbound.org.eclipse.team.ui.ConfigureProject" |
| 591 |
label="%ConfigureProject.label" |
| 592 |
mnemonic="%ConfigureProject.mnemonic" |
| 593 |
style="push" |
| 594 |
tooltip="%ConfigureProject.tooltip"> |
| 595 |
</command> |
| 596 |
</menuContribution> |
| 597 |
<menuContribution |
| 598 |
locationURI="popup:org.eclipse.ui.popup.any"> |
| 599 |
<menu |
| 600 |
id="team.main" |
| 601 |
label="%TeamGroupMenu.label" |
| 602 |
mnemonic="%TeamGroupMenu.mnemonic"> |
| 603 |
<separator |
| 604 |
name="group1" |
| 605 |
visible="true"> |
| 606 |
</separator> |
| 607 |
<separator |
| 608 |
name="group2" |
| 609 |
visible="true"> |
| 610 |
</separator> |
| 611 |
<separator |
| 612 |
name="group3" |
| 613 |
visible="true"> |
| 614 |
</separator> |
| 615 |
<separator |
| 616 |
name="group4" |
| 617 |
visible="true"> |
| 618 |
</separator> |
| 619 |
<separator |
| 620 |
name="group5" |
| 621 |
visible="true"> |
| 622 |
</separator> |
| 623 |
<separator |
| 624 |
name="group6" |
| 625 |
visible="true"> |
| 626 |
</separator> |
| 627 |
<separator |
| 628 |
name="group7" |
| 629 |
visible="true"> |
| 630 |
</separator> |
| 631 |
<separator |
| 632 |
name="group8" |
| 633 |
visible="true"> |
| 634 |
</separator> |
| 635 |
<separator |
| 636 |
name="group9" |
| 637 |
visible="true"> |
| 638 |
</separator> |
| 639 |
<separator |
| 640 |
name="group10" |
| 641 |
visible="true"> |
| 642 |
</separator> |
| 643 |
<separator |
| 644 |
name="targetGroup" |
| 645 |
visible="true"> |
| 646 |
</separator> |
| 647 |
<separator |
| 648 |
name="projectGroup" |
| 649 |
visible="true"> |
| 650 |
</separator> |
| 651 |
</menu> |
| 652 |
</menuContribution> |
| 653 |
<menuContribution |
| 654 |
locationURI="popup:compareWithMenu?after=compareWithGroup"> |
| 655 |
<command |
| 656 |
commandId="org.eclipse.team.ui.compareLocalHistory" |
| 657 |
label="%CompareLocalHistory.label" |
| 658 |
style="push" |
| 659 |
tooltip="%CompareLocalHistory.tooltip"> |
| 660 |
</command> |
| 661 |
</menuContribution> |
| 662 |
<menuContribution |
| 663 |
locationURI="popup:team.main?after=group4"> |
| 664 |
<command |
| 665 |
commandId="org.eclipse.team.ui.showLocalHistory" |
| 666 |
label="%ShowLocalHistory.label" |
| 667 |
mnemonic="%ShowLocalHistory.mnemonic" |
| 668 |
style="push" |
| 669 |
> |
| 670 |
</command> |
| 671 |
</menuContribution> |
| 672 |
<menuContribution |
| 673 |
locationURI="popup:compareWithMenu?after=compareWithGroup"> |
| 674 |
<command |
| 675 |
commandId="org.eclipse.team.ui.compareLocalHistory" |
| 676 |
label="%CompareLocalHistory.label" |
| 677 |
mnemonic="%CompareLocalHistory.mnemonic" |
| 678 |
style="push" |
| 679 |
tooltip="%CompareLocalHistory.tooltip"> |
| 680 |
</command> |
| 681 |
</menuContribution> |
| 682 |
</extension> |
| 683 |
<extension |
| 684 |
point="org.eclipse.ui.handlers"> |
| 685 |
<handler |
| 686 |
class="org.eclipse.team.internal.ui.actions.ApplyPatchAction" |
| 687 |
commandId="org.eclipse.team.ui.handler1"> |
| 688 |
</handler> |
| 689 |
<handler |
| 690 |
class="org.eclipse.team.internal.ui.actions.ConfigureProjectAction" |
| 691 |
commandId="org.eclipse.team.ui.handler3"> |
| 692 |
</handler> |
| 693 |
<handler |
| 694 |
class="org.eclipse.team.internal.ui.actions.ImportProjectSetAction" |
| 695 |
commandId="org.eclipse.team.ui.handler7"> |
| 696 |
</handler> |
| 697 |
<handler |
| 698 |
class="org.eclipse.team.internal.ui.history.ShowLocalHistory" |
| 699 |
commandId="org.eclipse.team.ui.handler9"> |
| 700 |
</handler> |
| 701 |
<handler |
| 702 |
class="org.eclipse.team.internal.ui.history.CompareLocalHistory" |
| 703 |
commandId="org.eclipse.team.ui.handler11"> |
| 704 |
</handler> |
| 705 |
<handler |
| 706 |
class="org.eclipse.team.internal.ui.synchronize.actions.GlobalRefreshHandler" |
| 707 |
commandId="org.eclipse.team.ui.handler2"> |
| 708 |
</handler> |
| 709 |
</extension> |
| 710 |
|
| 497 |
</plugin> |
711 |
</plugin> |