It's all about the answers!

Ask a question

A plug-in like Team Central


吴 桦 (1111) | asked Mar 09 '10, 7:16 a.m.
Recently I want to write a plug-in like the Team Central(my own plug-in will have three sections) with the help of document from jazz.net/wiki, so I want to find the plugin.xml of the plug-in Team Central.Unfortunately, after a long time searching I still have not got what I want.Could someone tell me the location of the Team Central plug-in or list the information of the plugin.xml?
Many thanks~

5 answers



permanent link
Work Item & UI Commons Team (1.3k1) | answered Mar 09 '10, 10:23 a.m.
Please refer to
https://jazz.net/wiki/bin/view/Main/IntroducingJazzArtifact on how to
add a new section to Team Central.

Ben

permanent link
吴 桦 (1111) | answered Mar 10 '10, 12:34 a.m.
Please refer to
https://jazz.net/wiki/bin/view/Main/IntroducingJazzArtifact on how to
add a new section to Team Central.

Ben


Ben:
Thanks for your reply.
Before asking this question I have already read the article you gave,however, what I want is not only a section like the section in Team Central but also a view with the sections,such as "Event log","Team load", that is to say, I want to write my own Team Central plug-in like the RTC has.
I think if I can find the plugin.xml of Team Central I will know how to do clearly, is it a right way?
Many thanks.

permanent link
Work Item & UI Commons Team (1.3k1) | answered Mar 10 '10, 5:53 a.m.
Ah I see, this is not possible unless you start subclassing the
TeamCentralView which is not really recommended. You can see the
MyWorkView doing this.

Regards,
Ben

permanent link
吴 桦 (1111) | answered Mar 11 '10, 8:46 a.m.
Ah I see, this is not possible unless you start subclassing the
TeamCentralView which is not really recommended. You can see the
MyWorkView doing this.

Regards,
Ben

Ben:
I also find it is not a wise idea to write a plug-in like Team Central, so now I decide to add a section into Team Central.
It works and I also add the data I want to be displayed in my section.However, when I open a RTC plug-in's xml I find the code:
<expandableSection>
class="com.ibm.team.workitem.rcp.ui.internal.dashboard.QuerySection"
icon="icons/obj16/sectn_wkitems.gif"
id="com.ibm.magnolia.workitems.views.myOpenWorkItems"
isOpenable="true"
name="%MyOpenWorkItems.name1">
<parameter>multi</parameter>
<parameter>5</parameter>
<parameter>true</parameter>
<parameter>com.ibm.team.workitem.queries.predefined.myOpen</parameter>
<parameter>com.ibm.team.workitem.attribute.priority</parameter>

</expandableSection>

Could you tell me what's the function of parameters(red) ?
Many thanks~

permanent link
Work Item & UI Commons Team (1.3k1) | answered Mar 12 '10, 6:08 a.m.
Parameters allow to pass in parameters to the ISection you implement.

Your answer


Register or to post your answer.