https://glazedlists.dev.java.net/issues/show_bug.cgi?id=434------- Additional comments from
brands@... Sun Apr 6 18:09:52 +0000 2008 -------
Some suggestions to enhance/refactor SearchEngineTextMatcherEditor:
- extract a GUI-toolkit agnostic base class which contains most of the
filter logic and a setText(String) method which triggers refiltering.
Imagine, you could have one textfield per SearchEngineTextMatcherEditor.Field,
not only one. Still this base class could be used by setting the combined search
string with setText(..)
- our default SwingSearchEngineTextMatcherEditor could have the JTextField with
the FilterHandler, which calls setText(String) from above.
- a SWTSearchEngineTextMatcherEditor could be derived from the common base class
with an SWT text field
- SearchEngineTextMatcherEditor.Field should be moved to somewhere else, because
currently ca.odell.glazedlists.impl.filter depends on
ca.odell.glazedlists.swing, which is not nice.
---------------------------------------------------------------------
To unsubscribe, e-mail:
issues-unsubscribe@...
For additional commands, e-mail:
issues-help@...