Changeset 30532 in osm for applications/editors/josm/plugins/graphview
- Timestamp:
- 2014-07-14T04:18:06+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/GraphViewDialog.java
r29854 r30532 52 52 private final LinkedHashMap<String, ColorScheme> availableColorSchemes; 53 53 54 55 54 private final GraphViewPreferences preferences; 56 55 private final GraphViewPlugin plugin; 57 56 58 private final JComboBox rulesetComboBox; 59 private final JComboBox bookmarkComboBox; 60 private final JComboBox colorSchemeComboBox; 57 private final JComboBox<String> rulesetComboBox; 58 private final JComboBox<String> bookmarkComboBox; 59 private final JComboBox<String> colorSchemeComboBox; 61 60 62 61 /** … … 111 110 selectionPanel.add(rulesetLabel); 112 111 113 rulesetComboBox = new JComboBox(); 112 rulesetComboBox = new JComboBox<>(); 114 113 rulesetComboBox.addActionListener(rulesetActionListener); 115 114 gbcComboBox.gridy = 0; … … 125 124 selectionPanel.add(bookmarkLabel); 126 125 127 bookmarkComboBox = new JComboBox(); 126 bookmarkComboBox = new JComboBox<>(); 128 127 bookmarkComboBox.addActionListener(bookmarkActionListener); 129 128 gbcComboBox.gridy = 1; … … 139 138 selectionPanel.add(colorSchemeLabel); 140 139 141 colorSchemeComboBox = new JComboBox(); 140 colorSchemeComboBox = new JComboBox<>(); 142 141 for (String colorSchemeName : availableColorSchemes.keySet()) { 143 142 colorSchemeComboBox.addItem(colorSchemeName); … … 285 284 286 285 bookmarkComboBox.addActionListener(bookmarkActionListener); 287 288 286 } 289 290 287 } -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/GraphViewPreferenceEditor.java
r27863 r30532 57 57 private JButton selectRulesetFolderButton; 58 58 59 private JComboBox bookmarkComboBox; 59 private JComboBox<String> bookmarkComboBox; 60 60 private JButton editBookmarkButton; 61 61 private JButton deleteBookmarkButton; … … 174 174 vehiclePanel.setLayout(new BoxLayout(vehiclePanel, BoxLayout.Y_AXIS)); 175 175 176 bookmarkComboBox = new JComboBox(); 176 bookmarkComboBox = new JComboBox<>(); 177 177 vehiclePanel.add(bookmarkComboBox); 178 178
Note:
See TracChangeset
for help on using the changeset viewer.