Revision 1016f160 src/gr/ebs/gss/client/FilePropertiesDialog.java
b/src/gr/ebs/gss/client/FilePropertiesDialog.java | ||
---|---|---|
136 | 136 |
final HorizontalPanel vPanel2 = new HorizontalPanel(); |
137 | 137 |
|
138 | 138 |
versioned.setValue(file.isVersioned()); |
139 |
versioned.getElement().setId("filePropertiesDialog.versioned"); |
|
139 |
versioned.getElement().setId("filePropertiesDialog.chechBox.versioned");
|
|
140 | 140 |
inner.add(generalPanel, "General"); |
141 | 141 |
inner.add(permPanel, "Sharing"); |
142 | 142 |
inner.add(verPanel, "Versions"); |
... | ... | |
154 | 154 |
generalTable.setText(4, 0, "Tags"); |
155 | 155 |
name.setWidth("100%"); |
156 | 156 |
name.setText(file.getName()); |
157 |
name.getElement().setId("filePropertiesDialog.textBox.name"); |
|
157 | 158 |
generalTable.setWidget(0, 1, name); |
158 | 159 |
name.addChangeHandler(new ChangeHandler() { |
159 | 160 |
|
... | ... | |
187 | 188 |
tagsBuffer.delete(tagsBuffer.length() - 2, tagsBuffer.length() - 1); |
188 | 189 |
initialTagText = tagsBuffer.toString(); |
189 | 190 |
tags.setWidth("100%"); |
191 |
tags.getElement().setId("filePropertiesDialog.textBox.tags"); |
|
190 | 192 |
tags.setText(initialTagText); |
191 | 193 |
generalTable.setWidget(4, 1, tags); |
192 | 194 |
generalTable.getFlexCellFormatter().setStyleName(0, 0, "props-labels"); |
... | ... | |
215 | 217 |
} |
216 | 218 |
} |
217 | 219 |
}); |
220 |
ok.getElement().setId("filePropertiesDialog.button.ok"); |
|
218 | 221 |
buttons.add(ok); |
219 | 222 |
buttons.setCellHorizontalAlignment(ok, HasHorizontalAlignment.ALIGN_CENTER); |
220 | 223 |
// Create the 'Cancel' button, along with a listener that hides the |
... | ... | |
225 | 228 |
closeDialog(); |
226 | 229 |
} |
227 | 230 |
}); |
231 |
cancel.getElement().setId("filePropertiesDialog.button.cancel"); |
|
228 | 232 |
buttons.add(cancel); |
229 | 233 |
buttons.setCellHorizontalAlignment(cancel, HasHorizontalAlignment.ALIGN_CENTER); |
230 | 234 |
buttons.setSpacing(8); |
... | ... | |
255 | 259 |
dlg.center(); |
256 | 260 |
} |
257 | 261 |
}); |
262 |
add.getElement().setId("filePropertiesDialog.button.addGroup"); |
|
258 | 263 |
permButtons.add(add); |
259 | 264 |
permButtons.setCellHorizontalAlignment(add, HasHorizontalAlignment.ALIGN_CENTER); |
260 | 265 |
|
... | ... | |
265 | 270 |
dlg.center(); |
266 | 271 |
} |
267 | 272 |
}); |
273 |
add.getElement().setId("filePropertiesDialog.button.addUser"); |
|
268 | 274 |
permButtons.add(addUser); |
269 | 275 |
permButtons.setCellHorizontalAlignment(addUser, HasHorizontalAlignment.ALIGN_CENTER); |
270 | 276 |
|
... | ... | |
279 | 285 |
readForAllNote.setStylePrimaryName("gss-readForAllNote"); |
280 | 286 |
|
281 | 287 |
readForAll = new CheckBox(); |
288 |
readForAll.getElement().setId("filePropertiesDialog.checkBox.public"); |
|
282 | 289 |
readForAll.setValue(file.isReadForAll()); |
283 | 290 |
readForAll.addClickHandler(new ClickHandler() { |
284 | 291 |
@Override |
... | ... | |
312 | 319 |
|
313 | 320 |
}); |
314 | 321 |
path.setText(file.getUri()); |
322 |
path.getElement().setId("filePropertiesDialog.textBox.link"); |
|
315 | 323 |
path.setTitle("Use this link for sharing the file via e-mail, IM, etc. (crtl-C/cmd-C to copy to system clipboard)"); |
316 | 324 |
path.setWidth("100%"); |
317 | 325 |
path.setReadOnly(true); |
Also available in: Unified diff