Changeset 6741 in josm for trunk/src/org
- Timestamp:
- 2014-01-19T20:43:00+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginListPanel.java
r6733 r6741 12 12 import java.awt.event.ActionEvent; 13 13 import java.awt.event.ActionListener; 14 import java.awt.event.MouseAdapter; 15 import java.awt.event.MouseEvent; 14 16 import java.util.HashSet; 15 17 import java.util.List; … … 219 221 String localversion = formatPluginLocalVersion(model.getPluginInformation(pi.getName())); 220 222 221 JPluginCheckBox cbPlugin = new JPluginCheckBox(pi, selected);223 final JPluginCheckBox cbPlugin = new JPluginCheckBox(pi, selected); 222 224 String pluginText = tr("{0}: Version {1} (local: {2})", pi.getName(), remoteversion, localversion); 223 225 if (pi.requires != null && !pi.requires.isEmpty()) { … … 228 230 pi.getScaledIcon(), 229 231 SwingConstants.LEFT); 232 lblPlugin.addMouseListener(new MouseAdapter() { 233 @Override 234 public void mouseClicked(MouseEvent e) { 235 cbPlugin.setSelected(!cbPlugin.isSelected()); 236 } 237 }); 230 238 231 239 gbc.gridx = 0;
Note:
See TracChangeset
for help on using the changeset viewer.