Extending My Works View
Is it possible to add customs entries to Inbox, Current Work and Future work section of My work view. Can someone please guide me in this regard
Any help would be appreciated Yogesh |
4 answers
A detailed article on extending "My Works" view - https://jazz.net/library/article/1465
|
yogesh.arora wrote:
Is it possible to add customs entries to Inbox, Current Work and Hi Yogesh, the MyWork view is not extentable. Its sections always show work items and/or abscenses. What is it you are wishing for in these sections? -- Cheers Johannes Agile Planning Team Comments
Atul Kumar
commented Dec 18 '13, 6:13 a.m.
Hi Johannes,
|
Hi Atul,
You could do this in the Team Dashboard view by creating a New Section of type Query and adding a query that shows you your pending reviews.
Cheers
--Rupa
|
Hi Rupa,
Actually adding sections to Team Dashboard wouldn't be appropriate for our usages. This task I had completed two months back, but forgot to put that in the forum. I could add a separate section in the "My Work" view; I had to use some restricted APIs though. Here's how it looks now: For creating content-implementation of this section, I had to extend AbstractPlanItemViewerSection which allowed me to add my custom entries into it. I used composite directly for this. Following were the plugin.xml changes: For adding a section with the "My Work" view: <extension point="com.ibm.team.jface.sectionPerspective"> <perspective id="com.ibm.tr.eclipse.client.viewelements.mywork" requiredInstance="com.ibm.team.apt.internal.ui.myWorkView" isDefault="true" name="Pending Reviews"> <section id="com.ibm.tr.eclipse.client.viewelements.SectionPendingReviews" isExpanded="true" name="Pending Reviews" priority="80"/> </perspective> </extension> For creating section: <extension point="com.ibm.team.jface.expandableSection"> <expandableSection id="com.ibm.tr.eclipse.client.viewelements.SectionPendingReviews" requiredInstance="com.ibm.team.apt.internal.ui.myWorkView" class="com.ibm.tr.eclipse.client.viewelements.SectionPendingReviews" name="Pending Reviews" isOpenable="true" isCloneable="false" hideChevron="true"/> </extension> Here, SectionPendingReviews class is an implementation class of com.ibm.team.apt.internal.ide.ui.mywork.AbstractPlanItemViewerSection Regards, Atul |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.