| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <plugin> |
| |
| <!-- Define which command should be available in the R4E-Gerrit connector |
| --> |
| |
| <extension |
| point="org.eclipse.ui.views"> |
| <category |
| name="R4E-Gerrit " |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui"> |
| </category> |
| <view |
| name="Dashboard" |
| icon="icons/view16/gerrit.ico" |
| category="org.eclipse.mylyn.reviews.r4e-gerrit.ui" |
| class="org.eclipse.mylyn.reviews.r4egerrit.ui.views.R4EGerritTableView" |
| id="org.eclipse.mylyn.reviews.r4egerrit.ui.views.R4EGerritTableView"> |
| </view> |
| </extension> |
| <extension |
| point="org.eclipse.ui.menus"> |
| |
| <menuContribution |
| locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions"> |
| <toolbar |
| id="org.eclipse.ui.contributions.toolbars.r4eGerrit"> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.selectCurrentGerrit" |
| icon="icons/favicon.ico" |
| id="r4eGerrit.dropdown.toolbar.initiateGerrit" |
| label="R4E-Gerrit" |
| style="pulldown"> |
| </command> |
| <separator |
| name="additions" |
| visible="false"> |
| </separator> |
| </toolbar> |
| </menuContribution> |
| |
| <!-- Add the menu item to the R4E-Gerrit pulldown menu |
| --> |
| <menuContribution |
| locationURI="menu:r4eGerrit.dropdown.toolbar.initiateGerrit"> |
| <dynamic |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.menus.DynamicMenuAddition" |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.dynamic1"> |
| </dynamic> |
| <separator |
| name="additions" |
| visible="true"> |
| </separator> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.addGerritSite" |
| id="Search.gerritSite" |
| label="Add..." |
| style="push"> |
| </command> |
| <command |
| commandId="command.showTaskRepo" |
| id="Task.Repositories" |
| label="Task Repositories..." |
| style="push"> |
| <parameter |
| name="org.eclipse.ui.views.showView.viewId" |
| value="org.eclipse.mylyn.tasks.ui.views.repositories"> |
| </parameter> |
| </command> </menuContribution> |
| <!-- Define the toolbar menu for R4E-Gerrit UI "with pulldown menu" |
| --> |
| <menuContribution |
| locationURI="toolbar:org.eclipse.mylyn.reviews.r4egerrit.ui.views.R4EGerritTableView?after=additions"> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.selectCurrentGerrit" |
| icon="icons/favicon.ico" |
| id="r4eGerrit.dropdown.toolbar.initiateGerrit" |
| label="R4E-Gerrit" |
| style="pulldown"> |
| </command> |
| <!-- <separator |
| name="addition0" |
| visible="true"> |
| </separator> |
| --> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allOpenReviews" |
| id="r4eGerritUI.dropdown.toolbar.AddAllOpenReviews" |
| label="All" |
| style="pulldown" |
| tooltip="Find all Opened Reviews for the selected repository"> |
| </command> |
| <separator |
| name="addition1" |
| visible="true"> |
| </separator> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myWatchedChanges" |
| id="r4eGerritUI.dropdown.toolbar.MyWatchedChanges" |
| label="My" |
| style="pulldown" |
| tooltip="Find my watchedChanges reviews for the selected repository"> |
| </command> |
| <separator |
| name="addition2" |
| visible="true"> |
| </separator> |
| <!-- |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.projectList" |
| id="r4eGerritUI.dropdown.toolbar.ProjectList" |
| label="Projects" |
| style="pulldown" |
| tooltip="Find projects list reviews for the selected repository"> |
| </command> |
| <separator |
| name="addition3" |
| visible="true"> |
| </separator> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.groupList" |
| id="r4eGerritUI.dropdown.toolbar.GroupList" |
| label="Groups" |
| style="pulldown" |
| tooltip="Find groups list reviews for the selected repository"> |
| </command> |
| <separator |
| name="addition4" |
| visible="true"> |
| </separator> |
| --> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationIndex" |
| id="r4eGerritUI.dropdown.toolbar.Documentation" |
| label="Documentation" |
| style="pulldown" |
| tooltip="Find Gerrit documentation"> |
| </command> |
| <separator |
| name="additions" |
| visible="true"> |
| </separator> |
| |
| </menuContribution> |
| |
| <!-- Add sub-menu for the All menu |
| --> |
| <menuContribution |
| locationURI="menu:r4eGerritUI.dropdown.toolbar.AddAllOpenReviews"> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allOpenReviews" |
| id="r4eGerritUI.dropdown.toolbar.addOpenReviews" |
| label="Open" |
| style="push" |
| tooltip="Find all Openned Reviews for the selected repository"> |
| </command> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allMergedReviews" |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allMergedReviews" |
| label="Merged" |
| style="push" |
| tooltip="Find all Merged Review for the selected repository"> |
| </command> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allAbandonnedReviews" |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allAbandonnedReviews" |
| label="Abandonned" |
| style="push" |
| tooltip="Find all Abandoned Reviews for the selected repository"> |
| </command> |
| |
| <separator |
| name="additions" |
| visible="true"> |
| </separator> |
| </menuContribution> |
| <!-- Add sub-menu for the My menu |
| --> |
| <menuContribution |
| locationURI="menu:r4eGerritUI.dropdown.toolbar.MyWatchedChanges"> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myChanges" |
| id="r4eGerritUI.dropdown.toolbar.myChanges" |
| label="Changes" |
| style="push" |
| tooltip="Find my changes for the selected repository"> |
| </command> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myDrafts" |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myDrafts" |
| label="Drafts" |
| style="push" |
| tooltip="Find my draft changes for the selected repository"> |
| </command> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myWatchedChanges" |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myWatchedChanges" |
| label="Watched Changes" |
| style="push" |
| tooltip="Find my watched changes for the selected repository"> |
| </command> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myStarredChanges" |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myStarredChanges" |
| label="Starred Changes" |
| style="push" |
| tooltip="Find my starred changes for the selected repository"> |
| </command> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myDraftComments" |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myDraftComments" |
| label="Draft Comments" |
| style="push" |
| tooltip="Find my draft comments for the selected repository"> |
| </command> |
| |
| <separator |
| name="additions" |
| visible="true"> |
| </separator> |
| </menuContribution> |
| |
| <!-- Add sub-menu for the Projects menu |
| --> |
| <menuContribution |
| locationURI="menu:r4eGerritUI.dropdown.toolbar.ProjectList"> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.projectList" |
| id="r4eGerritUI.dropdown.toolbar.projectList" |
| label="List" |
| style="push" |
| tooltip="Find the project list for the selected repository"> |
| </command> |
| |
| <separator |
| name="additions" |
| visible="true"> |
| </separator> |
| </menuContribution> |
| |
| <!-- Add sub-menu for the Groups menu |
| --> |
| <menuContribution |
| locationURI="menu:r4eGerritUI.dropdown.toolbar.GroupList"> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.groupList" |
| id="r4eGerritUI.dropdown.toolbar.groupList" |
| label="List" |
| style="push" |
| tooltip="Find the groups list for the selected repository"> |
| </command> |
| |
| <separator |
| name="additions" |
| visible="true"> |
| </separator> |
| </menuContribution> |
| |
| <!-- Add sub-menu for the Documentation menu |
| --> |
| <menuContribution |
| locationURI="menu:r4eGerritUI.dropdown.toolbar.Documentation"> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationIndex" |
| id="r4eGerritUI.dropdown.toolbar.documentationIndex" |
| label="Index" |
| style="push" |
| tooltip="Find the index of the documentation"> |
| </command> |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationSearching" |
| id="r4eGerritUI.dropdown.toolbar.documentationSearching" |
| label="Searching" |
| style="push" |
| tooltip="Find the searching of the documentation"> |
| </command> |
| |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationUploading" |
| id="r4eGerritUI.dropdown.toolbar.documentationUploading" |
| label="Uploading" |
| style="push" |
| tooltip="Find the uploading of the documentation"> |
| </command> |
| |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationAccessControls" |
| id="r4eGerritUI.dropdown.toolbar.documentationAccessControls" |
| label="AccessControls" |
| style="push" |
| tooltip="Find the access controls of the documentation"> |
| </command> |
| |
| <command |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationRestAPI" |
| id="r4eGerritUI.dropdown.toolbar.documentationRestAPI" |
| label="REST API" |
| style="push" |
| tooltip="Find the REST API of the documentation"> |
| </command> |
| |
| |
| <separator |
| name="additions" |
| visible="true"> |
| </separator> |
| </menuContribution> |
| |
| |
| </extension> |
| |
| <!-- |
| <extension |
| point="org.eclipse.help.contexts"> |
| <contexts |
| file="contexts.xml"> |
| </contexts> |
| </extension> |
| --> |
| <extension |
| point="org.eclipse.ui.commands"> |
| |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.selectCurrentGerrit" |
| name="selectCurrentGerrit"> |
| </command> |
| |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.addGerritSite" |
| name="Add ..."> |
| </command> |
| <command |
| defaultHandler="org.eclipse.ui.handlers.ShowViewHandler" |
| id="command.showTaskRepo" |
| name="Task Repositories..."> |
| <commandParameter |
| id="org.eclipse.ui.views.showView.viewId" |
| name="viewId" |
| optional="true" |
| values="org.eclipse.ui.internal.registry.ViewParameterValues"> |
| </commandParameter> |
| </command> |
| |
| <!-- The following are the commands under the "All" sub-menu |
| --> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allOpenReviews" |
| name="AllOpen"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allMergedReviews" |
| name="AllMerged"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allAbandonnedReviews" |
| name="AllAbandonned"> |
| </command> |
| <!-- The following are the commands under the "My" sub-menu |
| --> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myChanges" |
| name="MyChanges"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myDrafts" |
| name="MyDraftsChanges"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myWatchedChanges" |
| name="MyWatchedChanges"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myStarredChanges" |
| name="MyStarredChanges"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myDraftComments" |
| name="MyDraftCommentsChanges"> |
| </command> |
| |
| <!-- The following are the commands under the "Projects" sub-menu |
| --> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.projectList" |
| name="ProjectLists"> |
| </command> |
| |
| <!-- The following are the commands under the "Groups" sub-menu |
| --> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.groupList" |
| name="GroupLists"> |
| </command> |
| |
| <!-- The following are the commands under the "Documentation" sub-menu |
| --> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationIndex" |
| name="DocumentationIndex"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationSearching" |
| name="DocumentationSearching"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationUploading" |
| name="DocumentationUploading"> |
| </command> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationAccessControls" |
| name="DocumentationAccessControls"> |
| </command> |
| |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationRestAPI" |
| name="DocumentationRestAPI"> |
| </command> |
| |
| <!-- The following are the commands under the "Review TableList" sub-menu |
| --> |
| <command |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.adjustMyStarred" |
| name="Toggle ID Selection"> |
| </command> |
| |
| </extension> |
| |
| <extension |
| point="org.eclipse.ui.bindings"> |
| <key |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationSearching" |
| contextId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.context" |
| schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
| sequence="F1"> |
| </key> |
| </extension> |
| |
| <extension |
| point="org.eclipse.ui.handlers"> |
| |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.AddGerritSiteHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.addGerritSite"> |
| </handler> |
| |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.SelectReviewSiteHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.selectCurrentGerrit"> |
| </handler> |
| |
| <!-- The following are the handlers under the "All" sub-menu |
| --> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.all.AllOpenReviewsHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allOpenReviews"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.all.AllMergedReviewsHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allMergedReviews"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.all.AllAbandonnedReviewsHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.allAbandonnedReviews"> |
| </handler> |
| <!-- The following are the handlers under the "My" sub-menu |
| --> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.my.MyChangesReviewsHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myChanges"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.my.MyDraftsReviewsHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myDrafts"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.my.MyWatchedChangesReviewsHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myWatchedChanges"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.my.MyStarredChangesReviewsHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myStarredChanges"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.my.MyDraftCommentsReviewsHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.myDraftComments"> |
| </handler> |
| <!-- The following are the handlers under the "Projects" sub-menu |
| --> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.projects.ProjectListHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.projectList"> |
| </handler> |
| <!-- The following are the handlers under the "Groups" sub-menu |
| --> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.groups.GroupListHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.groupList"> |
| </handler> |
| <!-- The following are the handlers under the "Documentation" sub-menu |
| --> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.documentation.IndexHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationIndex"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.documentation.SearchingHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationSearching"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.documentation.UploadingHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationUploading"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.documentation.AccessControlHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationAccessControls"> |
| </handler> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.documentation.RestAPIHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.documentationRestAPI"> |
| </handler> |
| <!-- The following are the handlers under the "Table review list" sub-menu |
| --> |
| <handler |
| class="org.eclipse.mylyn.reviews.r4e_gerrit.ui.internal.commands.table.AdjustMyStarredHandler" |
| commandId="org.eclipse.mylyn.reviews.r4e-gerrit.ui.adjustMyStarred"> |
| </handler> |
| |
| </extension> |
| <extension |
| point="org.eclipse.mylyn.tasks.ui.editors"> |
| </extension> |
| <extension |
| point="org.eclipse.ui.contexts"> |
| <context |
| description="Dashboard R4E-gerrit View" |
| id="org.eclipse.mylyn.reviews.r4e-gerrit.ui.context" |
| name="Dashboard View" |
| parentId="org.eclipse.ui.contexts.window"> |
| </context> |
| </extension> |
| |
| </plugin> |