From: Natasa Kapravelou Date: Mon, 7 Feb 2011 15:37:27 +0000 (+0200) Subject: Added some ids in the FolderProperties dialog box (by right click > Properties) X-Git-Tag: pithos/v0.7.8~323^2~14^2~22^2~58 X-Git-Url: https://code.grnet.gr/git/pithos/commitdiff_plain/4aba5423d07fbf1a1388a27cc996b38db5c4835c?hp=3c370c9f6ffbf08b2b99d8cc316b3c2bfb9da922 Added some ids in the FolderProperties dialog box (by right click > Properties) --- diff --git a/src/gr/ebs/gss/client/FolderPropertiesDialog.java b/src/gr/ebs/gss/client/FolderPropertiesDialog.java index 2f1be6f..2e466e2 100644 --- a/src/gr/ebs/gss/client/FolderPropertiesDialog.java +++ b/src/gr/ebs/gss/client/FolderPropertiesDialog.java @@ -136,6 +136,7 @@ public class FolderPropertiesDialog extends DialogBox { generalTable.setText(2, 0, "Creator"); generalTable.setText(3, 0, "Last modified"); folderName.setText(create ? "" : folder.getName()); + folderName.getElement().setId("folderPropertiesDialog.textBox.name"); generalTable.setWidget(0, 1, folderName); folderName.addChangeHandler(new ChangeHandler() { @@ -190,7 +191,8 @@ public class FolderPropertiesDialog extends DialogBox { } } - }); + }); + ok.getElement().setId("folderPropertiesDialog.button.ok"); buttons.add(ok); buttons.setCellHorizontalAlignment(ok, HasHorizontalAlignment.ALIGN_CENTER); // Create the 'Cancel' button, along with a listener that hides the @@ -202,6 +204,7 @@ public class FolderPropertiesDialog extends DialogBox { closeDialog(); } }); + cancel.getElement().setId("folderPropertiesDialog.button.cancel"); buttons.add(cancel); buttons.setCellHorizontalAlignment(cancel, HasHorizontalAlignment.ALIGN_CENTER); buttons.setSpacing(8);