How to populate people content assist? [message #489959] |
Tue, 06 October 2009 11:34  |
Eclipse User |
|
|
|
Hi,
I working on some issues raised by users beta version of Industrial SQL
Connector.
See bug 184532: [connector] Generic SQL connector
https://bugs.eclipse.org/bugs/show_bug.cgi?id=184532
The people fields in the task editor have content assist.
How and where can I populate the names of the people to which a bug may
be assigned?
I already have an array of names of people to whom task have been
assigned in the past.
Maarten Meijer
|
|
|
|
Re: How to populate people content assist? [message #490418 is a reply to message #489959] |
Thu, 08 October 2009 11:20  |
Eclipse User |
|
|
|
Maarten Meijer schreef:
> Hi,
>
> I working on some issues raised by users beta version of Industrial SQL
> Connector.
> See bug 184532: [connector] Generic SQL connector
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=184532
>
> The people fields in the task editor have content assist.
> How and where can I populate the names of the people to which a bug may
> be assigned?
>
> I already have an array of names of people to whom task have been
> assigned in the past.
>
> Maarten Meijer
Here is what I found after some deep searching:
- the proposals are prepared in
org.eclipse.mylyn.internal.tasks.ui.PersonProposalProvider
- the mechanism is that it wil loop over all tasks that share the same
repository URL and add the owner of that task
- there is no code to add commenters or reporters, or to query the
repository, or to interveane and advise in this process.
I created bug 291770: Allow connectors to advise on populating People
content assist popup
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291770
|
|
|
Re: How to populate people content assist? [message #599485 is a reply to message #489959] |
Wed, 07 October 2009 04:38  |
Eclipse User |
|
|
|
Maarten Meijer wrote:
> Hi,
>
> I working on some issues raised by users beta version of Industrial SQL
> Connector.
> See bug 184532: [connector] Generic SQL connector
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=184532
>
> The people fields in the task editor have content assist.
> How and where can I populate the names of the people to which a bug may
> be assigned?
>
> I already have an array of names of people to whom task have been
> assigned in the past.
I have bumped into this as well and had to do quite some hacks to get a
dropdown. As far as I understand everything that has been passed to
TaskRepository#createPerson will end up there.
Cheers
Philippe
|
|
|
Re: How to populate people content assist? [message #599525 is a reply to message #489959] |
Thu, 08 October 2009 11:20  |
Eclipse User |
|
|
|
Maarten Meijer schreef:
> Hi,
>
> I working on some issues raised by users beta version of Industrial SQL
> Connector.
> See bug 184532: [connector] Generic SQL connector
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=184532
>
> The people fields in the task editor have content assist.
> How and where can I populate the names of the people to which a bug may
> be assigned?
>
> I already have an array of names of people to whom task have been
> assigned in the past.
>
> Maarten Meijer
Here is what I found after some deep searching:
- the proposals are prepared in
org.eclipse.mylyn.internal.tasks.ui.PersonProposalProvider
- the mechanism is that it wil loop over all tasks that share the same
repository URL and add the owner of that task
- there is no code to add commenters or reporters, or to query the
repository, or to interveane and advise in this process.
I created bug 291770: Allow connectors to advise on populating People
content assist popup
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291770
|
|
|
Powered by
FUDForum. Page generated in 0.06035 seconds