// the click handler in the context of the activate method of a node event handler,
// which has access to the ContentElement.
public SuggestionButton(final ContentElement element) {
Widget clickButton =
ButtonFactory.createIconClickButton(IconButtonStyle.LIGHTBULB, TOOLTIP,
new ClickButtonListener() {
@Override
public void onClick() {
HasSuggestions suggestion =
element.getProperty(SuggestionRenderer.HAS_SUGGESTIONS_PROP);
element.getSuggestionsManager().showSuggestionsFor(suggestion);