if (btnEdit.isPressed()) {
com.google.gwt.user.client.Window.open(JahiaGWTParameters.getContextPath() + "/cms/gedit/"
+ JahiaGWTParameters.getWorkspace() + node.getPath(), "_blank", "");
btnEdit.setText(msgStop);
} else {
panel.mask(Messages.get("label.synchronizing", "Synchronizing..."), "x-mask-loading");
JahiaContentManagementService.App.getInstance().synchronizeWithGoogleDocs(node.getUUID(),
new BaseAsyncCallback<Void>() {
@Override
public void onFailure(Throwable caught) {
panel.unmask();