Ignore:
Timestamp:
2010-07-19T21:06:52+02:00 (16 years ago)
Author:
pieren
Message:

add ctrl modifier in address mode; add "tableau d'assemblage" in list of cadastre raster images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/Address.java

    r22230 r22387  
    8989    JLabel link = new JLabel();
    9090    private Way selectedWay;
    91     //private Relation selectedRelation;
    9291    private boolean shift;
     92    private boolean ctrl;
    9393
    9494    public Address(MapFrame mapFrame) {
     
    121121            return;
    122122        shift = (e.getModifiers() & ActionEvent.SHIFT_MASK) != 0;
     123        ctrl = (e.getModifiers() & ActionEvent.CTRL_MASK) != 0;
    123124        MapView mv = Main.map.mapView;
    124125        Point mousePos = e.getPoint();
     
    143144            if (currentMouseNode.get(tagHouseStreet) != null) {
    144145                inputStreet.setText(currentMouseNode.get(tagHouseStreet));
     146                if (ctrl) {
     147                    Collection<Command> cmds = new LinkedList<Command>();
     148                    addAddrToPrimitive(currentMouseNode, cmds);
     149                    applyInputNumberChange();
     150                }
    145151                setSelectedWay((Way)null);
    146152            } else {
Note: See TracChangeset for help on using the changeset viewer.