Changeset 3105 in josm for trunk


Ignore:
Timestamp:
2010-03-10T16:26:43+01:00 (10 years ago)
Author:
Gubaer
Message:

Removing @Overrides - got inserted too early and make troubles while still building for Java 1.5

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java

    r3104 r3105  
    220220    }
    221221
    222     @Override
    223222    public Bounds getBoundingBox() {
    224223        return bbox;
     
    231230     * @param bbox the bounding box. null to reset the bounding box
    232231     */
    233     @Override
    234232    public void setBoundingBox(Bounds bbox) {
    235233        if (bbox == null) {
  • trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapControler.java

    r3094 r3105  
    126126    }
    127127
    128     @Override
    129128    public void mouseDragged(MouseEvent e) {
    130129        if ((e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) == MouseEvent.BUTTON1_DOWN_MASK) {
     
    169168    }
    170169
    171     @Override
    172170    public void mouseMoved(MouseEvent e) {
    173171    }
  • trunk/src/org/openstreetmap/josm/gui/bbox/TileSelectionBBoxChooser.java

    r3094 r3105  
    131131     *
    132132     */
    133     @Override
    134133    public Bounds getBoundingBox() {
    135134        return bbox;
     
    141140     * @param bbox the bounding box. null, if this widget isn't initialized with a bounding box
    142141     */
    143     @Override
    144142    public void setBoundingBox(Bounds bbox) {
    145143        pnlTileGrid.initFromBoundingBox(bbox);
     
    195193     */
    196194    class TileBoundsChangeListener implements PropertyChangeListener {
    197         @Override
    198195        public void propertyChange(PropertyChangeEvent evt) {
    199196            if (!evt.getPropertyName().equals(TileGridInputPanel.TILE_BOUNDS_PROP)) return;
     
    371368        }
    372369
    373         @Override
    374370        public void propertyChange(PropertyChangeEvent evt) {
    375371            if (evt.getPropertyName().equals(TileAddressInputPanel.TILE_BOUNDS_PROP)) {
     
    386382
    387383        class ZomeLevelChangeHandler implements ChangeListener {
    388             @Override
    389384            public void stateChanged(ChangeEvent e) {
    390385                int zoomLevel = (Integer)spZoomLevel.getValue();
     
    412407            }
    413408
    414             @Override
    415409            public void focusGained(FocusEvent e) {/* irrelevant */}
    416410
    417             @Override
    418411            public void focusLost(FocusEvent e) {
    419412                buildTileBounds();
    420413            }
    421414
    422             @Override
    423415            public void actionPerformed(ActionEvent e) {
    424416                buildTileBounds();
    425417            }
    426418
    427             @Override
    428419            public void stateChanged(ChangeEvent e) {
    429420                buildTileBounds();
     
    512503            }
    513504
    514             @Override
    515505            public void actionPerformed(ActionEvent e) {
    516506                TileBounds tb = valTileAddress.getTileBounds();
  • trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java

    r3103 r3105  
    270270        }
    271271
    272         @Override
    273272        public void editLayerChanged(OsmDataLayer oldLayer, OsmDataLayer newLayer) {
    274273            updateEnabledState();
     
    288287        }
    289288
    290         @Override
    291289        public void actionPerformed(ActionEvent e) {
    292290            Collection<OsmPrimitive> sel = model.getSelected();
     
    317315            updateEnabledState();
    318316        }
    319         @Override
     317
    320318        public void actionPerformed(ActionEvent e) {
    321319            new AutoScaleAction("selection").autoScale();
     
    443441        }
    444442
    445         @Override
    446443        public Object getElementAt(int index) {
    447444            return selection.get(index);
    448445        }
    449446
    450         @Override
    451447        public int getSize() {
    452448            return selection.size();
     
    517513                    new Comparator<OsmPrimitive>() {
    518514                        NameFormatter nf = DefaultNameFormatter.getInstance();
    519                         @Override
     515
    520516                        public int compare(OsmPrimitive o1, OsmPrimitive o2) {
    521 
    522517                            if (o1.getType() != o2.getType())
    523518                                return o1.getType().compareTo(o2.getType());
     
    624619        }
    625620
    626         @Override
    627621        public void primtivesAdded(PrimitivesAddedEvent event) {/* ignored - handled by SelectionChangeListener */}
    628         @Override
    629622        public void primtivesRemoved(PrimitivesRemovedEvent event) {/* ignored - handled by SelectionChangeListener*/}
    630623    }
  • trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java

    r3094 r3105  
    4343    }
    4444
    45     @Override
    4645    public void propertyChange(PropertyChangeEvent evt) {
    4746        if (evt.getPropertyName().equals(BBoxChooser.BBOX_PROP)) {
  • trunk/src/org/openstreetmap/josm/gui/download/TileSelection.java

    r3104 r3105  
    4343    }
    4444
    45     @Override
    4645    public void propertyChange(PropertyChangeEvent evt) {
    4746        if (evt.getPropertyName().equals(BBoxChooser.BBOX_PROP)) {
Note: See TracChangeset for help on using the changeset viewer.