-
-
Save BenDol/d642c23c99a145eadf9e492c15647657 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public HandlerRegistration addClickHandler(final ClickHandler handler) { | |
return addHandler(new ClickHandler() { | |
public void onClick(ClickEvent event) { | |
if(isEnabled()) { | |
handler.onClick(event); | |
} | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment