It's all about the answers!

Ask a question

TeamContributorSelectionDialog


John Doran (9182) | asked Apr 05 '10, 5:35 p.m.
Hello,

I want to use the TeamContributorSelectionDialog in my own plugin to allow users to pick team members.

I would like to duplicate the Members section of the Project Area view but I can't seem to find the correct rcp.ui plugin that does that.

Can someone point me in the right direction?

Right now, I have a button that opens the dialog...
When I close it, I want to display the selected contributor usernames in a list.

button.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
TeamContributorSelectionDialog dialog = new TeamContributorSelectionDialog(getShell(), repository);
if (dialog.open() == Window.OK) {
IContributorHandle[] contributorResult = dialog.getContributorResult();
...
}
});

2 answers



permanent link
Qiong Feng Huang (76911610) | answered Apr 06 '10, 2:09 a.m.
JAZZ DEVELOPER
You can find it in com.ibm.team.process.ide.ui plug-in.

permanent link
John Doran (9182) | answered Apr 07 '10, 12:27 p.m.
You can find it in com.ibm.team.process.ide.ui plug-in.


Thank you!

Yes, it looks like it is the ContributorListPart which is used by the ProjectAreaPage.

Your answer


Register or to post your answer.