Changeset 30737 in osm for applications/editors/josm/plugins/smed/src/panels/PanelLights.java
- Timestamp:
- 2014-10-18T23:07:52+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelLights.java
r30532 r30737 19 19 20 20 public JComboBox<String> landCatBox; 21 public EnumMap<Cat, Integer> landCats = new EnumMap< Cat, Integer>(Cat.class);21 public EnumMap<Cat, Integer> landCats = new EnumMap<>(Cat.class); 22 22 private ActionListener alLandCatBox = new ActionListener() { 23 23 public void actionPerformed(java.awt.event.ActionEvent e) { … … 32 32 }; 33 33 public JComboBox<String> trafficCatBox; 34 public EnumMap<Cat, Integer> trafficCats = new EnumMap< Cat, Integer>(Cat.class);34 public EnumMap<Cat, Integer> trafficCats = new EnumMap<>(Cat.class); 35 35 private ActionListener alTrafficCatBox = new ActionListener() { 36 36 public void actionPerformed(java.awt.event.ActionEvent e) { … … 45 45 }; 46 46 public JComboBox<String> warningCatBox; 47 public EnumMap<Cat, Integer> warningCats = new EnumMap< Cat, Integer>(Cat.class);47 public EnumMap<Cat, Integer> warningCats = new EnumMap<>(Cat.class); 48 48 private ActionListener alWarningCatBox = new ActionListener() { 49 49 public void actionPerformed(java.awt.event.ActionEvent e) { … … 58 58 }; 59 59 public JComboBox<String> platformCatBox; 60 public EnumMap<Cat, Integer> platformCats = new EnumMap< Cat, Integer>(Cat.class);60 public EnumMap<Cat, Integer> platformCats = new EnumMap<>(Cat.class); 61 61 private ActionListener alPlatformCatBox = new ActionListener() { 62 62 public void actionPerformed(java.awt.event.ActionEvent e) { … … 71 71 }; 72 72 public JComboBox<String> pilotCatBox; 73 public EnumMap<Cat, Integer> pilotCats = new EnumMap< Cat, Integer>(Cat.class);73 public EnumMap<Cat, Integer> pilotCats = new EnumMap<>(Cat.class); 74 74 private ActionListener alPilotCatBox = new ActionListener() { 75 75 public void actionPerformed(java.awt.event.ActionEvent e) { … … 84 84 }; 85 85 public JComboBox<String> rescueCatBox; 86 public EnumMap<Cat, Integer> rescueCats = new EnumMap< Cat, Integer>(Cat.class);86 public EnumMap<Cat, Integer> rescueCats = new EnumMap<>(Cat.class); 87 87 private ActionListener alRescueCatBox = new ActionListener() { 88 88 public void actionPerformed(java.awt.event.ActionEvent e) { … … 97 97 }; 98 98 public JComboBox<String> radioCatBox; 99 public EnumMap<Cat, Integer> radioCats = new EnumMap< Cat, Integer>(Cat.class);99 public EnumMap<Cat, Integer> radioCats = new EnumMap<>(Cat.class); 100 100 private ActionListener alRadioCatBox = new ActionListener() { 101 101 public void actionPerformed(java.awt.event.ActionEvent e) { … … 110 110 }; 111 111 public JComboBox<String> radarCatBox; 112 public EnumMap<Cat, Integer> radarCats = new EnumMap< Cat, Integer>(Cat.class);112 public EnumMap<Cat, Integer> radarCats = new EnumMap<>(Cat.class); 113 113 private ActionListener alRadarCatBox = new ActionListener() { 114 114 public void actionPerformed(java.awt.event.ActionEvent e) { … … 124 124 public JLabel functionLabel; 125 125 public JComboBox<String> functionBox; 126 public EnumMap<Fnc, Integer> functions = new EnumMap< Fnc, Integer>(Fnc.class);126 public EnumMap<Fnc, Integer> functions = new EnumMap<>(Fnc.class); 127 127 private ActionListener alfunctionBox = new ActionListener() { 128 128 public void actionPerformed(java.awt.event.ActionEvent e) { … … 151 151 public JRadioButton radioButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/RadioStationButton.png"))); 152 152 public JRadioButton radarButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/RadarStationButton.png"))); 153 public EnumMap<Obj, JRadioButton> objects = new EnumMap< Obj, JRadioButton>(Obj.class);153 public EnumMap<Obj, JRadioButton> objects = new EnumMap<>(Obj.class); 154 154 private ActionListener alObj = new ActionListener() { 155 155 public void actionPerformed(java.awt.event.ActionEvent e) {
Note:
See TracChangeset
for help on using the changeset viewer.