1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

Patch from Chris to not show by default the entire

This commit is contained in:
Alain Magloire 2004-04-12 20:34:39 +00:00
parent 91aab4d719
commit 83dd838463
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,12 @@
2004-04-12 Alain Magloire
This patch changes the default filter so an empty string does not show
any matches. The reason for this is to speed up performance when a lot
of types are initially visible. Note this makes the behaviour consistent
with the JDT Open Type.
* browser/org/eclipse/cdt/internal/ui/browser/opentype//OpentTypeDialog.java
* browser/org/eclipse/cdt/ui/browser/typeinfo/TypeSelectionDialog.java
2004-04-12 Bogdan Gheorghe
Added Enumerator, Derived types to search dialog

View file

@ -30,7 +30,6 @@ public class OpenTypeDialog extends TypeSelectionDialog {
super(parent);
setTitle(OpenTypeMessages.getString("OpenTypeDialog.title")); //$NON-NLS-1$
setMessage(OpenTypeMessages.getString("OpenTypeDialog.message")); //$NON-NLS-1$
setMatchEmptyString(true);
setDialogSettings(DIALOG_SETTINGS);
}
}

View file

@ -206,6 +206,7 @@ public class TypeSelectionDialog extends TwoPaneElementSelector {
*/
public TypeSelectionDialog(Shell parent) {
super(parent, fElementRenderer, fQualifierRenderer);
setMatchEmptyString(false);
setUpperListLabel(TypeInfoMessages.getString("TypeSelectionDialog.upperLabel")); //$NON-NLS-1$
setLowerListLabel(TypeInfoMessages.getString("TypeSelectionDialog.lowerLabel")); //$NON-NLS-1$
setVisibleTypes(fAllTypes);