Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-integrators] Re: Content assist for PersonAttributeEditor

Steffen,

Thank you for answer. That's how I've implemented it. Voted for the bug - it's what I was looking for. And it also would be nice to move attribute editor classes like PersonAttributeEditor to public package from internal, cause I'm getting 'discouraged access' warnings when extending them and I don't like to copy big code fragments to my packages to just avoid warnings.

Ilya
From: Steffen Pingel <steffen.pingel@xxxxxxxxxxx> Subject: Re: [mylyn-integrators] Content assist for PersonAttributeEditor To: Mylyn Integrators list <mylyn-integrators@xxxxxxxxxxx> Message-ID: <AANLkTikZG1_TR7_KiEWULzdlZC1Yyybk0VXyfekaKa-G@xxxxxxxxxxxxxx> Content-Type: text/plain; charset=ISO-8859-1 Hi Ilya, great to hear that you are working on a connector. The proposals for the person attribute editor are provided by PersonProposalProvider and as you have noticed are populated by searching other tasks in the Task List. Maarten filed a bug a while ago to make that extensible. It would be great if you could add your requirements to this bug: 291770: [api] allow connectors to advise on populating People content assist popup https://bugs.eclipse.org/bugs/show_bug.cgi?id=291770 For now I would recommend creating a custom attribute editor with your own completion proposal provider which will also allow you to customize the presentation. Steffen On Thu, Mar 25, 2010 at 1:45 AM, Ilya Ivanov <ilya.ivanov@xxxxxxxxxxxxxx> wrote:
> Hello!
>
> I saw similar question in archive but seems there's no answer...
>
> I'm trying to use PersonAttributeEditor which provides content assist if
> you push Ctrl+Space. The problem that I can't find where the content
> assist list is populated. For me it shows only person records which are
> already selected somewhere (in other tasks). So if I didn't download any
> tasks from repository or their Assigned To attribute is empty, I will
> see an empty list. I would like to put in list all possible user records
> for current project/tracker. Is it possible?
>
> And another question. For my repository type (I'm writing connector for
> CodeBeamer) it's possible to select roles in Assigned To field. Can I
> replace the user icon in content assist with something else if I want to
> put there users along with roles?
>
> Thank you,
> Ilya Ivanov

>



Back to the top