Changeset 8392 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2015-05-18T02:52:44+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/RotateCommand.java
r8285 r8392 6 6 import java.util.Collection; 7 7 8 import javax.swing.Icon;9 10 8 import org.openstreetmap.josm.data.coor.EastNorth; 11 9 import org.openstreetmap.josm.data.osm.Node; 12 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 13 import org.openstreetmap.josm.tools.ImageProvider;14 11 15 12 /** … … 89 86 return trn("Rotate {0} node", "Rotate {0} nodes", nodes.size(), nodes.size()); 90 87 } 91 92 @Override93 public Icon getDescriptionIcon() {94 return ImageProvider.get("data", "node");95 }96 88 } -
trunk/src/org/openstreetmap/josm/command/ScaleCommand.java
r8285 r8392 6 6 import java.util.Collection; 7 7 8 import javax.swing.Icon;9 10 8 import org.openstreetmap.josm.data.coor.EastNorth; 11 9 import org.openstreetmap.josm.data.osm.Node; 12 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 13 import org.openstreetmap.josm.tools.ImageProvider;14 11 15 12 public class ScaleCommand extends TransformNodesCommand { … … 81 78 return trn("Scale {0} node", "Scale {0} nodes", nodes.size(), nodes.size()); 82 79 } 83 84 @Override85 public Icon getDescriptionIcon() {86 return ImageProvider.get("data", "node");87 }88 80 } -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r8388 r8392 321 321 322 322 @Override 323 public void refresh() { }324 325 @Override326 323 public PermissionCollection getPermissions(CodeSource codesource) { 327 324 return pc; -
trunk/src/org/openstreetmap/josm/gui/dialogs/NotesDialog.java
r8365 r8392 170 170 171 171 @Override 172 public void showNotify() { } 173 174 @Override 175 public void hideNotify() { } 176 177 @Override 178 public void activeLayerChange(Layer oldLayer, Layer newLayer) { } 172 public void activeLayerChange(Layer oldLayer, Layer newLayer) { 173 // Do nothing 174 } 179 175 180 176 @Override -
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java
r8338 r8392 564 564 } 565 565 566 @Override567 public boolean isCellEditable(int row, int column) {568 return false;569 }570 571 566 public boolean hasTag(String key) { 572 567 HistoryOsmPrimitive primitive = getPointInTime(pointInTimeType); -
trunk/src/org/openstreetmap/josm/gui/layer/ValidatorLayer.java
r8378 r8392 140 140 141 141 @Override 142 public void destroy() {143 }144 145 @Override146 142 public void activeLayerChange(Layer oldLayer, Layer newLayer) { 147 143 } -
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r8380 r8392 770 770 771 771 @Override 772 protected void exportDone(JComponent source, Transferable data, int action) {773 }774 775 @Override776 772 protected Transferable createTransferable(JComponent c) { 777 773 TreePath[] paths = actionsTree.getSelectionPaths(); -
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java
r8377 r8392 643 643 */ 644 644 public ImageryLayerTableModel() { 645 setColumnIdentifiers(new String[] { 645 setColumnIdentifiers(new String[] {tr("Menu Name"), tr("Imagery URL")}); 646 646 } 647 647 … … 705 705 throw new ArrayIndexOutOfBoundsException(); 706 706 } 707 }708 709 @Override710 public boolean isCellEditable(int row, int column) {711 return true;712 707 } 713 708 } -
trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java
r8380 r8392 118 118 119 119 private static class ScListModel extends AbstractTableModel { 120 private String[] columnNames = new String[]{tr("Action"), tr("Shortcut")}; 120 private final String[] columnNames = new String[]{tr("Action"), tr("Shortcut")}; 121 121 private transient List<Shortcut> data; 122 122 … … 139 139 public Object getValueAt(int row, int col) { 140 140 return (col==0)? data.get(row).getLongText() : data.get(row); 141 }142 @Override143 public boolean isCellEditable(int row, int col) {144 return false;145 141 } 146 142 } -
trunk/src/org/openstreetmap/josm/gui/widgets/PopupMenuLauncher.java
r7001 r8392 53 53 54 54 @Override public void mousePressed(MouseEvent e) { processEvent(e); } 55 @Override public void mouseClicked(MouseEvent e) {}56 55 @Override public void mouseReleased(MouseEvent e) { processEvent(e); } 57 56 -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/OpenFileHandler.java
r7937 r8392 24 24 public String[] getMandatoryParams() { 25 25 return new String[]{"filename"}; 26 }27 28 @Override29 public String[] getOptionalParams() {30 return null;31 26 } 32 27
Note:
See TracChangeset
for help on using the changeset viewer.