Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



4 answers

Permanent link
A detailed article on extending "My Works" view - https://jazz.net/library/article/1465

2 votes


Permanent link
yogesh.arora wrote:
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


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

0 votes

Comments

Hi Johannes,

We are developing a review tool, and want to show "Pending Reviews" in "My Work" view, so that a developer can have a cumulative view of all his/her work in one single place.

Can you please provide some insights/articles on "My Work" view, so that I can start investigating?

If this view is not extendable, please let me know any workarounds to do so.

Which plugin does it belong to ?

Thanks in advance,
Atul


Permanent link
 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

0 votes


Permanent link
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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Feb 17 '09, 3:11 a.m.

Question was seen: 6,964 times

Last updated: Nov 01 '14, 5:35 p.m.

Confirmation Cancel Confirm