Changeset 1653 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/ListMerger.java
- Timestamp:
- 2009-06-07T16:18:31+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/ListMerger.java
r1650 r1653 40 40 /** 41 41 * A UI component for resolving conflicts in two lists of entries of type T. 42 * 42 * 43 43 * @param T the type of the entries 44 44 * @see ListMergeModel … … 687 687 * Action for removing the selected entries in the list of merged entries 688 688 * from the list of merged entries. 689 * 689 * 690 690 */ 691 691 class RemoveMergedAction extends AbstractAction implements ListSelectionListener { … … 740 740 * such that the action gets notified about item state changes and the button gets 741 741 * notified about selection state changes of the action. 742 * 742 * 743 743 * @param btn a toggle button 744 744 */ … … 811 811 public void update(Observable o, Object arg) { 812 812 lblMyVersion.setText( 813 tr("My version ") 814 + trn("({0} entry)", "({0} entries)", model.getMyEntriesSize(), model.getMyEntriesSize()) 813 trn("My version ({0} entry)", "My version ({0} entries)", model.getMyEntriesSize(), model.getMyEntriesSize()) 815 814 ); 816 815 lblMergedVersion.setText( 817 tr("Merged version ") 818 + trn("({0} entry)", "({0} entries)", model.getMergedEntriesSize(), model.getMergedEntriesSize()) 816 trn("Merged version ({0} entry)", "Merged version ({0} entries)", model.getMergedEntriesSize(), model.getMergedEntriesSize()) 819 817 ); 820 818 lblTheirVersion.setText( 821 tr("Their version ") 822 + trn("({0} entry)", "({0} entries)", model.getTheirEntriesSize(), model.getTheirEntriesSize()) 819 trn("Their version ({0} entry)", "Their version ({0} entries)", model.getTheirEntriesSize(), model.getTheirEntriesSize()) 823 820 ); 824 821 } 825 826 827 822 828 823 /** … … 831 826 * the registerd Adjustables is updated the adjustment of 832 827 * the other registered Adjustables is adjusted too. 833 * 828 * 834 829 */ 835 830 class AdjustmentSynchronizer implements AdjustmentListener { … … 850 845 * registers an {@see Adjustable} for participation in synchronized 851 846 * scrolling. 852 * 847 * 853 848 * @param adjustable the adjustable 854 849 */ … … 865 860 /** 866 861 * event handler for {@see AdjustmentEvent}s 867 * 862 * 868 863 */ 869 864 public void adjustmentValueChanged(AdjustmentEvent e) { … … 880 875 * sets whether adjustable participates in adjustment synchronization 881 876 * or not 882 * 877 * 883 878 * @param adjustable the adjustable 884 879 */ … … 896 891 /** 897 892 * returns true if an adjustable is participating in synchronized scrolling 898 * 893 * 899 894 * @param adjustable the adjustable 900 895 * @return true, if the adjustable is participating in synchronized scrolling, false otherwise … … 916 911 * {@see JCheckBox}</ol> 917 912 * </li> 918 * 919 * 913 * 914 * 920 915 * @param view the checkbox to control whether an adjustable participates in synchronized 921 916 * adjustment
Note:
See TracChangeset
for help on using the changeset viewer.
