Ignore:
Timestamp:
2010-09-15T08:21:16+02:00 (14 years ago)
Author:
stoecker
Message:

fix array preferences

Location:
trunk/src/org/openstreetmap/josm/gui/oauth
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/oauth/AbstractAuthorizationUI.java

    r3083 r3530  
    1010/**
    1111 * This is the abstract base class for the three authorisation UIs.
    12  * 
    13  * 
     12 *
     13 *
    1414 */
    1515public abstract class AbstractAuthorizationUI extends VerticallyScrollablePanel{
     
    3434     * Replies the URL of the OSM API for which this UI is currently trying to retrieve an OAuth
    3535     * Access Token
    36      * 
     36     *
    3737     * @return the API URL
    3838     */
     
    4444     * Sets the URL of the OSM API for which this UI is currently trying to retrieve an OAuth
    4545     * Access Token
    46      * 
     46     *
    4747     * @param apiUrl the api URL
    4848     */
     
    5353    /**
    5454     * Replies the panel for entering advanced OAuth parameters (see {@see OAuthParameters})
    55      * 
     55     *
    5656     * @return the panel for entering advanced OAuth parameters
    5757     * @see #getOAuthParameters()
     
    6363    /**
    6464     * Replies the current set of advanced OAuth parameters in this UI
    65      * 
     65     *
    6666     * @return the current set of advanced OAuth parameters in this UI
    6767     */
     
    7272    /**
    7373     * Replies the retrieved Access Token. null, if no Access Token was retrieved.
    74      * 
     74     *
    7575     * @return the retrieved Access Token
    7676     */
     
    8282     * Sets the current Access Token. This will fire a property change event for {@see #ACCESS_TOKEN_PROP}
    8383     * if the access token has changed
    84      * 
     84     *
    8585     * @param accessToken the new access token. null, to clear the current access token
    8686     */
     
    9999    /**
    100100     * Replies true if this UI currently has an Access Token
    101      * 
     101     *
    102102     * @return true if this UI currently has an Access Token
    103103     */
     
    109109     * Replies whether the user has chosen to save the Access Token in the JOSM
    110110     * preferences or not.
    111      * 
     111     *
    112112     * @return true if the user has chosen to save the Access Token
    113113     */
     
    116116    /**
    117117     * Initializes the authorisation UI with preference values in <code>pref</code>.
    118      * 
     118     *
    119119     * @param pref the preferences. Must not be null.
    120120     * @throws IllegalArgumentException thrown if pref is null
  • trunk/src/org/openstreetmap/josm/gui/oauth/AccessTokenInfoPanel.java

    r3083 r3530  
    1818/**
    1919 * Displays the key and the secret of an OAuth Access Token.
    20  * 
     20 *
    2121 */
    2222public class AccessTokenInfoPanel extends JPanel {
     
    8181    /**
    8282     * Displays the key and secret in <code>token</code>.
    83      * 
     83     *
    8484     * @param token the access  token. If null, the content in the info panel is cleared
    8585     */
  • trunk/src/org/openstreetmap/josm/gui/oauth/AdvancedOAuthPropertiesPanel.java

    r3083 r3530  
    171171    /**
    172172     * Replies the OAuth parameters currently edited in this properties panel.
    173      * 
     173     *
    174174     * @return the OAuth parameters
    175175     */
     
    188188    /**
    189189     * Sets the advanced parameters to be displayed
    190      * 
     190     *
    191191     * @param parameters the advanced parameters. Must not be null.
    192192     * @throws IllegalArgumentException thrown if parameters is null.
     
    214214    /**
    215215     * Initializes the panel from the values in the preferences <code>preferences</code>.
    216      * 
     216     *
    217217     * @param pref the preferences. Must not be null.
    218218     * @throws IllegalArgumentException thrown if pref is null
     
    238238    /**
    239239     * Remembers the current values in the preferences <code>pref</code>.
    240      * 
     240     *
    241241     * @param pref the preferences. Must not be null.
    242242     * @throws IllegalArgumentException thrown if pref is null.
  • trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java

    r3083 r3530  
    5252 * This is an UI which supports a JOSM user to get an OAuth Access Token in a fully
    5353 * automatic process.
    54  * 
     54 *
    5555 */
    5656public class FullyAutomaticAuthorizationUI extends AbstractAuthorizationUI {
     
    6868    /**
    6969     * Builds the panel with the three privileges the user can grant JOSM
    70      * 
     70     *
    7171     * @return
    7272     */
     
    7878    /**
    7979     * Builds the panel for entering the username and password
    80      * 
     80     *
    8181     * @return
    8282     */
     
    203203    /**
    204204     * Builds the panel with the action button  for starting the authorisation
    205      * 
     205     *
    206206     * @return
    207207     */
     
    218218    /**
    219219     * Builds the panel which displays the generated Access Token.
    220      * 
     220     *
    221221     * @return
    222222     */
     
    274274     * Prepares the UI for the first step in the automatic process: entering the authentication
    275275     * and authorisation parameters.
    276      * 
     276     *
    277277     */
    278278    protected void prepareUIForEnteringRequest() {
     
    290290    /**
    291291     * Prepares the UI for the second step in the automatic process: displaying the access token
    292      * 
     292     *
    293293     */
    294294    protected void prepareUIForResultDisplay() {
  • trunk/src/org/openstreetmap/josm/gui/oauth/OsmPrivilegesPanel.java

    r3083 r3530  
    8585    /**
    8686     * Replies the currently entered privileges
    87      * 
     87     *
    8888     * @return the privileges
    8989     */
  • trunk/src/org/openstreetmap/josm/gui/oauth/RetrieveAccessTokenTask.java

    r3083 r3530  
    2121/**
    2222 * Asynchronous task for retrieving an Access Token.
    23  * 
     23 *
    2424 */
    2525public class RetrieveAccessTokenTask extends PleaseWaitRunnable {
     
    3434    /**
    3535     * Creates the task
    36      * 
     36     *
    3737     * @param parent the parent component relative to which the {@see PleaseWaitRunnable}-Dialog
    3838     * is displayed
     
    9999    /**
    100100     * Replies true if the task was canceled.
    101      * 
     101     *
    102102     * @return
    103103     */
     
    108108    /**
    109109     * Replies the retrieved Access Token. null, if something went wrong.
    110      * 
     110     *
    111111     * @return the retrieved Access Token
    112112     */
  • trunk/src/org/openstreetmap/josm/gui/oauth/RetrieveRequestTokenTask.java

    r3083 r3530  
    3232    /**
    3333     * Creates the task
    34      * 
     34     *
    3535     * @param parent the parent component relative to which the {@see PleaseWaitRunnable}-Dialog
    3636     * is displayed
     
    9393    /**
    9494     * Replies true if the task was canceled
    95      * 
     95     *
    9696     * @return true if the task was canceled
    9797     */
     
    102102    /**
    103103     * Replies the request token. null, if something went wrong.
    104      * 
     104     *
    105105     * @return the request token
    106106     */
  • trunk/src/org/openstreetmap/josm/gui/oauth/SemiAutomaticAuthorizationUI.java

    r3083 r3530  
    3434/**
    3535 * This is the UI for running a semic-automic authorisation procedure.
    36  * 
     36 *
    3737 * In contrast to the fully-automatic procedure the user is dispatched to an
    3838 * external browser for login and authorisation.
  • trunk/src/org/openstreetmap/josm/gui/oauth/TestAccessTokenTask.java

    r3083 r3530  
    3535/**
    3636 * Checks whether an OSM API server can be accessed with a specific Access Token.
    37  * 
     37 *
    3838 * It retrieves the user details for the user which is authorized to access the server with
    3939 * this token.
    40  * 
     40 *
    4141 */
    4242public class TestAccessTokenTask extends PleaseWaitRunnable {
     
    5050    /**
    5151     * Create the task
    52      * 
     52     *
    5353     * @param parent the parent component relative to which the  {@see PleaseWaitRunnable}-Dialog is displayed
    5454     * @param apiUrl the API URL. Must not be null.
Note: See TracChangeset for help on using the changeset viewer.