|
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 317-322
Link Here
|
| 317 |
description="%ViewCommand.historyView.description" |
317 |
description="%ViewCommand.historyView.description" |
| 318 |
categoryId="org.eclipse.ui.category.views" |
318 |
categoryId="org.eclipse.ui.category.views" |
| 319 |
id="org.eclipse.team.ui.GenericHistoryView"/> |
319 |
id="org.eclipse.team.ui.GenericHistoryView"/> |
|
|
320 |
<!-- TZarna: added commands --> |
| 321 |
<command |
| 322 |
categoryId="org.eclipse.team.ui.category.team" |
| 323 |
defaultHandler="org.eclipse.team.internal.ui.handlers.ApplyPatchHandler" |
| 324 |
description="%Command.applyPatch.description" |
| 325 |
id="org.eclipse.team.ui.applyPatch" |
| 326 |
name="%Command.applyPatch.name"> |
| 327 |
</command> |
| 328 |
<command |
| 329 |
categoryId="org.eclipse.team.ui.category.team" |
| 330 |
defaultHandler="org.eclipse.team.internal.ui.handlers.ConfigureProjectHandler" |
| 331 |
id="org.eclipse.team.ui.configureProject" |
| 332 |
name="%Command.configureProject.name"> |
| 333 |
</command> |
| 334 |
<command |
| 335 |
categoryId="org.eclipse.team.ui.category.team" |
| 336 |
defaultHandler="org.eclipse.team.internal.ui.handlers.SynchronizeHandler" |
| 337 |
description="%Command.syncAll.description" |
| 338 |
id="org.eclipse.team.ui.synchronizeAll" |
| 339 |
name="%Command.syncAll.name"> |
| 340 |
</command> |
| 341 |
<command |
| 342 |
categoryId="org.eclipse.team.ui.category.team" |
| 343 |
defaultHandler="org.eclipse.team.internal.ui.handlers.ImportProjectSetHandler" |
| 344 |
description="%Command.importProjectSet.description" |
| 345 |
id="org.eclipse.team.ui.importProjectSet" |
| 346 |
name="%Command.importProjectSet.name"> |
| 347 |
</command> |
| 348 |
<command |
| 349 |
categoryId="org.eclipse.team.ui.category.team" |
| 350 |
defaultHandler="org.eclipse.team.internal.ui.history.ShowLocalHistoryHandler" |
| 351 |
description="%Command.showLocalHistory.description" |
| 352 |
id="org.eclipse.team.ui.showLocalHistory" |
| 353 |
name="%Command.showLocalHistory.name"> |
| 354 |
</command> |
| 355 |
<command |
| 356 |
categoryId="org.eclipse.team.ui.category.team" |
| 357 |
defaultHandler="org.eclipse.team.internal.ui.history.CompareLocalHistoryHandler" |
| 358 |
description="%Command.compareLocalHistory.description" |
| 359 |
id="org.eclipse.team.ui.compareLocalHistory" |
| 360 |
name="%Command.compareLocalHistory.name"> |
| 361 |
</command> |
| 320 |
</extension> |
362 |
</extension> |
| 321 |
|
363 |
|
| 322 |
<extension |
364 |
<extension |
|
Lines 333-339
Link Here
|
| 333 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
375 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
| 334 |
</extension> |
376 |
</extension> |
| 335 |
<!-- action sets --> |
377 |
<!-- action sets --> |
| 336 |
<extension |
378 |
<!--extension |
| 337 |
point="org.eclipse.ui.actionSets"> |
379 |
point="org.eclipse.ui.actionSets"> |
| 338 |
<actionSet |
380 |
<actionSet |
| 339 |
label="%Command.category.name" |
381 |
label="%Command.category.name" |
|
Lines 366-372
Link Here
|
| 366 |
menubarPath="project/additions" |
408 |
menubarPath="project/additions" |
| 367 |
tooltip="%ApplyPatch.tooltip"/> |
409 |
tooltip="%ApplyPatch.tooltip"/> |
| 368 |
</actionSet> |
410 |
</actionSet> |
| 369 |
</extension> |
411 |
</extension--> |
| 370 |
|
412 |
|
| 371 |
<!-- file modification validator --> |
413 |
<!-- file modification validator --> |
| 372 |
|
414 |
|
|
Lines 494-497
Link Here
|
| 494 |
</triggerPoint> |
536 |
</triggerPoint> |
| 495 |
</extension> |
537 |
</extension> |
| 496 |
|
538 |
|
|
|
539 |
<!-- *************** Menus **************** --> |
| 540 |
<extension |
| 541 |
point="org.eclipse.ui.menus"> |
| 542 |
<menuContribution |
| 543 |
locationURI="menu:project?after=additions"> |
| 544 |
<!-- always enabled --> |
| 545 |
<command |
| 546 |
commandId="org.eclipse.team.ui.applyPatch" |
| 547 |
label="%ApplyPatch.label" |
| 548 |
mnemonic="%ApplyPatch.mnemonic" |
| 549 |
style="push" |
| 550 |
tooltip="%ApplyPatch.tooltip"> |
| 551 |
<visibleWhen |
| 552 |
checkEnabled="false"> |
| 553 |
</visibleWhen> |
| 554 |
</command> |
| 555 |
</menuContribution> |
| 556 |
<menuContribution |
| 557 |
locationURI="menu:project?after=open.ext"> |
| 558 |
<!-- enablement? --> |
| 559 |
<command |
| 560 |
commandId="org.eclipse.team.ui.configureProject" |
| 561 |
id="org.eclipse.team.ui.ConfigureProject" |
| 562 |
label="%ConfigureProject.label" |
| 563 |
mnemonic="%ConfigureProject.mnemonic" |
| 564 |
style="push" |
| 565 |
tooltip="%ConfigureProject.tooltip"> |
| 566 |
</command> |
| 567 |
</menuContribution> |
| 568 |
<menuContribution |
| 569 |
locationURI="toolbar:org.eclipse.ui.main.toolbar"> |
| 570 |
<toolbar |
| 571 |
id="whatever"> |
| 572 |
<command |
| 573 |
commandId="org.eclipse.team.ui.synchronizeAll" |
| 574 |
icon="$nl$/icons/full/elcl16/synch_participants.gif" |
| 575 |
label="%Command.syncAll.name" |
| 576 |
style="pulldown"> |
| 577 |
</command> |
| 578 |
</toolbar> |
| 579 |
<!--toolbar |
| 580 |
id="toolbar:org.eclipse.ui.main.toolbar?after=search"> |
| 581 |
<command |
| 582 |
commandId="org.eclipse.team.ui.synchronizeAll2" |
| 583 |
icon="$nl$/icons/full/elcl16/synch_participants.gif" |
| 584 |
label="%Command.syncAll.name" |
| 585 |
style="pulldown"> |
| 586 |
</command> |
| 587 |
</toolbar--> |
| 588 |
</menuContribution> |
| 589 |
<menuContribution |
| 590 |
locationURI="popup:org.eclipse.ui.popup.any?after=team.main"> |
| 591 |
<!-- should be enabled only for IFiles with *.psf extension, multiselection is allowed --> |
| 592 |
<command |
| 593 |
commandId="org.eclipse.team.ui.importProjectSet" |
| 594 |
label="%Command.importProjectSet.name" |
| 595 |
style="push"> |
| 596 |
</command> |
| 597 |
</menuContribution> |
| 598 |
<menuContribution |
| 599 |
locationURI="popup:team.main?after=projectGroup"> |
| 600 |
<command |
| 601 |
commandId="org.eclipse.team.ui.configureProject" |
| 602 |
id="nonbound.org.eclipse.team.ui.ConfigureProject" |
| 603 |
label="%ConfigureProject.label" |
| 604 |
mnemonic="%ConfigureProject.mnemonic" |
| 605 |
style="push" |
| 606 |
tooltip="%ConfigureProject.tooltip"> |
| 607 |
</command> |
| 608 |
</menuContribution> |
| 609 |
<menuContribution |
| 610 |
locationURI="popup:org.eclipse.ui.popup.any"> |
| 611 |
<menu |
| 612 |
id="team.main" |
| 613 |
label="%TeamGroupMenu.label" |
| 614 |
mnemonic="%TeamGroupMenu.mnemonic"> |
| 615 |
<separator |
| 616 |
name="group1" |
| 617 |
visible="true"> |
| 618 |
</separator> |
| 619 |
<separator |
| 620 |
name="group2" |
| 621 |
visible="true"> |
| 622 |
</separator> |
| 623 |
<separator |
| 624 |
name="group3" |
| 625 |
visible="true"> |
| 626 |
</separator> |
| 627 |
<separator |
| 628 |
name="group4" |
| 629 |
visible="true"> |
| 630 |
</separator> |
| 631 |
<separator |
| 632 |
name="group5" |
| 633 |
visible="true"> |
| 634 |
</separator> |
| 635 |
<separator |
| 636 |
name="group6" |
| 637 |
visible="true"> |
| 638 |
</separator> |
| 639 |
<separator |
| 640 |
name="group7" |
| 641 |
visible="true"> |
| 642 |
</separator> |
| 643 |
<separator |
| 644 |
name="group8" |
| 645 |
visible="true"> |
| 646 |
</separator> |
| 647 |
<separator |
| 648 |
name="group9" |
| 649 |
visible="true"> |
| 650 |
</separator> |
| 651 |
<separator |
| 652 |
name="group10" |
| 653 |
visible="true"> |
| 654 |
</separator> |
| 655 |
<separator |
| 656 |
name="targetGroup" |
| 657 |
visible="true"> |
| 658 |
</separator> |
| 659 |
<separator |
| 660 |
name="projectGroup" |
| 661 |
visible="true"> |
| 662 |
</separator> |
| 663 |
</menu> |
| 664 |
</menuContribution> |
| 665 |
<menuContribution |
| 666 |
locationURI="popup:compareWithMenu?after=compareWithGroup"> |
| 667 |
<command |
| 668 |
commandId="org.eclipse.team.ui.compareLocalHistory" |
| 669 |
label="%CompareLocalHistory.label" |
| 670 |
style="push" |
| 671 |
tooltip="%CompareLocalHistory.tooltip"> |
| 672 |
</command> |
| 673 |
</menuContribution> |
| 674 |
<menuContribution |
| 675 |
locationURI="popup:team.main?after=group4"> |
| 676 |
<command |
| 677 |
commandId="org.eclipse.team.ui.showLocalHistory" |
| 678 |
label="%ShowLocalHistory.label" |
| 679 |
mnemonic="%ShowLocalHistory.mnemonic" |
| 680 |
style="push" |
| 681 |
> |
| 682 |
</command> |
| 683 |
</menuContribution> |
| 684 |
<menuContribution |
| 685 |
locationURI="popup:compareWithMenu?after=compareWithGroup"> |
| 686 |
<command |
| 687 |
commandId="org.eclipse.team.ui.compareLocalHistory" |
| 688 |
label="%CompareLocalHistory.label" |
| 689 |
mnemonic="%CompareLocalHistory.mnemonic" |
| 690 |
style="push" |
| 691 |
tooltip="%CompareLocalHistory.tooltip"> |
| 692 |
</command> |
| 693 |
</menuContribution> |
| 694 |
</extension> |
| 695 |
|
| 497 |
</plugin> |
696 |
</plugin> |