MenuItem update_check_item = new MenuItem (submenu, SWT.PUSH);
update_check_item.setText(Localizer._("mainwindow.mainmenu.help.updatecheck"));
update_check_item.setImage(SWTImageRepository.getMenuImage("updater.png"));
update_check_item.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent arg0) {
UpdaterWindow window = new UpdaterWindow();
window.getCoreComponents();
window.initUIComponents();
}
});
new MenuItem (submenu, SWT.SEPARATOR);
MenuItem about_item = new MenuItem (submenu, SWT.PUSH);
about_item.setText(Localizer._("mainwindow.mainmenu.help.about"));
about_item.setImage(SWTImageRepository.getMenuImage("information.png"));
about_item.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent arg0) {
AboutWindow window = new AboutWindow();
window.getCoreComponents();
window.initUIComponents();
}
});
}