Changeset 29487 in osm for applications/editors


Ignore:
Timestamp:
2013-04-08T13:18:43+02:00 (12 years ago)
Author:
raupach
Message:

add tooltip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/HouseNumberTaggingTool/src/org/openstreetmap/josm/plugins/housenumbertool/TagDialog.java

    r29475 r29487  
    4444public class TagDialog extends ExtendedDialog
    4545{
     46   private static final String APPLY_CHANGES = tr("Apply Changes");
     47   
    4648   public static final String TAG_BUILDING = "building";
    4749   public static final String TAG_ADDR_COUNTRY = "addr:country";
     
    122124      buildingEnabled.setFocusable(false);
    123125      buildingEnabled.setSelected(dto.isSaveBuilding());
     126      buildingEnabled.setToolTipText(APPLY_CHANGES);
    124127      c.fill = GridBagConstraints.HORIZONTAL;
    125128      c.gridx = 0;
     
    141144      countryEnabled.setFocusable(false);
    142145      countryEnabled.setSelected(dto.isSaveCountry());
     146      countryEnabled.setToolTipText(APPLY_CHANGES);
    143147      c = new GridBagConstraints();
    144148      c.fill = GridBagConstraints.HORIZONTAL;
     
    163167      stateEnabled.setFocusable(false);
    164168      stateEnabled.setSelected(dto.isSaveState());
     169      stateEnabled.setToolTipText(APPLY_CHANGES);
    165170      c = new GridBagConstraints();
    166171      c.fill = GridBagConstraints.HORIZONTAL;
     
    185190      cityEnabled.setFocusable(false);
    186191      cityEnabled.setSelected(dto.isSaveCity());
     192      cityEnabled.setToolTipText(APPLY_CHANGES);
    187193      c.fill = GridBagConstraints.HORIZONTAL;
    188194      c.gridx = 0;
     
    206212      zipEnabled.setFocusable(false);
    207213      zipEnabled.setSelected(dto.isSavePostcode());
     214      zipEnabled.setToolTipText(APPLY_CHANGES);
    208215      c.fill = GridBagConstraints.HORIZONTAL;
    209216      c.gridx = 0;
     
    227234      streetEnabled.setFocusable(false);
    228235      streetEnabled.setSelected(dto.isSaveStreet());
     236      streetEnabled.setToolTipText(APPLY_CHANGES);
    229237      c.fill = GridBagConstraints.HORIZONTAL;
    230238      c.gridx = 0;
     
    248256      housenumberEnabled.setFocusable(false);
    249257      housenumberEnabled.setSelected(dto.isSaveHousenumber());
     258      housenumberEnabled.setToolTipText(APPLY_CHANGES);
    250259      c.fill = GridBagConstraints.HORIZONTAL;
    251260      c.gridx = 0;
Note: See TracChangeset for help on using the changeset viewer.