Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nebula-dev] Re: Search and auto-complete widgets

I really like the features of jface field assist. But to be honest I
am not very happy with the corresponding API. It seems rather
cumbersome, just look at the sourcecode of the example plug-ins. (You
get a "FieldAssist" menu in Eclipse with a single entry, if you
install these plug-ins, which shows-off the features.)

It seems to me that you need to implement a lot of stuff on top of the
jface field assist API to get your auto complete. That's why I'd still
favor a nebula API which enables you to implement such a common
use-case much more easily.

Currently I am using the autocomplete API of the SWTPlus alpha
version, the predecessor of nebula, which I find easy to use.

What about another wrapper API on top of jface field assist, to make
it more usable? I guess not in nebula, because of the reference to
jface, but I'd like it :)

Bye,
  Michael



ditto :)

can I use it to do auto-completion similar to OpenOffice.org (best
example I can think of) where, rather than dropping a selection list, it
completes the word in place?
can I also use it with multiple, character delimited, fields per text box?

thanks!


Chris Gross wrote:
> Hi Sascha,
>
> You bring up a good point.  I wasn't aware of the new field assist added
> to JFace.
>
> -Chris
>
> Sascha Zelzer wrote:
>> Hi,
>>
>> I am very excited about the Nebula project and am looking forward to
>> some great contributions.
>>
>> The only thing which irritates me is the constant mentioning of
>> "auto-complete" widgets, be it text-fields, combos or others. I am
>> just not sure if the creators of such widgets (and the Nebula team)
>> are aware of the package org.eclipse.jface.fieldassist which allows,
>> in a very general way, to attach auto-complete functionality to any
>> widget.
>>
>> I do not want in any way to diminish the efforts of people who
>> implemented such widgets themselves, but for the sake of consistency
>> and not duplicating functionality, these "widgets" can (at least now
>> in Eclipse 3.2) easily by implemented by programmers themselves.
>>
>> If those widgets should be available for Eclipse < 3.2 then, of
>> course, one has the create them "by hand".
>>
>> Just some thoughts...
>>
>>
>> Sascha


Back to the top