commit | cd5578dd4ee6f20b4b4e785331697f4760b4a0f8 | [log] [tgz] |
---|---|---|
author | Tim Buschtöns <tbuschto@eclipsesource.com> | Tue Jul 30 15:18:18 2013 +0200 |
committer | Tim Buschtöns <tbuschto@eclipsesource.com> | Tue Jul 30 15:55:26 2013 +0200 |
tree | ded73437df7893f194692695fa264e3777dc2d80 | |
parent | 09e7c29e1c94da666e03cdd9ad593d52f47407b5 [diff] |
Create protected methods in AutoSuggest to allow custom scripts "attachClientListeners" gets model, text and dropDown as arguments to allow attaching listeners. The ClientListeners attached to Text should be given as a return value because they need to be removed from Text on dispose. (The other listeners are removed implicitly by DropDown and Model.) "removeTextClientListeners" is called on dispose with the value returned from "attachClientListeners" and the Text widget.