use of org.eclipse.che.ide.api.parts.base.ToolButton in project che by eclipse.
the class ProjectExplorerViewImpl method initGoIntoBackButton.
private void initGoIntoBackButton() {
goBackButton = new ToolButton(FontAwesome.ARROW_CIRCLE_O_LEFT);
goBackButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
tree.getGoInto().reset();
}
});
goBackButton.ensureDebugId(GO_BACK_BUTTON_ID);
Tooltip.create((elemental.dom.Element) goBackButton.getElement(), BOTTOM, MIDDLE, "Go Back");
addToolButton(goBackButton);
}
Aggregations