callback.onFailure(reason);
}
@Override
public void onSuccess() {
ToolbarWindowContents contents = new ToolbarWindowContents();
SetLogical commandSet = SetLogical.get();
for (LatexCommand cmd : commandSet.getCommands()) {
contents.addButton(cmd.getIcon(), cmd.getTitle(), false,
new SystemPasteCommand(cmd.getText()));
}
}
});