ConditionalTextEnabler enabler = ConditionalTextEnabler.install(searchTextField);
enabler.addDependency(c, condition);
}
public void registerInputDependency(Action a) {
TextEnablerCondition condition = new NonEmptyTextEnablerCondition();
ConditionalTextEnabler enabler = ConditionalTextEnabler.install(searchTextField);
enabler.addDependency(a, condition);
}