Ignore:
Timestamp:
2008-06-15T12:28:42+02:00 (17 years ago)
Author:
ramack
Message:

patch by bruce89, closes #812; thanks bruce

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AboutAction.java

    r627 r655  
    154154
    155155        /**
    156          * Load the specified ressource into an TextArea and return it.
     156         * Load the specified resource into an TextArea and return it.
    157157         * @param resource The resource url to load
    158158         * @return      An read-only text area with the content of "resource"
  • trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java

    r627 r655  
    2222
    2323/**
    24  * Aligns all selected nodes within a circle. (Usefull for roundabouts)
     24 * Aligns all selected nodes within a circle. (Useful for roundabouts)
    2525 *
    2626 * @author Matthew Newton
  • trunk/src/org/openstreetmap/josm/actions/DiskAccessAction.java

    r627 r655  
    1212
    1313/**
    14  * Helper class for all actions, that access the disk
     14 * Helper class for all actions that access the disk
    1515 */
    1616abstract public class DiskAccessAction extends JosmAction {
  • trunk/src/org/openstreetmap/josm/actions/DownloadAction.java

    r627 r655  
    1919
    2020/**
    21  * Action that opens a connection to the osm server and download map data.
     21 * Action that opens a connection to the osm server and downloads map data.
    2222 *
    2323 * An dialog is displayed asking the user to specify a rectangle to grab.
  • trunk/src/org/openstreetmap/josm/actions/DuplicateAction.java

    r627 r655  
    1818    public DuplicateAction() {
    1919        super(tr("Duplicate"), "duplicate",
    20                         tr("Duplicate selection by Copy and immediate Paste."),
     20                        tr("Duplicate selection by copy and immediate paste."),
    2121                        KeyEvent.VK_D, KeyEvent.CTRL_MASK, true);
    2222        setEnabled(false);
  • trunk/src/org/openstreetmap/josm/actions/ExitAction.java

    r627 r655  
    1010
    1111/**
    12  * Exit the application. May ask for permition first (if something has changed).
     12 * Exit the application. May ask for permission first (if something has changed).
    1313 * 
    1414 * @author imi
  • trunk/src/org/openstreetmap/josm/actions/HelpAction.java

    r627 r655  
    149149
    150150        /**
    151          * Displays the help (or browse on the already open help) to the online page
     151         * Displays the help (or browse on the already open help) on the online page
    152152         * with the given help topic. Use this for larger help descriptions.
    153153         */
  • trunk/src/org/openstreetmap/josm/actions/OpenAction.java

    r627 r655  
    2626
    2727/**
    28  * Open a file chooser dialog and select an file to import. Than call the gpx-import
     28 * Open a file chooser dialog and select an file to import. Then call the gpx-import
    2929 * driver. Finally open an internal frame into the main window with the gpx data shown.
    3030 *
  • trunk/src/org/openstreetmap/josm/actions/PasteTagsAction.java

    r627 r655  
    7676       
    7777        /**
    78          * determines whether to enable the widget depending on the contents of the paste
     78         * Determines whether to enable the widget depending on the contents of the paste
    7979         * buffer and current selection
    8080         * @param pasteBuffer
  • trunk/src/org/openstreetmap/josm/actions/RedoAction.java

    r627 r655  
    1919
    2020        /**
    21          * Construct the action with "Undo" as label.
     21         * Construct the action with "Redo" as label.
    2222         */
    2323        public RedoAction() {
  • trunk/src/org/openstreetmap/josm/actions/RenameLayerAction.java

    r627 r655  
    3030
    3131        /**
    32          * @param file The filen of the original location of this layer.
     32         * @param file The file of the original location of this layer.
    3333         *              If null, no possibility to "rename the file as well" is provided.
    3434         */
  • trunk/src/org/openstreetmap/josm/actions/SaveAction.java

    r627 r655  
    1313
    1414/**
    15  * Export the data  as OSM intern xml file.
     15 * Export the data as an OSM xml file.
    1616 *
    1717 * @author imi
  • trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java

    r627 r655  
    5959        /**
    6060         * Checks whether it is ok to launch a save (whether we have data,
    61          * there is no conflict etc...)
    62          * @return <code>true</code>, if it is save to save.
     61         * there is no conflict etc.)
     62         * @return <code>true</code>, if it is safe to save.
    6363         */
    6464        public boolean checkSaveConditions(Layer layer) {
     
    211211        /**
    212212         * Check the data set if it would be empty on save. It is empty, if it contains
    213          * no objects (after all objects that are created and deleted without beeing
     213         * no objects (after all objects that are created and deleted without being
    214214         * transfered to the server have been removed).
    215215         * 
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r627 r655  
    169169        /**
    170170         * Split a way into two or more parts, starting at a selected node.
    171          *
    172          * FIXME: what do the following "arguments" refer to?
    173          * @param way the way to split
    174          * @param nodes the node(s) to split the way at; must be part of the way.
    175171         */
    176172        private void splitWay() {
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r627 r655  
    2626
    2727/**
    28  * Action that opens a connection to the osm server and upload all changes.
     28 * Action that opens a connection to the osm server and uploads all changes.
    2929 *
    3030 * An dialog is displayed asking the user to specify a rectangle to grab.
     
    5252         * if they want to be able to veto an upload.
    5353         *
    54          * Be dafault, the standard upload dialog is the only element in the list.
    55          * Plugins shold normally insert their code before that, so that the upload
     54         * Be default, the standard upload dialog is the only element in the list.
     55         * Plugins should normally insert their code before that, so that the upload
    5656         * dialog is the last thing shown before upload really starts; on occasion
    5757         * however, a plugin might also want to insert something after that.
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java

    r627 r655  
    3131 * An action that enables the user to delete nodes and other objects.
    3232 *
    33  * The user can click on an object, which get deleted if possible. When Ctrl is
     33 * The user can click on an object, which gets deleted if possible. When Ctrl is
    3434 * pressed when releasing the button, the objects and all its references are
    35  * deleted. The exact definition of "all its references" are in 
    36  * @see #deleteWithReferences(OsmPrimitive)
     35 * deleted. The exact definition of "all its references" are in
     36 * {@link #deleteWithReferences deleteWithReferences}.
    3737 *
    3838 * If the user did not press Ctrl and the object has any references, the user
     
    159159         *
    160160         * @param selection The objects to delete.
    161          * @param alsoDeleteNodesInWay true if nodes should be deleted as well
     161         * @param alsoDeleteNodesInWay <code>true</code> if nodes should be deleted as well
    162162         * @return command A command to perform the deletions, or null of there is
    163163         * nothing to delete.
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java

    r644 r655  
    478478        }
    479479
    480         /*
     480        /**
    481481         * Adjusts the position of a node to lie on a segment (or a segment
    482482         * intersection).
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java

    r627 r655  
    5353        private Cursor oldCursor;
    5454        /**
    55          * The curren tposition of the mouse
     55         * The current position of the mouse
    5656         */
    5757        private Point mousePos;
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r627 r655  
    2929import org.openstreetmap.josm.tools.ImageProvider;
    3030/**
    31  * Move is an action that can move all kind of OsmPrimitives (except Keys for now).
     31 * Move is an action that can move all kind of OsmPrimitives (except keys for now).
    3232 *
    3333 * If an selected object is under the mouse when dragging, move all selected objects.
Note: See TracChangeset for help on using the changeset viewer.