Ignore:
Timestamp:
2009-11-24T10:45:04+01:00 (10 years ago)
Author:
stoecker
Message:

i18n updated, fixed files to reduce problems when applying patches, fix #4017

Location:
trunk/src/org/openstreetmap/josm/gui/history
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/AdjustmentSynchronizer.java

    r2181 r2512  
    1515
    1616import javax.swing.JCheckBox;
    17 
    1817
    1918/**
     
    3635        observable = new Observable();
    3736    }
    38 
    3937
    4038    /**
  • trunk/src/org/openstreetmap/josm/gui/history/CoordinateInfoViewer.java

    r2245 r2512  
    8787
    8888    /**
    89      * 
     89     *
    9090     * @param model the model. Must not be null.
    9191     * @throws IllegalArgumentException thrown if model is null
     
    131131    /**
    132132     * Sets the model for this viewer
    133      * 
     133     *
    134134     * @param model the model.
    135135     */
     
    147147     * A UI widgets which displays the Lan/Lon-coordinates of a
    148148     * {@see HistoryNode}.
    149      * 
     149     *
    150150     */
    151151    private static class LatLonViewer extends JPanel implements Observer{
     
    210210            lblLon.setBorder(BorderFactory.createEmptyBorder(2,2,2,2));
    211211
    212 
    213212            // fill the remaining space
    214213            gc.gridx = 0;
     
    222221
    223222        /**
    224          * 
     223         *
    225224         * @param model a model
    226225         * @param role the role for this viewer.
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowser.java

    r2416 r2512  
    3030    private CoordinateInfoViewer coordinateInfoViewer;
    3131    private JTabbedPane tpViewers;
    32 
    3332
    3433    /**
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialog.java

    r2448 r2512  
    3030 * This is non-modal dialog, always showing on top, which displays history information
    3131 * about a given {@see OsmPrimitive}.
    32  * 
     32 *
    3333 */
    3434public class HistoryBrowserDialog extends JDialog implements HistoryDataSetListener{
     
    4040    /**
    4141     * displays the title for this dialog
    42      * 
     42     *
    4343     * @param h the current history
    4444     */
     
    5858    /**
    5959     * builds the GUI
    60      * 
     60     *
    6161     */
    6262    protected void build() {
     
    8888    /**
    8989     * constructor
    90      * 
     90     *
    9191     * @param history  the history to be displayed
    9292     */
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java

    r2448 r2512  
    8888    /**
    8989     * Hides and destroys all currently visible history browser dialogs
    90      * 
     90     *
    9191     */
    9292    public void hideAll() {
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java

    r2497 r2512  
    103103    /**
    104104     * Creates a new history browser model for a given history.
    105      * 
     105     *
    106106     * @param history the history. Must not be null.
    107107     * @throws IllegalArgumentException thrown if history is null
     
    117117     * Replies the current edit layer; null, if there isn't a current edit layer
    118118     * of type {@see OsmDataLayer}.
    119      * 
     119     *
    120120     * @return the current edit layer
    121121     */
     
    258258     * Sets the {@see HistoryOsmPrimitive} which plays the role of a reference point
    259259     * in time (see {@see PointInTimeType}).
    260      * 
     260     *
    261261     * @param reference the reference history primitive. Must not be null.
    262262     * @throws IllegalArgumentException thrown if reference is null
    263263     * @throws IllegalStateException thrown if this model isn't a assigned a history yet
    264264     * @throws IllegalArgumentException if reference isn't an history primitive for the history managed by this mode
    265      * 
     265     *
    266266     * @see #setHistory(History)
    267267     * @see PointInTimeType
     
    289289     * Sets the {@see HistoryOsmPrimitive} which plays the role of the current point
    290290     * in time (see {@see PointInTimeType}).
    291      * 
     291     *
    292292     * @param reference the reference history primitive. Must not be null.
    293293     * @throws IllegalArgumentException thrown if reference is null
    294294     * @throws IllegalStateException thrown if this model isn't a assigned a history yet
    295295     * @throws IllegalArgumentException if reference isn't an history primitive for the history managed by this mode
    296      * 
     296     *
    297297     * @see #setHistory(History)
    298298     * @see PointInTimeType
     
    357357     * representing the version currently edited in the current data
    358358     * layer.
    359      * 
     359     *
    360360     * @param primitive the primitive to check
    361361     * @return true if <code>primitive</code> is the latest primitive
     
    452452        }
    453453    }
    454 
    455454
    456455    /**
     
    767766     * Removes this model as listener for data change and layer change
    768767     * events.
    769      * 
     768     *
    770769     */
    771770    public void unlinkAsListener() {
     
    875874    /**
    876875     * Creates a {@see HistoryOsmPrimitive} from a {@see OsmPrimitive}
    877      * 
     876     *
    878877     */
    879878    class HistoryPrimitiveBuilder extends AbstractVisitor {
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryLoadTask.java

    r2448 r2512  
    2828 *
    2929 * It provides a fluent API for configuration.
    30  * 
     30 *
    3131 * Sample usage:
    32  * 
     32 *
    3333 * <pre>
    3434 *   HistoryLoadTask task  = new HistoryLoadTask()
     
    3737 *      .add(37234, OsmPrimitveType.RELATION)
    3838 *      .add(aHistoryItem);
    39  * 
     39 *
    4040 *   Main.worker.execute(task);
    41  * 
     41 *
    4242 * </pre>
    4343 */
     
    5656    /**
    5757     * Adds an object whose history is to be loaded.
    58      * 
     58     *
    5959     * @param id the object id
    6060     * @param type the object type
     
    7373    /**
    7474     * Adds an object whose history is to be loaded.
    75      * 
     75     *
    7676     * @param pid  the primitive id. Must not be null. Id > 0 required.
    7777     * @return this task
     
    8888    /**
    8989     * Adds an object to be loaded, the object is specified by a history item.
    90      * 
     90     *
    9191     * @param primitive the history item
    9292     * @return this task
     
    102102    /**
    103103     * Adds an object to be loaded, the object is specified by an already loaded object history.
    104      * 
     104     *
    105105     * @param history the history. Must not be null.
    106106     * @return this task
     
    116116    /**
    117117     * Adds an object to be loaded, the object is specified by an OSM primitive.
    118      * 
     118     *
    119119     * @param primitive the OSM primitive. Must not be null. primitive.getId() > 0 required.
    120120     * @return this task
     
    133133    /**
    134134     * Adds a collection of objects to loaded, specified by a collection of OSM primitives.
    135      * 
     135     *
    136136     * @param primitive the OSM primitive. Must not be null. primitive.getId() > 0 required.
    137137     * @return this task
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListTableCellRenderer.java

    r1709 r2512  
    1616/**
    1717 * The {@see TableCellRenderer} for a list of nodes in [@see HistoryBrower}
    18  * 
     18 *
    1919 *
    2020 */
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListTableColumnModel.java

    r1709 r2512  
    99/**
    1010 * The {@see TableColumnModel} for the table with the list of nodes.
    11  * 
     11 *
    1212 *
    1313 */
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListViewer.java

    r2448 r2512  
    3232 * NodeListViewer is a UI component which displays the node list of two
    3333 * version of a {@see OsmPrimitive} in a {@see History}.
    34  * 
     34 *
    3535 * <ul>
    3636 *   <li>on the left, it displays the node list for the version at {@see PointInTimeType#REFERENCE_POINT_IN_TIME}</li>
     
    168168        }
    169169    }
    170 
    171170
    172171    class NodeListPopupMenu extends JPopupMenu {
  • trunk/src/org/openstreetmap/josm/gui/history/PointInTimeType.java

    r1750 r2512  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.gui.history;
    3 
    43
    54/**
  • trunk/src/org/openstreetmap/josm/gui/history/RelationMemberListTableCellRenderer.java

    r2017 r2512  
    1717import org.openstreetmap.josm.tools.ImageProvider;
    1818
    19 
    2019/**
    2120 * The {@see TableCellRenderer} for a list of relation members in {@see HistoryBrower}
    22  * 
     21 *
    2322 *
    2423 */
     
    3938        icons.put(OsmPrimitiveType.RELATION, ImageProvider.get("data", "relation"));
    4039    }
    41 
    4240
    4341    protected void renderIcon(RelationMember member) {
     
    9492    }
    9593
    96 
    9794    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
    9895            int row, int column) {
  • trunk/src/org/openstreetmap/josm/gui/history/RelationMemberListViewer.java

    r2017 r2512  
    1313 * RelationMemberListViewer is a UI component which displays the  list of relation members of two
    1414 * version of a {@see Relation} in a {@see History}.
    15  * 
     15 *
    1616 * <ul>
    1717 *   <li>on the left, it displays the list of relation members for the version at {@see PointInTimeType#REFERENCE_POINT_IN_TIME}</li>
  • trunk/src/org/openstreetmap/josm/gui/history/RelationMemberTableColumnModel.java

    r2017 r2512  
    99/**
    1010 * The {@see TableColumnModel} for the table with the list of relation members.
    11  * 
     11 *
    1212 */
    1313public class RelationMemberTableColumnModel extends DefaultTableColumnModel {
  • trunk/src/org/openstreetmap/josm/gui/history/TagTableCellRenderer.java

    r2448 r2512  
    1616/**
    1717 * The {@see TableCellRenderer} for a list of tagsin {@see HistoryBrower}
    18  * 
     18 *
    1919 */
    2020public class TagTableCellRenderer extends JLabel implements TableCellRenderer {
  • trunk/src/org/openstreetmap/josm/gui/history/TagTableColumnModel.java

    r2017 r2512  
    99/**
    1010 * The {@see TableColumnModel} for the table with the list of tags
    11  * 
     11 *
    1212 */
    1313public class TagTableColumnModel extends DefaultTableColumnModel{
  • trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java

    r2448 r2512  
    2828 * VersionInfoPanel is an UI component which displays the basic properties of a version
    2929 * of a {@see OsmPrimitive}.
    30  * 
     30 *
    3131 */
    3232public class VersionInfoPanel extends JPanel implements Observer{
     
    110110    /**
    111111     * constructor
    112      * 
     112     *
    113113     * @param model  the model (must not be null)
    114114     * @param pointInTimeType the point in time this panel visualizes (must not be null)
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTable.java

    r2044 r2512  
    2424/**
    2525 * VersionTable shows a list of version in a {@see History} of an {@see OsmPrimitive}.
    26  * 
     26 *
    2727 *
    2828 */
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTableCellRenderer.java

    r2448 r2512  
    2424/**
    2525 * The {@see TableCellRenderer} for a list of versions in {@see HistoryBrower}
    26  * 
     26 *
    2727 */
    2828public class VersionTableCellRenderer extends JLabel implements TableCellRenderer {
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTableColumnModel.java

    r2017 r2512  
    99/**
    1010 * The {@see TableColumnModel} for the table with the list of versions
    11  * 
     11 *
    1212 */
    1313public class VersionTableColumnModel extends DefaultTableColumnModel {
Note: See TracChangeset for help on using the changeset viewer.