Skip to main content



      Home
Home » Eclipse Projects » Mylyn » How to populate people content assist?
How to populate people content assist? [message #489959] Tue, 06 October 2009 11:34 Go to next message
Eclipse UserFriend
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 #490074 is a reply to message #489959] Wed, 07 October 2009 04:38 Go to previous messageGo to next message
Eclipse UserFriend
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 #490418 is a reply to message #489959] Thu, 08 October 2009 11:20 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:How to read the due date in newly created tasks?
Next Topic:Automatic changesets aren't, well, doing anything
Goto Forum:
  


Current Time: Thu Jun 19 05:37:24 EDT 2025

Powered by FUDForum. Page generated in 0.06035 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top