Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » How to populate people content assist?
How to populate people content assist? [message #489959] Tue, 06 October 2009 15:34 Go to next message
maarten meijer is currently offline maarten meijerFriend
Messages: 146
Registered: July 2009
Senior Member
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 08:38 Go to previous messageGo to next message
Philippe Marschall is currently offline Philippe MarschallFriend
Messages: 121
Registered: July 2009
Senior Member
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 15:20 Go to previous message
maarten meijer is currently offline maarten meijerFriend
Messages: 146
Registered: July 2009
Senior Member
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 08:38 Go to previous message
Philippe Marschall is currently offline Philippe MarschallFriend
Messages: 121
Registered: July 2009
Senior Member
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 15:20 Go to previous message
maarten meijer is currently offline maarten meijerFriend
Messages: 146
Registered: July 2009
Senior Member
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 Apr 18 12:50:41 GMT 2024

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

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

Back to the top