public void run() {
chooseBabelPath();
}
});
new CheckBoxPreferencesSynchronizer(checkBoxAutomaticUpdateCheck, getPreferences(), AUTOMATIC_UPDATE_CHECK_PREFERENCE, true);
new CheckBoxPreferencesSynchronizer(checkBoxRecenterAfterZooming, getPreferences(), RECENTER_AFTER_ZOOMING_PREFERENCE, false);
checkBoxRecenterAfterZooming.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent e) {
r.setRecenterAfterZooming(checkBoxRecenterAfterZooming.isSelected());
}
});
new CheckBoxPreferencesSynchronizer(checkBoxShowCoordinates, getPreferences(), SHOW_COORDINATES_PREFERENCE, false);
checkBoxShowCoordinates.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent e) {
r.setShowCoordinates(checkBoxShowCoordinates.isSelected());
}
});
new CheckBoxPreferencesSynchronizer(checkBoxShowWaypointDescription, getPreferences(), SHOW_WAYPOINT_DESCRIPTION_PREFERENCE, false);
checkBoxShowWaypointDescription.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent e) {
r.setShowWaypointDescription(checkBoxShowWaypointDescription.isSelected());
}
});