|
|
|
|
Re: Searchable Combobox for Features [message #429951 is a reply to message #429938] |
Thu, 07 May 2009 11:14 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------090202080506080502000400
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Dirk,
The combo is already showing choices that are filtered so I suppose it's
just a matter of supporting patterns rather than only direct matching...
You can create your own cell editor using this recipe. Perhaps the
FeatureEditorDialog will make you happier. It does use a pattern...
< http://wiki.eclipse.org/EMF/Recipes#Recipe:_Create_your_own_ property_editor_in_a_generated_application>
http://wiki.eclipse.org/EMF/Recipes#Recipe:_Create_your_own_ property_editor_in_a_generated_application
Dirk Hoffmann wrote:
> Ah, thanks - didn't realize that.
>
> Unfortunately it's not quite what we want for our customers.
>
> The existing solution seems to match the character I type with the
> first characters of the entries and if I repeat that character
> iterates through them.
>
> The ideal solution would be what you get when typing Ctrl-T in the
> Java-Editor - you know that dialog that allows you to find java
> classes and interfaces. Start with a "*" and you can match against
> substrings embedded into the entries.
>
> So still the question remains how to tune-up the combo box cell editor.
>
> BTW: Ordered the book but it hasn't arrived yet.
>
> Best Regards,
> Dirk
>
>
> Ed Merks schrieb:
>> Dirk,
>>
>> The existing cell editors already support filtering as you type...
>>
>>
>> Dirk Hoffmann wrote:
>>> Hi,
>>>
>>> we're working with the generated .edit and .editor plug-ins which we
>>> enhance step-by-step to get the functionality we need.
>>>
>>> Our users are faced with quite large menus when they attempt to
>>> specify reference features in the properties view. Then they need to
>>> scroll up and down in order to find the right target item for the
>>> reference.
>>>
>>> We would like to provide them with a search feature, maybe as a
>>> filter that reduces the number of presented items as they type in
>>> some substring of the desired item.
>>>
>>> The default cell editor for references is implemented through the
>>> ExtendedComboBoxCellEditor class I believe.
>>>
>>> If we created our own CellEditor where would we have to hook that in
>>> so that it gets called when the user click on the reference feature?
>>>
>>> Does somebody know about a SearchableComboBoxCellEditor (or whatever
>>> it maybe called)?
>>>
>>> Thanks and Regards,
>>> Dirk
--------------090202080506080502000400
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dirk,<br>
<br>
The combo is already showing choices that are filtered so I suppose
it's just a matter of supporting patterns rather than only direct
matching...<br>
<br>
You can create your own cell editor using this recipe.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04297 seconds