Changeset 12452 in josm


Ignore:
Timestamp:
2017-07-04T13:57:53+02:00 (3 months ago)
Author:
bastiK
Message:

see #14794 - javadoc for the josm.gui.io package

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/AbstractUploadTask.java

    r10413 r12452  
    3737import org.openstreetmap.josm.tools.date.DateUtils;
    3838
     39/**
     40 * Abstract base class for the task of uploading primitives via OSM API.
     41 *
     42 * Mainly handles conflicts and certain error situations.
     43 */
    3944public abstract class AbstractUploadTask extends PleaseWaitRunnable {
    4045
  • trunk/src/org/openstreetmap/josm/gui/io/ConfigurationParameterRequestHandler.java

    r8510 r12452  
    22package org.openstreetmap.josm.gui.io;
    33
     4/**
     5 * Handler, that will take action when the user clicks one of two hyperlinks
     6 * in the upload dialog.
     7 */
    48public interface ConfigurationParameterRequestHandler {
     9    /**
     10     * Handle the event when user clicks the "configure changeset" hyperlink.
     11     */
    512    void handleChangesetConfigurationRequest();
    613
     14    /**
     15     * Handle the event when user clicks the "advanced configuration" hyperlink.
     16     * The advanced configuration tab contains upload strategy parameters.
     17     */
    718    void handleUploadStrategyConfigurationRequest();
    819}
  • trunk/src/org/openstreetmap/josm/gui/io/CredentialDialog.java

    r10791 r12452  
    4141import org.openstreetmap.josm.tools.WindowGeometry;
    4242
     43/**
     44 * Dialog box to request username and password from the user.
     45 *
     46 * The credentials can be for the OSM API (basic authentication), a different
     47 * host or an HTTP proxy.
     48 */
    4349public class CredentialDialog extends JDialog {
    4450
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java

    r11544 r12452  
    5959import org.openstreetmap.josm.tools.WindowGeometry;
    6060
     61/**
     62 * Dialog that pops up when the user closes a layer with modified data.
     63 *
     64 * It asks for confirmation that all modification should be discarded and offers
     65 * to save the layers to file or upload to server, depending on the type of layer.
     66 */
    6167public class SaveLayersDialog extends JDialog implements TableModelListener {
    6268
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayersModel.java

    r10647 r12452  
    1414import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    1515
     16/**
     17 * Table model for the {@link SaveLayersTable} in the {@link SaveLayersDialog}.
     18 */
    1619public class SaveLayersModel extends DefaultTableModel {
    1720    public static final String MODE_PROP = SaveLayerInfo.class.getName() + ".mode";
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTable.java

    r8836 r12452  
    1010import org.openstreetmap.josm.gui.io.SaveLayersModel.Mode;
    1111
     12/**
     13 * A table that displays the list of modified layers in the {@link SaveLayersDialog}.
     14 */
    1215class SaveLayersTable extends JTable implements PropertyChangeListener {
    1316    SaveLayersTable(SaveLayersModel model) {
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java

    r11848 r12452  
    1818import org.openstreetmap.josm.tools.Utils;
    1919
     20/**
     21 * Table column model for the {@link SaveLayersTable} in the {@link SaveLayersDialog}.
     22 */
    2023class SaveLayersTableColumnModel extends DefaultTableColumnModel {
    2124    /** small renderer class that handles the "should be uploaded/saved" texts. */
  • trunk/src/org/openstreetmap/josm/gui/io/UploadAndSaveProgressRenderer.java

    r9996 r12452  
    1515import org.openstreetmap.josm.gui.progress.ProgressRenderer;
    1616
     17/**
     18 * A {@link ProgressRenderer} used for upload/save action in the {@link SaveLayersDialog}.
     19 */
    1720class UploadAndSaveProgressRenderer extends JPanel implements ProgressRenderer, PropertyChangeListener {
    1821
  • trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java

    r11553 r12452  
    214214        );
    215215
    216 
    217216        // users can click on either of two links in the upload parameter
    218217        // summary handler. This installs the handler for these two events.
Note: See TracChangeset for help on using the changeset viewer.