* Replies the currently entered privileges
*
* @return the privileges
*/
public OsmPrivileges getPrivileges() {
OsmPrivileges privileges = new OsmPrivileges();
privileges.setAllowWriteApi(cbWriteApi.isSelected());
privileges.setAllowWriteGpx(cbWriteGpx.isSelected());
privileges.setAllowReadGpx(cbReadGpx.isSelected());
privileges.setAllowWritePrefs(cbWritePrefs.isSelected());
privileges.setAllowReadPrefs(cbReadPrefs.isSelected());
privileges.setAllowModifyNotes(cbModifyNotes.isSelected());
return privileges;
}