Package org.openstreetmap.josm.data.oauth

Examples of org.openstreetmap.josm.data.oauth.OsmPrivileges


     * 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;
    }
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.data.oauth.OsmPrivileges

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.