Revision 4ded5310 src/gr/grnet/pithos/web/client/PermissionsAddDialog.java
b/src/gr/grnet/pithos/web/client/PermissionsAddDialog.java | ||
---|---|---|
50 | 50 |
import com.google.gwt.user.client.ui.FlexTable; |
51 | 51 |
import com.google.gwt.user.client.ui.HasHorizontalAlignment; |
52 | 52 |
import com.google.gwt.user.client.ui.ListBox; |
53 |
import com.google.gwt.user.client.ui.RadioButton; |
|
53 | 54 |
import com.google.gwt.user.client.ui.TextBox; |
54 | 55 |
import com.google.gwt.user.client.ui.VerticalPanel; |
55 | 56 |
|
... | ... | |
59 | 60 |
|
60 | 61 |
private ListBox groupBox = new ListBox(); |
61 | 62 |
|
62 |
private CheckBox read = new CheckBox();
|
|
63 |
private RadioButton read = new RadioButton("permissions");
|
|
63 | 64 |
|
64 |
private CheckBox write = new CheckBox();
|
|
65 |
private RadioButton write = new RadioButton("permissions");
|
|
65 | 66 |
|
66 | 67 |
private PermissionsList permList; |
67 | 68 |
|
... | ... | |
94 | 95 |
|
95 | 96 |
final FlexTable permTable = new FlexTable(); |
96 | 97 |
permTable.setText(0, 0, "Users/Groups"); |
97 |
permTable.setText(0, 1, "Read"); |
|
98 |
permTable.setText(0, 2, "Write"); |
|
98 |
permTable.setText(0, 1, "Read Only");
|
|
99 |
permTable.setText(0, 2, "Read/Write");
|
|
99 | 100 |
permTable.getFlexCellFormatter().setStyleName(0, 0, "props-toplabels"); |
100 | 101 |
permTable.getFlexCellFormatter().setStyleName(0, 1, "props-toplabels"); |
101 | 102 |
permTable.getFlexCellFormatter().setStyleName(0, 2, "props-toplabels"); |
... | ... | |
108 | 109 |
groupBox.addItem(group.getName(), group.getName()); |
109 | 110 |
permTable.setWidget(1, 0, groupBox); |
110 | 111 |
} |
111 |
|
|
112 |
|
|
113 |
read.setValue(true); |
|
112 | 114 |
permTable.setWidget(1, 1, read); |
113 | 115 |
permTable.setWidget(1, 2, write); |
114 | 116 |
|
Also available in: Unified diff